Bennedik.Validation.Integration.WPF.ErrorProvider.GetFirstInvalidElement C# (CSharp) Method

GetFirstInvalidElement() public method

Returns the first element that this error provider has labelled as invalid. This method is useful to set the users focus on the first visible error field on a page.
public GetFirstInvalidElement ( ) : FrameworkElement
return System.Windows.FrameworkElement
        public FrameworkElement GetFirstInvalidElement()
        {
            return _firstInvalidElement;
        }