Maps for WinForms
スタイルと外観

The following sections explain how to style the Map control's layout and appearance. You can use built-in styling options to alter the look of the Map control. The styling properties can be set from the Properties window, or via code.

The image below depicts the styled panning, zooming and distance-scaling map tools.

The following table lists various properties that can be used to style Map tools:

Map tool Styling properties

Distance Scale

Users can style the bar of the DistanceScale tool using the BarStyle property, and change the Alignment, BackColor, Font, ForeColor, GradientStyle, Stroke etc.
Panning Users can style the marker and pan of the Panning tool using MarkerStyle and PanStyle properties, and change the Alignment, BackColor, Font, ForeColor, GradientStyle etc.
Zooming

Users can style the button, thumb and track of the Zooming tool using the ButtonStyle, ThumbStyle and TrackStyle properties, and change the Alignment, BackColor, Font, ForeColor, GradientStyle etc.