BaseListBoxControl.ForceInitialize() Method

Forces the control to finish its initialization.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public void ForceInitialize()
Public Sub ForceInitialize

Remarks

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