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.
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 |
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.
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}"/> |