Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarItemLinkBase.OverrideItemDataContext Property

Gets or sets if a BarItemLink should use a custom DataContext instead of a DataContext passed from a parent BarItem. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool OverrideItemDataContext { get; set; }

#Property Value

Type Description
Boolean

true if a BarItemLink should use a custom DataContext instead of a DataContext passed from a parent BarItem; otherwise, false.

#Remarks

The DataContext concept allows BarItemLinks to inherit information from their parent BarItems about the data source that is used for binding, as well as other characteristics of the binding, such as the path. See the FrameworkElement.DataContext Property topic in MSDN to learn more. Use the OverrideItemDataContext to specify if a BarItemLink should use a custom DataContext or parent BarItem‘s DataContext.

See Also