Back to Devexpress

ButtonEditSettings.ButtonsSource Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-buttoneditsettings-5a0f9c2d.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public IEnumerable ButtonsSource { get; set; }
vb
Public Property ButtonsSource As IEnumerable

Property Value

TypeDescription
IEnumerable

A source of objects to be visualized as buttons.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

ButtonTemplate

ButtonTemplateSelector

ButtonEditSettings Class

ButtonEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace