VGridControlBase.ForceInitialize() Method
Forces the control to finish its initialization.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.2.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 Force