Back to Devexpress

RibbonPageCategory Members

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagecategory-dot-underscore-members.md

latest12.1 KB
Original Source

RibbonPageCategory Members

Represents a Ribbon page category.

Constructors

NameDescription
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

NameDescription
AppearanceProvides access to the category’s appearance settings.
AutoStretchPageHeadersGets or sets whether the page headers are stretched to occupy the entire width of a custom category caption.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CategoryInfoGets an object containing view information on the RibbonPageCategory object.
CollectionGets the category collection that owns the current RibbonPageCategory object.
ColorGets or sets the color that is used to paint the category’s caption and its pages.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
ExpandedGets or sets whether the category is expanded.
IsDefaultCategoryReturns whether or not this RibbonPageCategory is a default category for its parent Ribbon.
MergedPagesProvides access to pages that have been merged into the current category.
MergeOrderDefines the visual position of the current RibbonPageCategory object after merging this Ribbon Control into an MDI parent Ribbon.
MergeTypeSpecifies 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.
NameGets or sets the component’s name.
PagesGets or sets the collection of Ribbon pages that belong to the current category.
RibbonGets the RibbonControl which owns the current category.
ShowEmptyCategoryGets or sets whether or not this category should display its caption if it does not have any child RibbonPages.
SiteGets or sets the ISite of the Component. Inherited from Component.
TagGets or sets an object that contains data on the current RibbonPageCategory object.
TextGets or sets the text displayed within the category’s caption.
VisibleGets or sets whether the current category is visible.

Methods

NameDescription
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) staticDetermines 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) protectedReturns 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.

See Also

RibbonPageCategory Class

DevExpress.XtraBars.Ribbon Namespace