Back to Devexpress

BarItemLinkHolderBase.ItemLinksSource Property

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

latest2.6 KB
Original Source

BarItemLinkHolderBase.ItemLinksSource Property

Gets or sets an object that provides information to generate and initialize item links for this BarItemLinkHolderBase. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
Object

An Object that provides information to generate and initialize item links for this BarItemLinkHolderBase.

|

Remarks

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

Use the BarItemLinkHolderBase.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#L56

xml
<ContentControl>
    <dxb:Bar Caption="{Binding Name}" ItemLinksSource="{Binding Items}" IsMainMenu="True"/>
</ContentControl>

See Also

ItemTemplate

BarItemLinkHolderBase Class

BarItemLinkHolderBase Members

DevExpress.Xpf.Bars Namespace