windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedcomboboxedit-5f397ff3.md
Returns items from the RepositoryItemCheckedComboBoxEdit.Items collection. In bound mode, this method populates the item collection before returning it.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public CheckedListBoxItemCollection GetItems()
Public Function GetItems As CheckedListBoxItemCollection
| Type | Description |
|---|---|
| CheckedListBoxItemCollection |
A CheckedListBoxItemCollection object that contains items.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetItems() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-checked-combobox-show-tooltips-for-selected-items/CS/WindowsApplication3/Form1.cs#L68
{
CheckedListBoxItemCollection collection = edit.Properties.GetItems();
for(int i = 0; i < collection.Count; i++)
winforms-checked-combobox-show-tooltips-for-selected-items/VB/WindowsApplication3/Form1.vb#L62
Private Function GetItemIndex(ByVal edit As CheckedComboBoxEdit, ByVal description As String) As Integer
Dim collection As CheckedListBoxItemCollection = edit.Properties.GetItems()
For i As Integer = 0 To collection.Count - 1
See Also
RepositoryItemCheckedComboBoxEdit Class