Skip to main content
A newer version of this page is available. .

ChartControlBase.SetChart(DependencyObject, ChartControlBase) Method

Sets the value of the ChartControlBase.Chart attached property to a specified DependencyObject.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

[Browsable(false)]
public static void SetChart(
    DependencyObject obj,
    ChartControlBase value
)

Parameters

Name Type Description
obj DependencyObject

The object to which the attached property is written.

value 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