Skip to main content
Tab

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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool AllowUserInput { get; set; }

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