Skip to main content

ChartElement.EndInit() Method

Ends the ChartElement‘s initialization.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public override void EndInit()

Remarks

The Visual Studio .NET design-time environment calls this method to finish initializing a component. The ChartElement.BeginInit method starts the initialization, and the EndInit method finishes it. Use the BeginInit and EndInit methods to prevent the control from being used until it has been completely initialized.

Note

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

See Also