wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-buttoneditsettings-93aed489.md
Returns the collection of buttons.
Namespace : DevExpress.Xpf.Editors.Settings
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ButtonInfoCollection Buttons { get; }
Public ReadOnly Property Buttons As ButtonInfoCollection
| Type | Description |
|---|---|
| ButtonInfoCollection |
The collection of ButtonInfoBase descendants that represents the editor’s buttons.
|
You can access this nested property as listed below:
| Object Type | Path to Buttons |
|---|---|
| TokenEditorBehavior |
.NewTokenEditSettings .Buttons
| | TokenEditorBehavior |
.TokenEditSettings .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 represented by the ButtonInfo class. If the editor displays its default button (the ButtonEdit.AllowDefaultButton property is set to true ), it is also contained within the Buttons collection. To identify whether a button is the default button, use the ButtonInfoBase.IsDefaultButton property.
See Also