Class
MapLine

Represents line given in the geographical coordinates.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class MapLine : MapShape, IExtendedData, IColorable, IGeoSizeProvider

Inheritance: objectMapShapeMapLine

Implements: IColorableIExtendedDataIGeoSizeProvider

Inherited Members MapShape.CaptionLocationPropertyMapShape.CaptionTemplatePropertyMapShape.FillPropertyMapShape.HighlightFillPropertyMapShape.ShapeFillPropertyMapShape.StrokeDashArrayPropertyMapShape.StrokeDashCapPropertyMapShape.StrokeDashOffsetPropertyMapShape.StrokeEndLineCapPropertyMapShape.StrokeLineJoinPropertyMapShape.StrokeMiterLimitPropertyMapShape.StrokePropertyMapShape.StrokeStartLineCapPropertyMapShape.StrokeThicknessPropertyMapShape.VisibilityListenerPropertyMapShape.CaptureMouse()MapShape.RaiseEvent(RoutedEventArgs)MapShape.ReleaseMouseCapture()MapShape.UseHighlightFill()MapShape.UseRegularFill()MapShape.OnMapCanvasChanged(MapCanvas, MapCanvas)MapShape.OnMapControlChanged(RadMap, RadMap)MapShape.PreprocessTransformation()MapShape.SetShapeFillStroke()MapShape.SetupEvents()MapShape.CaptionLocationMapShape.CaptionTemplateMapShape.ExtendedDataMapShape.FillMapShape.GeoBoundsMapShape.GeographicalBoundsMapShape.GeoSizeMapShape.HighlightFillMapShape.ShapeFillMapShape.StrokeMapShape.StrokeDashArrayMapShape.StrokeDashCapMapShape.StrokeDashOffsetMapShape.StrokeEndLineCapMapShape.StrokeLineJoinMapShape.StrokeMiterLimitMapShape.StrokeStartLineCapMapShape.StrokeThicknessMapShape.NeedUpdateLocationMapShape.MouseEnterMapShape.MouseLeaveMapShape.MouseLeftButtonDownMapShape.MouseLeftButtonUpMapShape.MouseMoveMapShape.MouseRightButtonDownMapShape.MouseRightButtonUpMapShape.MouseWheel

Constructors

MapLine()

Initializes a new instance of the MapLine class.

Declaration

cs-api-definition
public MapLine()

Fields

Point1Property

Identifies the Point1 dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty Point1Property

Field Value

DependencyProperty

Point2Property

Identifies the Point2 dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty Point2Property

Field Value

DependencyProperty

Properties

Point1

Gets or sets the start point of the line.

Declaration

cs-api-definition
public Location Point1 { get; set; }

Property Value

Location

Point2

Gets or sets the end point of the line.

Declaration

cs-api-definition
public Location Point2 { get; set; }

Property Value

Location

ScreenBounds

Gets bounding rectangle given in pixels.

Declaration

cs-api-definition
public override Rect ScreenBounds { get; }

Property Value

Rect

Overrides MapShape.ScreenBounds

Methods

MoveTo(Location)

Change location of the line so Point1 coincide with new location.

Declaration

cs-api-definition
public override void MoveTo(Location location)

Parameters

location

Location

New location.

Overrides MapShape.MoveTo(Location)

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

PrepareShape()

Prepare shape.

Declaration

cs-api-definition
protected override Size PrepareShape()

Returns

Size

Overrides MapShape.PrepareShape()