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