SelectedItem Property
Description
Gets/sets the currently selected CommandBarGalleryItem in the gallery.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SelectedItem() As [CommandBarGalleryItem](XtremeCommandBars~CommandBarGalleryItem.md)
Remarks
SelectedItem returns a reference to the currently selected CommandBarGalleryItem. An item is selected when the mouse cursor is hovered over the item or when the keyboard is used to navigate items.
If you would like to "check" an item in the gallery, you should set the CheckedItem property to the ID of the currently selected item.
The illustration below shows what an item looks like when checked and selected.

See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.