ChartElement.BeginInit() Method

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

Namespace: DevExpress.Xpf.Charts

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

Declaration

public override void BeginInit()
Public Overrides Sub BeginInit

Remarks

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.

NOTE

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