Tab
A newer version of this page is available. Switch to the current version.

ButtonEditPropertiesBase.AllowUserInput Property

Gets or sets a value that specifies whether end-users are allowed to input values into an editor's edit box.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(true)]
public virtual bool AllowUserInput { get; set; }
<DefaultValue(True)>
Public Overridable Property AllowUserInput As Boolean

Property Value

Type Default Description
Boolean

true

true if end-users are allowed to change an editor's value by inputing values into the editor's edit box; false if the editor's value can be changed only using the editor's UI elements or non-text keys according to the mask settings (if the DateEditProperties.UseMaskBehavior property is enabled).

Remarks

Use the AllowUserInput property to forbid end-users from inputting values into an editor's edit box while allowing the edited value to be changed via the editor's UI elements, if any. For instance, you can disable text editing in a spin editor's box, while allowing end-users to select values by clicking spin buttons.

NOTE

The AllowUserInput property synchronizes its value with the editor's ASPxButtonEditBase.AllowUserInput property.

See Also