BaseListBoxControl.ForceInitialize() Method

Forces the control to finish its initialization.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll


public void ForceInitialize()


If the control has been created and customized at design time and you want to change its settings on form loading, you must call the ForceInitialize method beforehand. This method finishes the control’s initialization. After the method is called, the control’s settings (for instance, the item collection) can safely be accessed and modified.

See Also