Class MapScale
Represents the MapScale class.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapScale : MapBaseControl, ILayer
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
System.Windows.DependencyProperty
|
RelativeMaxWidthProperty
Identifies the RelativeMaxWidth dependency property.
Declaration
public static readonly DependencyProperty RelativeMaxWidthProperty
Field Value
System.Windows.DependencyProperty
|
ScaleLabelBackgroundProperty
Identifies the ScaleLabelBackground dependency property.
Declaration
public static readonly DependencyProperty ScaleLabelBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
ScaleLabelBorderBrushProperty
Identifies the ScaleLabelBorderBrush dependency property.
Declaration
public static readonly DependencyProperty ScaleLabelBorderBrushProperty
Field Value
System.Windows.DependencyProperty
|
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DistanceUnit
Gets or sets the Unit.
Declaration
public DistanceUnit DistanceUnit { get; set; }
Property Value
DistanceUnit
|
RelativeMaxWidth
Gets or sets the RelativeMaxWidth. The value should be between 0 and 1.
Declaration
public double RelativeMaxWidth { get; set; }
Property Value
System.Double
|
ScaleLabelBackground
Gets or sets ScaleLabelBackground.
Declaration
public Brush ScaleLabelBackground { get; set; }
Property Value
System.Windows.Media.Brush
ScaleLabelBackground. |
ScaleLabelBorderBrush
Gets or sets ScaleLabelBackground.
Declaration
public Brush ScaleLabelBorderBrush { get; set; }
Property Value
System.Windows.Media.Brush
ScaleLabelBackground. |
StrokeThickness
Gets or sets StrokeThickness.
Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double
StrokeThickness. |
Methods
MeasureOverride(Size)
Measure override.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
Available size. |
Returns
System.Windows.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.
Declaration
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters
RadMap
oldMapControl
|
RadMap
newMapControl
|