[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonGalleryItem

RibbonGalleryItem Class

Button element in a drop-down gallery.

Implements
IUiaSelectionItemProvider
IUiaScrollItemProvider
IUiaInvokeProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonGalleryItem : RibbonIconItem, IComponent, IDisposable, IUiaSelectionItemProvider, IUiaScrollItemProvider, IUiaInvokeProvider

Constructors

Name Description
RibbonGalleryItem()

Creates a new instance of RibbonGalleryItem.

RibbonGalleryItem(string)

Creates a new instance of RibbonGalleryItem.

RibbonGalleryItem(string, Image)

Creates a new instance of RibbonGalleryItem.

Properties

Name Description
GalleryItemTextImageRelation

Gets or sets a value specifies the position of text and image relative to each other.

GroupName

Gets or sets the group name associated with the RibbonGalleryItem.

Selected

Gets or sets a value indicating whether the RibbonGalleryItem is currently selected in the owner C1.Win.Ribbon.RibbonGalleryItem.RibbonGallery.

Text

Gets or sets the text associated with the RibbonGalleryItem.

Methods

Name Description
OnClick(EventArgs)

Raises the Click event.

OnShowContextMenu(MouseEventArgs)

Raises the ShowContextMenu event.

Events

Name Description
Click

Occurs when the item is clicked.

ShowContextMenu

Occurs when the context menu should be displayed.