ButtonEditSettings.AllowDefaultButton Property

Gets or sets whether the editor's default button is displayed. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool? AllowDefaultButton { get; set; }
Public Property AllowDefaultButton As Boolean?

Property Value

Type Description
Nullable<Boolean>

true to display the editor's default button; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDefaultButton
TokenEditorBehavior
.TokenEditSettings.AllowDefaultButton
TokenEditorBehavior
.NewTokenEditSettings.AllowDefaultButton

Remarks

Use the AllowDefaultButton property to control whether the default button that relates to an editor's functionality (such as the dropdown button of a combo box editor) is displayed within the editor. When the editor's default button is clicked, the ButtonEditSettings.DefaultButtonClick event is raised.

See Also