Skip to main content

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

ChartControlBase.GetChart(DependencyObject) Method

Gets the value of the ChartControlBase.Chart attached property for the specified object.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

[NonCategorized]
[Browsable(false)]
public static ChartControlBase GetChart(
    DependencyObject obj
)

#Parameters

Name Type Description
obj DependencyObject

An object whose ChartControlBase.Chart attached property’s value is to be returned.

#Returns

Type Description
ChartControlBase

A chart that is an owner of the Ribbon or Bar Manager component. This is an attached property.

#Remarks

The ChartControlBase.Chart property allows you to specify a chart to which a Ribbon or Bar Manager is assigned.

See Also