VGridControlBase.ForceInitialize() Method
Forces the control to finish its initialization.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Remarks
You must call the ForceInitialize method before changing control options when a form is being loaded (for instance, when changing the control’s settings in the Form.Load event handler). After the control has been initialized, you can manipulate its settings safely. For instance, you should call the ForceInitialize method before:
- applying data sorting;
- expanding and collapsing rows;
- creating rows and changing their visible state;
- restoring a layout, etc.
Note
Calling the ForceInitialize method before the form’s Load event occurs is not in effect. For instance, calling this method in the form’s constructor is not in effect.