RepositoryItemCheckedComboBoxEdit.Assign(RepositoryItem, Boolean) Method
In This Article
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.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public void Assign(
RepositoryItem item,
bool assignData
)
#Parameters
Name | Type | Description |
---|---|---|
item | Repository |
A source repository item object. |
assign |
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