New to Telerik UI for WPFStart a free 30-day trial

Represents the MapScale class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MapScale : MapBaseControl, ILayer

Inheritance: objectMapBaseControlMapScale

Implements: ILayer

Inherited Members MapBaseControl.MapControlPropertyMapBaseControl.MultiscaleImage_MotionFinished(object, RoutedEventArgs)MapBaseControl.MultiscaleImage_ViewportChanged(object, RoutedEventArgs)MapBaseControl.MapControl

Constructors

Initializes a new instance of the MapScale class.

C#
public MapScale()

Fields

DistanceUnitProperty

DependencyProperty

Identifies the DistanceUnit dependency property.

C#
public static readonly DependencyProperty DistanceUnitProperty

RelativeMaxWidthProperty

DependencyProperty

Identifies the RelativeMaxWidth dependency property.

C#
public static readonly DependencyProperty RelativeMaxWidthProperty

Identifies the ScaleLabelBackground dependency property.

C#
public static readonly DependencyProperty ScaleLabelBackgroundProperty

Identifies the ScaleLabelBorderBrush dependency property.

C#
public static readonly DependencyProperty ScaleLabelBorderBrushProperty

StrokeThicknessProperty

DependencyProperty

Identifies the StrokeThickness dependency property.

C#
public static readonly DependencyProperty StrokeThicknessProperty

Properties

Gets or sets the Unit.

C#
public DistanceUnit DistanceUnit { get; set; }

Gets or sets the RelativeMaxWidth. The value should be between 0 and 1.

C#
public double RelativeMaxWidth { get; set; }

Gets or sets ScaleLabelBackground.

C#
public Brush ScaleLabelBackground { get; set; }
Property Value:

ScaleLabelBackground.

Gets or sets ScaleLabelBackground.

C#
public Brush ScaleLabelBorderBrush { get; set; }
Property Value:

ScaleLabelBackground.

Gets or sets StrokeThickness.

C#
public double StrokeThickness { get; set; }
Property Value:

StrokeThickness.

Methods

Measure override.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

Available size.

Returns:

Size

Size.

When overridden in a derived class, is invoked whenever application code or internal processes call.

C#
public override void OnApplyTemplate()

Overrides: MapBaseControl.OnApplyTemplate()

When overridden in a derived class, is invoked when rad map is initialized.

C#
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters:oldMapControlRadMapnewMapControlRadMap

Overrides: MapBaseControl.OnMapInitialize(RadMap, RadMap)