All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Appearance Customization

Common Properties

You can use the following properties to customize the appearance of a Bar/Toolbar/Ribbon:

  • Background
  • BorderBrush
  • BorderThickness
  • CornerRadius
  • Foreground
  • Margin
  • Padding

Triggers

Use the BarItem.Triggers property to customize a BarItem's appearance properties based on a condition. When you apply the standard WPF styles and triggers to the BarItem, triggers do not customize the appearance of bound BarItemLinks independently. The BarItem.Triggers property checks the trigger condition for each BarItemLink that is bound to the BarItem.

TIP

For more information on the bar item structure, refer to the following help topic: Items and Links.

Bars

The BarSplitButtonItem control consists of a command with a down arrow. You can use appearance properties inherited from the BarItem control to specify the appearance of the BarSplitButtonItem command part.

Use the following properties to specify the arrow appearance:

Ribbon

You can customize the RibbonPage's / RibbonPageGroup's content and header areas.

The following table lists customization properties/styles used to define the appearance of a Ribbon's visual element:

Visual Element Properties or Style
RibbonPage content ContentBorderStyle
RibbonPage header Common appearance properties
RibbonPageGroup content Common appearance properties
RibbonPageGroup header HeaderBorderStyle