Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ButtonEditSettings.Buttons Property

Returns the collection of buttons.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ButtonInfoCollection Buttons { get; }

#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
.TokenEditSettings .Buttons

#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.

See Also