Skip to main content

ChartElement.BeginInit() Method

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

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public override void 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