RepositoryItemCheckedComboBoxEdit.SynchronizeEditValueWithCheckedItems Property

Gets or sets whether changing a CheckedComboBoxEdit control’s edit value updates the check states of the control’s items.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public virtual bool SynchronizeEditValueWithCheckedItems { get; set; }

Property Value

Type Default Description
Boolean

true

true if the editor’s edit value and items in the dropdown are in sync; otherwise, false.

Remarks

If the SynchronizeEditValueWithCheckedItems property is set to true changing the control’s edit value updates the check states of items in the dropdown (CheckedListBoxItem.CheckState). Otherwise, the item’s check states are not updated when changing the editor’s edit value.

To set an editor’s edit value in code, use the CheckedComboBoxEdit.SetEditValue method.

See Also