Form.AutoValidate Form.AutoValidate Form.AutoValidate Form.AutoValidate Property

定义

获取或设置一个值,该值指示当焦点更改时是否自动验证此容器内的控件。Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes.

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; }
member this.AutoValidate : System.Windows.Forms.AutoValidate with get, set
Public Overrides Property AutoValidate As AutoValidate

属性值

指示焦点更改时是否隐式验证所含控件的 AutoValidate 枚举值。An AutoValidate enumerated value that indicates whether contained controls are implicitly validated on focus change. 默认值为“继承”。The default is Inherit.

适用于

另请参阅