Skip to main content
Bar

BarItemLinkActionBase.SetItemLinkIndex(DependencyObject, Int32) Method

Sets the value of the BarItemLinkActionBase.ItemLinkIndex attached property for the specified object.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static void SetItemLinkIndex(
    DependencyObject d,
    int value
)

Parameters

Name Type Description
d DependencyObject

An object whose ItemLinkIndex property is to be set.

value Int32

A integer value that is the index of the current bar item link in the collection of bar item links.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetItemLinkIndex(DependencyObject, Int32) method.

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.

See Also