Skip to main content
A newer version of this page is available. .

ButtonEdit.ButtonsSource Property

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

Namespace: DevExpress.Xpf.Editors

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public IEnumerable ButtonsSource { get; set; }

Property Value

Type Description
IEnumerable

A source of objects to be visualized as buttons.

Remarks

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

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

See Also