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

ChartElement.BeginInit() Method

Starts the ChartElement‘s initialization. Initialization occurs at runtime.

Namespace: DevExpress.Xpf.Charts

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


public override void BeginInit()


The Visual Studio .NET design-time environment calls this method to start initializing a component used on a form, or by another component. The ChartElement.EndInit method ends the initialization. Use the BeginInit and EndInit methods to prevent the control from being used until it has been completely initialized.


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

See Also