RepositoryItemCheckedComboBoxEdit.Assign(RepositoryItem, Boolean) Method
Copies settings from the specified object to the current RepositoryItemCheckedComboBoxEdit object, allowing you to select whether data-related settings should be copied.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | RepositoryItem | A source repository item object. |
assignData | Boolean | true to copy data-related settings; otherwise, false. |
Remarks
If the assignData parameter is set to true, the following properties are copied to the current RepositoryItemCheckedComboBoxEdit object:
- RepositoryItemCheckedComboBoxEdit.DataSource
- RepositoryItemCheckedComboBoxEdit.Items
- the check states (CheckedListBoxItem.CheckState) of all items.
- RepositoryItemCheckedComboBoxEdit.ForceUpdateEditValue
See Also