C1Maps ClearStyle Properties

Maps 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 C1Maps control:

 

Brushes

Description

Background

Gets or sets the brush of the control’s background.

MouseOverBrush

Gets or sets the System.Windows.Media.Brush used to highlight the map buttons when the mouse is hovered over them.

PressedBrush

Gets or sets the System.Windows.Media.Brush used to highlight the buttons when they are clicked on.

 

You can completely change the appearance of the C1Maps control by setting a few properties, such as the Background property, which sets the background color of the map’s tools. For example, if you set the Background property to "##FFE40005", the C1Maps 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. 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.