Xceed Pro Themes for WPF v3.0 Documentation
Styles and Brushes Available in the Media Theme
Welcome to Xceed Pro Themes for WPF v3.0 > Basic Concepts > Styles and Brushes Available in the Themes > Styles and Brushes Available in the Media Theme

The properties representing the brushes and styles available in the Media theme, contained in the MediaResources class, are listed below. The styles and brushes encompass all of Microsoft's officially supported WPF controls.

For details on how to apply these styles and brushes explicitly, see Applying Themes Explicitly.

Brushes in the Media Theme

The following table lists the brushes available in Xceed's Media theme. These brushes can be used to style your own controls so that they fit seamlessly into the rest of the themed application. 

Brush Property Brush Property
ApplicationBackgroundBrush ControlForegroundBrush
ApplicationForegroundBrush HighlightBackgroundBrush
BorderBrush HighlightForegroundBrush
ControlBackgroundBrush

Styles in the Media Theme

The following table lists the styles available in Xceed's Media theme. Note that for controls such as the ComboBox, styles for their "child" items are also available. Details on RoundButtonStyle are provided below this table under The RoundButtonStyle.

Styles identified by an asterisk (*) are only available in the .NET 4 build of this product, as the Microsoft datagrid is officially supported only in that version of the .NET Framework.
Style Property Style Property
ButtonStyle PageStyle
CheckBoxStyle PasswordBoxStyle
ComboBoxItemStyle ProgressBarStyle
ComboBoxStyle RadioButtonStyle
ContextMenuStyle RepeatButtonStyle
DataGridCellStyle* ResizeGripStyle
DataGridColumnHeaderStyle* RichTextBoxStyle
DataGridRowHeaderStyle* RoundButtonStyle
DataGridRowStyle* ScrollBarStyle
DataGridStyle* ScrollViewerStyle
ExpanderStyle SliderStyle
GridSplitterStyle StatusBarStyle
GridViewColumnHeaderStyle TabControlStyle
GroupBoxStyle TabItemStyle
LabelStyle TextBoxStyle
ListBoxItemStyle ToggleButtonStyle
ListBoxStyle ToolBarStyle
ListViewItemStyle ToolTipStyle
ListViewStyle TreeViewItemStyle
MenuItemStyle TreeViewStyle
MenuStyle WindowStyle

The RoundButtonStyle

This style provides a rounded button similar to the one found in Windows Media Player 11. The TargetType of this style is Button.

The following demonstrates what can be done using this style. The first button is empty, while the second and third have a path in their ContentPresenter.

This style is never applied by default (implicitly). As a result, in order to use it, you must always assign the style explicitly.

XAML
Copy Code
<Button Style="{x:Static xcpt:MediaResources.RoundButtonStyle}"/>