Represents a customization category.
- Inheritance:
- object object
Constructors
RibbonControlCustomizationCategory(UIElement)
Initializes a new instance of the RibbonControlCustomizationCategory
class.
Parameter | Type | Description |
---|---|---|
sourceLocation | UIElement | The source location of the category. |
Properties
Label
Gets or sets the category label.
Property Value
- string:
The category label.
Methods
DisposeUnusedClones(Ribbon, DeferrableObservableCollection<RibbonControlReference>)
Disposes any clones created during a customization session in which the clones that were created did not get applied to be used on the Ribbon.
Parameter | Type | Description |
---|---|---|
ribbon | Ribbon | The Ribbon to update. |
items | Deferrable |
The list of items that should appear in the QAT. |
GetCategories(Ribbon)
Returns a list of all the ribbon control customization categories for the specified Ribbon.
Parameter | Type | Description |
---|---|---|
ribbon | Ribbon | The Ribbon to examine. |
Returns
- Deferrable
Observable <RibbonCollection Control >:Customization Category A list of all the ribbon control customization categories for the specified Ribbon.
GetControls()
Returns a list of all the ribbon controls located within the category.
Returns
- Deferrable
Observable <RibbonCollection Control >:Reference A list of all the ribbon controls located within the category.
GetQuickAccessToolBarItems(Ribbon)
Gets a list of Ribbon
Parameter | Type | Description |
---|---|---|
ribbon | Ribbon | The Ribbon to examine. |
Returns
- Deferrable
Observable <RibbonCollection Control >:Reference A list of Ribbon
Control items that represent the current list of items in the specified Ribbon's QAT.Reference
SetQuickAccessToolBarItems(Ribbon, DeferrableObservableCollection<RibbonControlReference>)
Replaces the items in the specified Ribbon's QAT with the specified items list.
Parameter | Type | Description |
---|---|---|
ribbon | Ribbon | The Ribbon to update. |
items | Deferrable |
The list of items that should appear in the QAT. |
Fields
LabelProperty
Identifies the Label dependency property. This field is read-only.