Class
MapScale

Represents the MapScale class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
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

MapScale()

Initializes a new instance of the MapScale class.

Declaration

cs-api-definition
public MapScale()

Fields

DistanceUnitProperty

Identifies the DistanceUnit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DistanceUnitProperty

Field Value

DependencyProperty

RelativeMaxWidthProperty

Identifies the RelativeMaxWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RelativeMaxWidthProperty

Field Value

DependencyProperty

ScaleLabelBackgroundProperty

Identifies the ScaleLabelBackground dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScaleLabelBackgroundProperty

Field Value

DependencyProperty

ScaleLabelBorderBrushProperty

Identifies the ScaleLabelBorderBrush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScaleLabelBorderBrushProperty

Field Value

DependencyProperty

StrokeThicknessProperty

Identifies the StrokeThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrokeThicknessProperty

Field Value

DependencyProperty

Properties

DistanceUnit

Gets or sets the Unit.

Declaration

cs-api-definition
public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

RelativeMaxWidth

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

Declaration

cs-api-definition
public double RelativeMaxWidth { get; set; }

Property Value

double

ScaleLabelBackground

Gets or sets ScaleLabelBackground.

Declaration

cs-api-definition
public Brush ScaleLabelBackground { get; set; }

Property Value

Brush

ScaleLabelBackground.

ScaleLabelBorderBrush

Gets or sets ScaleLabelBackground.

Declaration

cs-api-definition
public Brush ScaleLabelBorderBrush { get; set; }

Property Value

Brush

ScaleLabelBackground.

StrokeThickness

Gets or sets StrokeThickness.

Declaration

cs-api-definition
public double StrokeThickness { get; set; }

Property Value

double

StrokeThickness.

Methods

MeasureOverride(Size)

Measure override.

Declaration

cs-api-definition
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

cs-api-definition
public override void OnApplyTemplate()

Overrides MapBaseControl.OnApplyTemplate()

OnMapInitialize(RadMap, RadMap)

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

Declaration

cs-api-definition
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)

Parameters

oldMapControl

RadMap

newMapControl

RadMap

Overrides MapBaseControl.OnMapInitialize(RadMap, RadMap)