Back to Devexpress

RibbonStatusBarControl.LeftItemTemplateSelector Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonstatusbarcontrol-652f0be8.md

latest2.0 KB
Original Source

RibbonStatusBarControl.LeftItemTemplateSelector Property

Gets or sets an object that chooses a template used to visualize objects stored as elements in the RibbonStatusBarControl.LeftItemLinksSource collection.

This is a dependency property.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public DataTemplateSelector LeftItemTemplateSelector { get; set; }
vb
Public Property LeftItemTemplateSelector As DataTemplateSelector

Property Value

TypeDescription
DataTemplateSelector

A System.Windows.Controls.DataTemplateSelector descendant that applies a template based on custom logic.

|

Remarks

To implement custom logic for choosing a template, you should create a System.Windows.Controls.DataTemplateSelector descendant, and override the System.Windows.Controls.DataTemplateSelector.SelectTemplate method. This method returns a data template for a specific object.

The LeftItemTemplateSelector property supports the MVVM design pattern. See MVVM Support to learn more.

See Also

LeftItemTemplate

RibbonStatusBarControl Class

RibbonStatusBarControl Members

DevExpress.Xpf.Ribbon Namespace