RepositoryItemCheckedComboBoxEdit.GetCheckedItems(Object) Method
Returns an object that specifies checked items.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
editValue | Object | An object that specifies the edit value. |
Returns
Type | Description |
---|---|
Object | An object that specifies checked items. |
Remarks
When the editor is not displaying bit fields (flags), the GetCheckedItems method returns a string. This string is formed by concatenating values (strings) of all checked items, delimited by a specific separator character (RepositoryItemCheckedComboBoxEdit.SeparatorChar). In addition, the space character is added after each separator character.
If the CheckedComboBoxEdit displays a set of bit fields (flags), the GetCheckedItems method returns an integer value that is the sum of the values of individual checked flags. If any flag in the bound Enumeration has a negative value, the GetCheckedItems method’s return value is of the Int64 type. Otherwise, the return value is of the UInt64 type.
If the edit value is represented as a list of objects (see RepositoryItemCheckedComboBoxEdit.EditValueType), the GetCheckedItems method returns the System.Collections.Generic.List<object> object containing the corresponding values.