Skip to main content

ButtonInfo.IsDefault Property

Gets or sets whether the button is the default button. This is a dependency property.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(false, Handler = "IsDefaultChanged")]
public bool IsDefault { get; set; }

Property Value

Type Description
Boolean

true, if the button is the default button; otherwise, false.

Remarks

Default editor buttons are the buttons that are displayed by default. For instance, a DateEdit displays the dropdown button which is the default button.

To replace the editor’s default button, create a custom button and set its IsDefault property to true.

See Also