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

ChartControlBase.EndInit() Method

Ends the ChartControlBase‘s initialization.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public override void EndInit()

Remarks

Calling the ChartControlBase.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.

If ChartControlBase.BeginInit was previously called, the base implementation will raise the Initialized event. Otherwise, if ChartControlBase.BeginInit was not called or it could not be determined whether BeginInit was called, Initialized is not raised and an exception is thrown instead.

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