Back to Devexpress

ASPxButtonEditBase.AllowUserInput Property

aspnet-devexpress-dot-web-dot-aspxbuttoneditbase-8520ed5b.md

latest3.0 KB
Original Source

ASPxButtonEditBase.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 via the editor’s UI elements.

|

Remarks

This property is a wrapper of the ButtonEditPropertiesBase.AllowUserInput property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowUserInput property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-how-to-display-an-enumeration-property-as-a-drop-down-box-with-check-boxes/CS/E689.Module.Web/Editors/ASPxEnumPropertyEditorEx.cs#L35

csharp
lookupEdit.MultiTextSeparator = ", ";
lookupEdit.AllowUserInput = false;
// Set the drop-down editor width.

xaf-how-to-display-an-enumeration-property-as-a-drop-down-box-with-check-boxes/VB/E689.Module.Web/Editors/ASPxEnumPropertyEditorEx.vb#L34

vb
lookupEdit.MultiTextSeparator = ", "
lookupEdit.AllowUserInput = False
' Set the drop-down editor width.

See Also

ButtonEdit

ASPxButtonEditBase Class

ASPxButtonEditBase Members

DevExpress.Web Namespace