Back to Devexpress

ButtonEditPropertiesBase.AllowUserInput Property

aspnet-devexpress-dot-web-dot-buttoneditpropertiesbase-439a0a65.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

ButtonEdit

ButtonEditPropertiesBase Class

ButtonEditPropertiesBase Members

DevExpress.Web Namespace