GalleryCommandPropertySet - harborsiem/WinForms-Ribbon GitHub Wiki

GalleryCommandPropertySet

This class is used in Gallery controls (RibbonDropDownGallery, RibbonInRibbonGallery, RibbonSplitGallery) which are set to a CommandType.CommandCollection for the GalleryCommandItemsSource (ItemsSource). It is a helper class which implements COM interface IUISimplePropertySet and is derived from abstract class AbstractPropertySet which implements IUISimplePropertySet.

Public constructors, methods, properties and events:

Constructors:

Name Description
GalleryCommandPropertySet() Initializes a new instance of the GalleryCommandPropertySet class.

Methods:

Properties:

Name Description
CommandId Get, Set the Id. With RibbonStrip method GetRibbonControlById(uint) you can get the control.
CommandType Get, Set the CommandType.
CategoryId Get, Set a CategoryId.
Tag Get, Set an optional Tag.

Events: