MapScale
Represents the MapScale class.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapScale : MapBaseControl, ILayer
Inheritance: objectMapBaseControlMapScale
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapScale class.
public MapScale()
Fields
DistanceUnitProperty
DependencyProperty
Identifies the DistanceUnit dependency property.
public static readonly DependencyProperty DistanceUnitProperty
RelativeMaxWidthProperty
DependencyProperty
Identifies the RelativeMaxWidth dependency property.
public static readonly DependencyProperty RelativeMaxWidthProperty
ScaleLabelBackgroundProperty
DependencyProperty
Identifies the ScaleLabelBackground dependency property.
public static readonly DependencyProperty ScaleLabelBackgroundProperty
ScaleLabelBorderBrushProperty
DependencyProperty
Identifies the ScaleLabelBorderBrush dependency property.
public static readonly DependencyProperty ScaleLabelBorderBrushProperty
StrokeThicknessProperty
DependencyProperty
Identifies the StrokeThickness dependency property.
public static readonly DependencyProperty StrokeThicknessProperty
Properties
Gets or sets the Unit.
public DistanceUnit DistanceUnit { get; set; }
Gets or sets the RelativeMaxWidth. The value should be between 0 and 1.
public double RelativeMaxWidth { get; set; }
ScaleLabelBackground
Brush
Gets or sets ScaleLabelBackground.
public Brush ScaleLabelBackground { get; set; }
ScaleLabelBackground.
Gets or sets ScaleLabelBackground.
public Brush ScaleLabelBorderBrush { get; set; }
ScaleLabelBackground.
Gets or sets StrokeThickness.
public double StrokeThickness { get; set; }
StrokeThickness.
Methods
Measure override.
protected override Size MeasureOverride(Size availableSize)
Available size.
Returns:Size
Size.
When overridden in a derived class, is invoked whenever application code or internal processes call.
public override void OnApplyTemplate()
Overrides: