ButtonEditSettings.Buttons Property
Returns the collection of buttons.
Namespace: DevExpress.Xpf.Editors.Settings
Assembly: DevExpress.Xpf.Core.v23.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
ButtonInfoCollection | The collection of ButtonInfoBase descendants that represents the editor’s buttons. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Buttons |
---|---|
TokenEditorBehavior |
|
TokenEditorBehavior |
|
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Buttons 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.