Back to Devexpress

ThemedWindow.DialogButtonsSource Property

wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-f95895d5.md

latest1.5 KB
Original Source

ThemedWindow.DialogButtonsSource Property

Gets or sets the UICommand collection that provides information to generate and initialize dialog buttons for the current ThemedWindow object. This is a dependency property.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
IEnumerable

A source of buttons displayed in the ThemedWindow.

|

Remarks

The ThemedWindow supports the MVVM approach. Use the DialogButtonsSource property to bind the ThemedWindow to a ViewModel’s dialog button collection. Pass the UICommand collection to this property to initialize these buttons in a dialog.

See Also

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace