BinaryRibbonThemeResources
A class that enables theme customization.
public static class BinaryRibbonThemeResources
Remarks
Use this class's various ComponentResourceKey properties so you can set your custom resource values in order to be able to render the control using your own custom theme.
Members at a glance
AllPurposeArrowImageBrush | Gets the brush that is used to render the Arrow images in the control. |
AllPurposeBorderBrushKey | // Gets the default border brush key for the window. // |
ApplicationMenuAndQATOverflowMenuWindowStandardBackgroundBrushKey | Gets the background brush key of the "application menu and the QAT overflow menu" window. |
ApplicationMenuButtonBackgroundBrushKey | Gets the application menu button background brush key. |
ApplicationMenuButtonTemplateKey | Gets the key for the template of the application menu button. |
ApplicationMenuItemPopupWindowBackgroundBrushKey | Gets the background brush key for the application menu item's popup window. |
ApplicationMenuPopupWindowStandardContentForegroundBrushKey | Gets the foreground brush key of the "application menu" window's standard content (this does not apply to Menu Item's foreground brush). |
BorderShadowBrushKey | Gets the border shadow brush key for the window. |
ButtonPressedBrushKey | Gets the brush key for Ribbon Button "pressed" state. |
ChromeMouseOverInnerBorderBrushKey | Gets the key for the thin inner edge drawn inside a command while the pointer is over it. |
ContentMinimizedStateBackgroundBrushKey | // Gets the background brush key for the Ribbon bar's content. // |
DropDownBackgroundBrushKey | Gets the key for the fill of a ribbon drop-down or split button's drop-down. |
DropDownBorderBrushKey | Gets the key for the frame of a ribbon drop-down or split button's drop-down. |
DropDownButtonMouseOverBackgroundBrushKey | Gets the mouse-over background brush key for the drop-down button. |
DropDownForegroundBrushKey | Gets the key for the text of the items in a ribbon drop-down or split button's drop-down. |
DropDownSecondaryForegroundBrushKey | Gets the key for the second, quieter line of text in a rich menu item - the description under an application menu item's title, say. |
GlassCaptionFillBrushKey | Gets the key for the fill of the caption area when glass is on and no system backdrop is drawn there. |
HighlightedBorderBrushKey | Gets the border brush key for highlighted state of any Ribbon control. |
InputBackgroundBrushKey | Gets the key for the field of a text box or combo box on the ribbon. |
InputForegroundBrushKey | Gets the key for the text typed into a text box or combo box on the ribbon. |
PrefersSystemBackdropKey | Gets the key for whether a skin wants the Windows 11 Mica backdrop behind the caption when glass is on. |
QATHeightKey | Gets the Quick Access Toolbar's (QAT) Height key. |
QuickAccessToolbarBackgroundBrushKey | Gets the Quick Access Toolbar's (QAT) background brush key. |
QuickAccessToolbarBottomBackgroundBrushKey | Gets the Quick Access Toolbar's (QAT) bottom background brush key. |
QuickAccessToolbarBottomBorderThicknessKey | Gets the Quick Access Toolbar's (QAT) bottom border thickness key. |
QuickAccessToolbarBottomCornerRadiusKey | Gets the Quick Access Toolbar's (QAT) bottom corner radius key. |
QuickAccessToolbarBottomMarginKey | Gets the Quick Access Toolbar's (QAT) bottom margin key. |
QuickAccessToolbarLeftBorderShapeVisibilityKey | Gets the Quick Access Toolbar's (QAT) left border shape visibility key. |
QuickAccessToolbarMenuArrowBrushKey | Gets the brush key for the Quick Access Toolbar (QAT) menu arrow. |
QuickAccessToolbarOuterBorderBrushKey | Gets the Quick Access Toolbar's (QAT) outer border brush key. |
QuickAccessToolbarOuterBorderThicknessKey | Gets the Quick Access Toolbar's (QAT) outer border thickness key. |
QuickAccessToolbarTopBorderThicknessKey | Gets the Quick Access Toolbar's (QAT) top border thickness key. |
QuickAccessToolbarTopCornerRadiusKey | Gets the Quick Access Toolbar's (QAT) top corner radius key. |
QuickAccessToolbarTopMarginKey | Gets the Quick Access Toolbar's (QAT) top margin key. |
RibbonBarAndMenuContentForegroundBrushKey | Gets the foreground brush key of the ribbon bar's content. |
RibbonBarBackgroundBrushKey | Gets the background brush key for the ribbon bar. |
RibbonBarBorderBrushKey | Gets the ribbon bar border brush key. |
RibbonBarContentForegroundBrushKey | Gets the foreground brush key of the ribbon bar's content -i.e. Say Button item's text in groups in tab pages in the Ribbon Bar panel - i.e. the ribbonstrip. |
RibbonBarGroupTitleAreaBackgroundBrush | Gets the background brush key for the ribbon bar group's title area. |
RibbonBarThreeDEffectLighterBorderBrushKey | Gets the ribbon bar's 3D effect lighter border brush key. |
RibbonButtonGroupBackgroundBrushKey | Gets the Ribbon button group background brush key. |
RibbonGroupSeparatorVisibilityKey | Gets the key for whether a thin rule is drawn between the groups of the classic ribbon. |
RibbonGroupTitleForegroundBrushKey | Gets the foreground brush key for the Ribbon group's title text. |
RibbonSelectedTabItemHeaderBackgroundBrushKey | Gets the background brush key of the ribbon's selected tabitem's header. |
RibbonTabControlTopBorderAndCollapsedGroupDropDownWindowBackgroundBrushKey | Gets the ribbon tab control top border, and "collapsed group" drop-down window background brush key. |
RibbonTabItemHeaderContentForegroundBrushKey | Gets the foreground brush key for the Ribbon tab item header content. |
RibbonTabItemHeaderContentSelectedStateForegroundBrushKey | Gets the foreground brush key for the Ribbon tab item header content of the currently selected tab item. |
RibbonTabItemHeaderMouseOverBackgroundOpacityMaskKey | Gets the background brush's opacity mask key for the ribbon tab item header. |
RibbonTabItemHeaderMouseOverBorderBrushKey | Gets the "mouse-over" state border brush key for the ribbon tab item header. |
RibbonTabItemHeaderMouseOverBrushKey | Gets the mouse-over brush key ribbon tab item header. |
RibbonTabItemHeaderSeparatorBrushKey | Gets the ribbon tab item header separator brush key. |
RibbonTabItemTemplateKey | Gets the key for the template of a ribbon tab that is not selected. |
RibbonTabPanelScrollerControlBackgroundOpacityMaskKey | Gets the background opacity mask key for the ribbon bar's tab panel scroller control. |
RibbonWindowActiveBackgroundBrushKey | Gets the background brush key of the ribbon window's active state. |
RibbonWindowActiveBorderBrushKey | Gets the border brush key of the ribbon window's "active" state. |
RibbonWindowActiveTitleBarBackgroundBrushKey | Gets the background brush key for the ribbon window title bar's "active" state. |
RibbonWindowForegroundBrushKey | Gets the ComponentResourceKey (CRK) of the brush that is used to draw the foreground of all the content that is hosted in the BinaryRibbonWindow. |
RibbonWindowInactiveBackgroundBrushKey | Gets the background brush key of the ribbon window's inactive state. |
RibbonWindowInactiveBorderBrushKey | Gets the border brush key of the ribbon window's "inactive" state. |
RibbonWindowInactiveTitleBarBackgroundBrushKey | Gets the background brush key for the ribbon window title bar's "in-active" state. |
ScrollViewerHorizontalLineUpDownButtonMousePressedBrushKey | Gets the scroll viewer horizontal line up down button mouse pressed brush key. |
ScrollViewerHorizontalScrollbarLineUpDownBackgroundBrushKey | Gets the scroll viewer horizontal scrollbar line up down background brush key. |
ScrollViewerHorizontalScrollbarMouseOverLineUpDownBackgroundBrushKey | Gets the scroll viewer horizontal scrollbar mouse over line up down background brush key. |
ScrollViewerHorizontalScrollbarMouseOverThumbBackgroundBrushKey | Gets the scroll viewer horizontal scrollbar mouse over thumb background brush key. |
ScrollViewerHorizontalScrollbarThumbBackgroundBrushKey | The resource key for the scroll viewer horizontal scrollbar thumb background brush. Give this key a value of your own in an application resource dictionary to restyle that part. |
ScrollViewerHorizontalScrollbarTrackBackgroundBrushKey | Gets the scroll viewer horizontal scrollbar track background brush key. |
ScrollViewerLineButtonDisabledForegroundBrushKey | Gets the scroll viewer line button disabled foreground brush key. |
ScrollViewerLineUpDownButtonBorderBrushKey | Gets the scroll viewer line up down button border brush key. |
ScrollViewerScrollBarBorderBrushKey | Gets the scroll viewer scroll bar border brush key. |
ScrollViewerThumbGlyphFillBrushKey | Gets the scroll viewer thumb glyph fill brush key. |
ScrollViewerVerticalLineUpDownButtonMousePressedBrushKey | Gets the scroll viewer horizontal line up down button mouse pressed brush key. |
ScrollViewerVerticalScrollbarLineUpDownBackgroundBrushKey | Gets the scroll viewer vertical scrollbar line up down background brush key. |
ScrollViewerVerticalScrollbarMouseOverLineUpDownBackgroundBrushKey | Gets the scroll viewer vertical scrollbar mouse over line up down background brush key. |
ScrollViewerVerticalScrollbarMouseOverThumbBackgroundBrushKey | Gets the scroll viewer vertical scrollbar mouse over thumb background brush key. |
ScrollViewerVerticalScrollbarThumbBackgroundBrushKey | Gets the scroll viewer vertical scrollbar thumb background brush key. |
ScrollViewerVerticalScrollbarTrackBackgroundBrushKey | Gets the scroll viewer vertical scrollbar track background brush key. |
SelectedRibbonTabItemTemplateKey | Gets the key for the template of the selected ribbon tab. |
SelectedTabIndicatorBrushKey | Gets the key for the underline that marks the selected tab in a skin that draws one. |
SubMenuOpenRightArrowImageForMenuItemBrushKey | Gets the brush key used for filling a menuitem's sub menu opener "right arrow" image. |
WevenAppMenuButtonBackgroundBrushKey | The resource key for the weven app menu button background brush. Give this key a value of your own in an application resource dictionary to restyle that part. |
WevenAppMenuButtonBackgroundBrushOnMouseEnterKey | The resource key for the weven app menu button background brush on mouse enter. Give this key a value of your own in an application resource dictionary to restyle that part. |
WindowChromeButtonMouseOverBrushKey | Gets the mouse-over brush key for the window chrome buttons |
WindowChromeButtonMousePressedBrushKey | Gets the mouse-pressed brush key for the window chrome buttons. |
WindowChromeDefaultBackgroundBrushKey | Gets the default background brush key for the window chrome. |
WindowControlButtonsForegroundBrushKey | Gets the window control buttons foreground brush key. |
Properties
AllPurposeArrowImageBrush
Gets the brush that is used to render the Arrow images in the control.
AllPurposeBorderBrushKey
// Gets the default border brush key for the window. //
BorderShadowBrushKey
Gets the border shadow brush key for the window.
ButtonPressedBrushKey
Gets the brush key for Ribbon Button "pressed" state.
ChromeMouseOverInnerBorderBrushKey
Gets the key for the thin inner edge drawn inside a command while the pointer is over it.
Transparent.ContentMinimizedStateBackgroundBrushKey
// Gets the background brush key for the Ribbon bar's content. //
DropDownBackgroundBrushKey
Gets the key for the fill of a ribbon drop-down or split button's drop-down.
DropDownBorderBrushKey
Gets the key for the frame of a ribbon drop-down or split button's drop-down.
DropDownButtonMouseOverBackgroundBrushKey
Gets the mouse-over background brush key for the drop-down button.
DropDownForegroundBrushKey
Gets the key for the text of the items in a ribbon drop-down or split button's drop-down.
DropDownBackgroundBrushKey: the ribbon's caption colour, which a dark skin makes light, would be unreadable over a drop-down that stays white.DropDownSecondaryForegroundBrushKey
Gets the key for the second, quieter line of text in a rich menu item - the description under an application menu item's title, say.
GlassCaptionFillBrushKey
Gets the key for the fill of the caption area when glass is on and no system backdrop is drawn there.
Brush. Used on Windows 8 to 10, which have no material, and on Windows 11 when the skin sets PrefersSystemBackdropKey to false . A skin that leaves it out gets the user's window colour there.HighlightedBorderBrushKey
Gets the border brush key for highlighted state of any Ribbon control.
InputBackgroundBrushKey
Gets the key for the field of a text box or combo box on the ribbon.
InputForegroundBrushKey
Gets the key for the text typed into a text box or combo box on the ribbon.
RibbonBarContentForegroundBrushKey, like every other caption on the ribbon.PrefersSystemBackdropKey
Gets the key for whether a skin wants the Windows 11 Mica backdrop behind the caption when glass is on.
bool; true when a skin leaves it out. A skin whose caption is its own colour sets it to false and gives that colour in GlassCaptionFillBrushKey.QATHeightKey
Gets the Quick Access Toolbar's (QAT) Height key.
Double.QuickAccessToolbarBackgroundBrushKey
Gets the Quick Access Toolbar's (QAT) background brush key.
Brush.QuickAccessToolbarBottomBackgroundBrushKey
Gets the Quick Access Toolbar's (QAT) bottom background brush key.
Brush.QuickAccessToolbarBottomBorderThicknessKey
Gets the Quick Access Toolbar's (QAT) bottom border thickness key.
Thickness.QuickAccessToolbarBottomCornerRadiusKey
Gets the Quick Access Toolbar's (QAT) bottom corner radius key.
CornerRadius.QuickAccessToolbarBottomMarginKey
Gets the Quick Access Toolbar's (QAT) bottom margin key.
Thickness.QuickAccessToolbarLeftBorderShapeVisibilityKey
Gets the Quick Access Toolbar's (QAT) left border shape visibility key.
Visibility.QuickAccessToolbarOuterBorderBrushKey
Gets the Quick Access Toolbar's (QAT) outer border brush key.
Brush.QuickAccessToolbarOuterBorderThicknessKey
Gets the Quick Access Toolbar's (QAT) outer border thickness key.
Thickness.QuickAccessToolbarTopBorderThicknessKey
Gets the Quick Access Toolbar's (QAT) top border thickness key.
Thickness.QuickAccessToolbarTopCornerRadiusKey
Gets the Quick Access Toolbar's (QAT) top corner radius key.
CornerRadius.QuickAccessToolbarTopMarginKey
Gets the Quick Access Toolbar's (QAT) top margin key.
Thickness.RibbonBarBackgroundBrushKey
Gets the background brush key for the ribbon bar.
RibbonBarBorderBrushKey
Gets the ribbon bar border brush key.
RibbonBarContentForegroundBrushKey
Gets the foreground brush key of the ribbon bar's content -i.e. Say Button item's text in groups in tab pages in the Ribbon Bar panel - i.e. the ribbonstrip.
RibbonBarGroupTitleAreaBackgroundBrush
Gets the background brush key for the ribbon bar group's title area.
RibbonBarThreeDEffectLighterBorderBrushKey
Gets the ribbon bar's 3D effect lighter border brush key.
RibbonButtonGroupBackgroundBrushKey
Gets the Ribbon button group background brush key.
RibbonGroupSeparatorVisibilityKey
Gets the key for whether a thin rule is drawn between the groups of the classic ribbon.
Visibility: Collapsed by default, where each group has a frame of its own; Visible in a skin whose groups have no frame. The simplified ribbon always draws the rule.RibbonGroupTitleForegroundBrushKey
Gets the foreground brush key for the Ribbon group's title text.
RibbonSelectedTabItemHeaderBackgroundBrushKey
Gets the background brush key of the ribbon's selected tabitem's header.
RibbonTabControlTopBorderAndCollapsedGroupDropDownWindowBackgroundBrushKey
Gets the ribbon tab control top border, and "collapsed group" drop-down window background brush key.
RibbonTabItemHeaderContentForegroundBrushKey
Gets the foreground brush key for the Ribbon tab item header content.
RibbonTabItemHeaderContentSelectedStateForegroundBrushKey
Gets the foreground brush key for the Ribbon tab item header content of the currently selected tab item.
RibbonTabItemHeaderMouseOverBackgroundOpacityMaskKey
Gets the background brush's opacity mask key for the ribbon tab item header.
RibbonTabItemHeaderMouseOverBorderBrushKey
Gets the "mouse-over" state border brush key for the ribbon tab item header.
RibbonTabItemHeaderMouseOverBrushKey
Gets the mouse-over brush key ribbon tab item header.
RibbonTabItemHeaderSeparatorBrushKey
Gets the ribbon tab item header separator brush key.
RibbonTabItemTemplateKey
Gets the key for the template of a ribbon tab that is not selected.
ControlTemplate for BinaryRibbonTabItem. The default draws the classic folder tab; the Fluent skins supply a flat one.RibbonTabPanelScrollerControlBackgroundOpacityMaskKey
Gets the background opacity mask key for the ribbon bar's tab panel scroller control.
RibbonWindowActiveBackgroundBrushKey
Gets the background brush key of the ribbon window's active state.
RibbonWindowActiveBorderBrushKey
Gets the border brush key of the ribbon window's "active" state.
RibbonWindowActiveTitleBarBackgroundBrushKey
Gets the background brush key for the ribbon window title bar's "active" state.
RibbonWindowForegroundBrushKey
Gets the ComponentResourceKey (CRK) of the brush that is used to draw the foreground of all the content that is hosted in the BinaryRibbonWindow.
The underlying resource type is a
Brush.RibbonWindowInactiveBackgroundBrushKey
Gets the background brush key of the ribbon window's inactive state.
RibbonWindowInactiveBorderBrushKey
Gets the border brush key of the ribbon window's "inactive" state.
RibbonWindowInactiveTitleBarBackgroundBrushKey
Gets the background brush key for the ribbon window title bar's "in-active" state.
ScrollViewerHorizontalLineUpDownButtonMousePressedBrushKey
Gets the scroll viewer horizontal line up down button mouse pressed brush key.
Value. The scroll viewer horizontal line up down button mouse pressed brush key.
ScrollViewerHorizontalScrollbarLineUpDownBackgroundBrushKey
Gets the scroll viewer horizontal scrollbar line up down background brush key.
Value. The scroll viewer horizontal scrollbar line up down background brush key.
ScrollViewerHorizontalScrollbarMouseOverLineUpDownBackgroundBrushKey
Gets the scroll viewer horizontal scrollbar mouse over line up down background brush key.
Value. The scroll viewer horizontal scrollbar mouse over line up down background brush key.
ScrollViewerHorizontalScrollbarMouseOverThumbBackgroundBrushKey
Gets the scroll viewer horizontal scrollbar mouse over thumb background brush key.
Value. The scroll viewer horizontal scrollbar mouse over thumb background brush key.
ScrollViewerHorizontalScrollbarThumbBackgroundBrushKey
The resource key for the scroll viewer horizontal scrollbar thumb background brush. Give this key a value of your own in an application resource dictionary to restyle that part.
ScrollViewerHorizontalScrollbarTrackBackgroundBrushKey
Gets the scroll viewer horizontal scrollbar track background brush key.
Value. The scroll viewer horizontal scrollbar track background brush key.
ScrollViewerLineButtonDisabledForegroundBrushKey
Gets the scroll viewer line button disabled foreground brush key.
Value. The scroll viewer line button disabled foreground brush key.
ScrollViewerLineUpDownButtonBorderBrushKey
Gets the scroll viewer line up down button border brush key.
Value. The scroll viewer line up down button border brush key.
ScrollViewerScrollBarBorderBrushKey
Gets the scroll viewer scroll bar border brush key.
Value. The scroll viewer scroll bar border brush key.
ScrollViewerThumbGlyphFillBrushKey
Gets the scroll viewer thumb glyph fill brush key.
Value. The scroll viewer thumb glyph fill brush key.
ScrollViewerVerticalLineUpDownButtonMousePressedBrushKey
Gets the scroll viewer horizontal line up down button mouse pressed brush key.
Value. The scroll viewer horizontal line up down button mouse pressed brush key.
ScrollViewerVerticalScrollbarLineUpDownBackgroundBrushKey
Gets the scroll viewer vertical scrollbar line up down background brush key.
Value. The scroll viewer vertical scrollbar line up down background brush key.
ScrollViewerVerticalScrollbarMouseOverLineUpDownBackgroundBrushKey
Gets the scroll viewer vertical scrollbar mouse over line up down background brush key.
Value. The scroll viewer vertical scrollbar mouse over line up down background brush key.
ScrollViewerVerticalScrollbarMouseOverThumbBackgroundBrushKey
Gets the scroll viewer vertical scrollbar mouse over thumb background brush key.
Value. The scroll viewer vertical scrollbar mouse over thumb background brush key.
ScrollViewerVerticalScrollbarThumbBackgroundBrushKey
Gets the scroll viewer vertical scrollbar thumb background brush key.
Value. The scroll viewer vertical scrollbar thumb background brush key.
ScrollViewerVerticalScrollbarTrackBackgroundBrushKey
Gets the scroll viewer vertical scrollbar track background brush key.
Value. The scroll viewer vertical scrollbar track background brush key.
SelectedRibbonTabItemTemplateKey
Gets the key for the template of the selected ribbon tab.
ControlTemplate for BinaryRibbonTabItem. The default draws the classic raised folder tab; the Fluent skins mark the tab with an underline in SelectedTabIndicatorBrushKey.SelectedTabIndicatorBrushKey
Gets the key for the underline that marks the selected tab in a skin that draws one.
WindowChromeButtonMouseOverBrushKey
Gets the mouse-over brush key for the window chrome buttons
WindowChromeButtonMousePressedBrushKey
Gets the mouse-pressed brush key for the window chrome buttons.
WindowChromeDefaultBackgroundBrushKey
Gets the default background brush key for the window chrome.
WindowControlButtonsForegroundBrushKey
Gets the window control buttons foreground brush key.