Redigera

Dela via


UserControl.AutoValidate Property

Definition

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