Back to Devexpress

BarSubItem.ItemLinksSource Property

wpf-devexpress-dot-xpf-dot-bars-dot-barsubitem.md

latest2.4 KB
Original Source

BarSubItem.ItemLinksSource Property

Gets or sets a collection of objects providing information to generate and initialize bar item links for the current BarSubItem container.

This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
IEnumerable

A source of objects to be visualized as bar items.

|

Remarks

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

Use the BarSubItem.ItemTemplate property to visualize objects stored in the ItemLinksSource collection.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemLinksSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-bars-mvvm-generate-bars-from-view-model-collection/CS/DXSample/MainWindow.xaml#L38

xml
BarItemDisplayMode="ContentAndGlyph"
        ItemLinksSource="{Binding SubItems}"/>
</ContentControl>

See Also

BarSubItem Class

BarSubItem Members

DevExpress.Xpf.Bars Namespace