Skip to main content

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.1.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