ChartElement.EndInit() Method

Ends the ChartElement‘s initialization.

Namespace: DevExpress.Xpf.Charts

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


public override void EndInit()


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.


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