Skip to main content

RibbonMenuItemBuilder Methods

A builder for a ribbon menu item.
Name Description
BeginGroup(Boolean) Sets whether an item separator should be displayed before the current item.
CommandName(String) Sets the command name associated with the item.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Icon(String) Sets the item’s icon identifier.
Items(Action<RibbonMenuSubItemCollectionBuilder>) Allows you to customize the ribbon menu item’s sub-item collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowText(Boolean) Sets the item’s text visibility.
Text(String) Sets the text content of the current item.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also