[]
        
(Showing Draft Content)

C1.Win.Ribbon.IGalleryItemsPanel

IGalleryItemsPanel Interface

Provides functionality required for a RibbonControlHost that is used in place of the gallery items panel.

Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.8.dll
Syntax
public interface IGalleryItemsPanel

Methods

Name Description
ClosingGallery()

The gallery calls this method before the dropdown closes.

FocusFirstItem()

Sets focus to the first item of the panel.

FocusItem(object)

Sets focus to the panel item.

FocusLastItem()

Sets focus to the last item of the panel.

GetFocusedItem()

Gets the focused panel item.

GetItemWidth()

Gets the width of one gallery item with child spacing.

OpeningGallery()

The gallery calls this method before the dropdown form opens.

SetVisibleItems(int)

Sets the number of actually visible items in the gallery.

Events

Name Description
DropDownClosed

Occurs when the drop-down portion of this element has closed.

LastItemLostFocus

Occurs when the last item loses focus.

SelectedViewChanged

Occurs when the selection rectangle changed.

SizeChanged

Occurs when the size value of the items panel changes.