Skip to main content

ButtonEdit.Buttons Property

Returns the collection of buttons.

Namespace: DevExpress.Xpf.Editors

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


public ButtonInfoCollection Buttons { get; set; }

Property Value

Type Description

The collection of ButtonInfoBase descendants that represent the editor’s buttons.


The Buttons collection allows you to access individual buttons and customize their settings, add/remove buttons or perform other collection management tasks.

Individual buttons are the instances of the ButtonInfo class. If the editor displays its default button (the ButtonEdit.AllowDefaultButton property is set to true), it is not contained within the Buttons collection. The default button is contained within the ButtonEdit.ActualButtons collection. To identify whether a button is the default button, use the ButtonInfoBase.IsDefaultButton property.

See Also