RibbonPageCategory Members
Represents a Ribbon page category.Constructors
| Name | Description |
|---|---|
| RibbonPageCategory() | Initializes a new instance of the RibbonPageCategory class with default settings. |
| RibbonPageCategory(String, Color, Boolean) | Initializes a new instance of the RibbonPageCategory class with the specified settings. |
| RibbonPageCategory(String, Color) | Initializes a new instance of the RibbonPageCategory class with the specified text and color. |
Properties
| Name | Description |
|---|---|
| Appearance | Provides access to the category’s appearance settings. |
| AutoStretchPageHeaders | Gets or sets whether the page headers are stretched to occupy the entire width of a custom category caption. |
| CanRaiseEvents protected | Gets a value indicating whether the component can raise an event. Inherited from Component. |
| CategoryInfo | Gets an object containing view information on the RibbonPageCategory object. |
| Collection | Gets the category collection that owns the current RibbonPageCategory object. |
| Color | Gets or sets the color that is used to paint the category’s caption and its pages. |
| Container | Gets the IContainer that contains the Component. Inherited from Component. |
| DesignMode protected | Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
| Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
| Expanded | Gets or sets whether the category is expanded. |
| IsDefaultCategory | Returns whether or not this RibbonPageCategory is a default category for its parent Ribbon. |
| MergedPages | Provides access to pages that have been merged into the current category. |
| MergeOrder | Defines the visual position of the current RibbonPageCategory object after merging this Ribbon Control into an MDI parent Ribbon. |
| MergeType | Specifies the active merge logic for this Ribbon Page Category: should the parent Ribbon copy items from a merged Page Category, ignore them, or use them to replace its own items. |
| Name | Gets or sets the component’s name. |
| Pages | Gets or sets the collection of Ribbon pages that belong to the current category. |
| Ribbon | Gets the RibbonControl which owns the current category. |
| ShowEmptyCategory | Gets or sets whether or not this category should display its caption if it does not have any child RibbonPages. |
| Site | Gets or sets the ISite of the Component. Inherited from Component. |
| Tag | Gets or sets an object that contains data on the current RibbonPageCategory object. |
| Text | Gets or sets the text displayed within the category’s caption. |
| Visible | Gets or sets whether the current category is visible. |
Methods
| Name | Description |
|---|---|
| Clone() | Creates a new RibbonPageCategory object with the settings matching those of the current object. |
| CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject. |
| Dispose() | Releases all resources used by the Component. Inherited from Component. |
| 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. |
| GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject. |
| GetPageByText(String) | Returns a Ribbon Page by its caption. |
| GetService(Type) protected | Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| MemberwiseClone(Boolean) protected | Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
Events
| Name | Description |
|---|---|
| Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
See Also