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.ButtonsSource Property

Gets or sets a collection of objects providing information to generate and initialize buttons for the ButtonEdit. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public IEnumerable ButtonsSource { get; set; }

#Property Value

Type Description
IEnumerable

A source of objects to be visualized as buttons.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ButtonsSource
TokenEditorBehavior
.NewTokenEditSettings .ButtonsSource
TokenEditorBehavior
.TokenEditSettings .ButtonsSource

#Remarks

The ButtonsSource property supports the MVVM design pattern. See the MVVM Framework topic to learn more.

Use the ButtonEditSettings.ButtonTemplate and ButtonEditSettings.ButtonTemplateSelector properties to visualize objects stored in the ButtonsSource collection.

See Also