UpDownBase.UserEdit 属性

定义

获取或设置一个值,该值指示用户是否已输入值。Gets or sets a value indicating whether a value has been entered by the user.

protected:
 property bool UserEdit { bool get(); void set(bool value); };
protected bool UserEdit { get; set; }
member this.UserEdit : bool with get, set
Protected Property UserEdit As Boolean

属性值

如果用户已更改了 true 属性,则为 Text;否则为 falsetrue if the user has changed the Text property; otherwise, false.

注解

如果在将 UserEdit 属性设置为 true时设置了 Text 属性,则会调用 UpdateEditText 方法。If the Text property is set while the UserEdit property is set to true, the UpdateEditText method is called. 如果在将 UserEdit 属性设置为 false时设置了 Text 属性,则会调用 ValidateEditText 方法。If the Text property is set while the UserEdit property is set to false, the ValidateEditText method is called.

适用于

另请参阅