CoverFlow (Silverlight Only) > C1CoverFlow ClearStyle Properties |
CoverFlow for Silverlight supports ComponentOne's new ClearStyle technology that allows you to easily change control colors without having to change control templates. By just setting a few color properties you can quickly style the entire grid.
The following table outlines the brush properties of the C1CoverFlow control:
Brushes |
Description |
Background |
Gets or sets the brush of the control’s background. |
ButtonForeground |
Gets or sets the brush of the buttons’ foreground text. |
ButtonBackground |
Gets or sets the brush of the buttons’ background text. |
MouseOverBrush |
Gets or sets the System.Windows.Media.Brush used to highlight the control when it is hovered over. |
PressedBrush |
Gets or sets the System.Windows.Media.Brush used to highlight the control when it is pressed on. |
You can completely change the appearance of the C1CoverFlow control by setting a few properties, such as the Background property, which sets the background color of the CoverFlow’s header. For example, if you set the Background property to "#FF490C0D", the C1CoverFlow control would appear similar to the following:
It’s that simple with ComponentOne’s ClearStyle technology. For more information on ClearStyle, see the ComponentOne ClearStyle Technology topic.