Skip to main content

ChartControl.BeginInit() Method

In This Article

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

Namespace: DevExpress.Xpf.Charts

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

#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 ChartControl.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 ChartControl.EndInit method is called. This may lead to unexpected results in the case of any initialization errors.

See Also