UserControl.AutoValidate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets how the control performs validation when the user changes focus to another control.
public:
virtual property System::Windows::Forms::AutoValidate AutoValidate { System::Windows::Forms::AutoValidate get(); void set(System::Windows::Forms::AutoValidate value); };
[System.ComponentModel.Browsable(true)]
public override System.Windows.Forms.AutoValidate AutoValidate { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.AutoValidate : System.Windows.Forms.AutoValidate with get, set
Public Overrides Property AutoValidate As AutoValidate
Property Value
A member of the AutoValidate enumeration. The default value for UserControl is EnablePreventFocusChange.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.