RepositoryItemLookUpEdit.ForceInitialize() Method

Forces the control’s data source to provide the information which is required to work with this data source.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

public virtual void ForceInitialize()

Remarks

If you need to work with the LookUpEdit’s data source in the form’s constructor (for instance, create columns in the LookUpEdit’s dropdown or obtain data from the columns), you should call the ForceInitialize method prior to these operations. This method forces the control’s data source to provide the information used to work with this data source.

See Also