ClassMapScale
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
MapScale()
Initializes a new instance of the MapScale class.
Declaration
public MapScale()
Fields
DistanceUnitProperty
Identifies the DistanceUnit dependency property.
Declaration
public static readonly DependencyProperty DistanceUnitProperty
Field Value
DependencyProperty
RelativeMaxWidthProperty
Identifies the RelativeMaxWidth dependency property.
Declaration
public static readonly DependencyProperty RelativeMaxWidthProperty
Field Value
DependencyProperty
ScaleLabelBackgroundProperty
Identifies the ScaleLabelBackground dependency property.
Declaration
public static readonly DependencyProperty ScaleLabelBackgroundProperty
Field Value
DependencyProperty
ScaleLabelBorderBrushProperty
Identifies the ScaleLabelBorderBrush dependency property.
Declaration
public static readonly DependencyProperty ScaleLabelBorderBrushProperty
Field Value
DependencyProperty
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
DependencyProperty
Properties
DistanceUnit
Gets or sets the Unit.
Declaration
public DistanceUnit DistanceUnit { get; set; }
Property Value
RelativeMaxWidth
Gets or sets the RelativeMaxWidth. The value should be between 0 and 1.
ScaleLabelBackground
Gets or sets ScaleLabelBackground.
Declaration
public Brush ScaleLabelBackground { get; set; }
Property Value
Brush
ScaleLabelBackground.
ScaleLabelBorderBrush
Gets or sets ScaleLabelBackground.
Declaration
public Brush ScaleLabelBorderBrush { get; set; }
Property Value
Brush
ScaleLabelBackground.
StrokeThickness
Gets or sets StrokeThickness.
Declaration
public double StrokeThickness { get; set; }
Property Value
StrokeThickness.
Methods
MeasureOverride(Size)
Measure override.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Available size.
Returns
Size
Size.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call.
Declaration
public override void OnApplyTemplate()
Overrides
OnMapInitialize(RadMap, RadMap)
When overridden in a derived class, is invoked when rad map is initialized.