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

ChartControl.EndInit() Method

Ends the ChartControl‘s initialization.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.UI.dll

Declaration

public void EndInit()

Remarks

The Visual Studio .NET design-time environment calls this method to finish initializing a component. The ChartControl.BeginInit method starts the initialization, the EndInit method finishes it. Use the BeginInit and EndInit methods to prevent the control from recalculating its layout.

Note

Calling the ChartControl.BeginInit method prevents any validation from being performed until the EndInit method is called. This may lead to unexpected results in the case of any initialization errors.

Note that chart’s layout is recalculated in the following cases:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndInit() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also