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

Represents series of connected straight lines given in the geographical coordinates.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MapPolyline : MapShape, IExtendedData, IColorable, IGeoSizeProvider

Inheritance: objectMapShapeMapPolyline

Derived Classes: MapPolygon

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

Initializes a new instance of the MapPolyline class.

C#
public MapPolyline()

Fields

FillRuleProperty

DependencyProperty

Identifies the FillRule dependency property.

C#
public static readonly DependencyProperty FillRuleProperty

PointsProperty

DependencyProperty

Identifies the Points dependency property.

C#
public static readonly DependencyProperty PointsProperty

Properties

FillRule

FillRule

Gets or sets a FillRule enumeration that specifies how the interior fill of the shape is determined. This is a dependency property.

C#
public FillRule FillRule { get; set; }

Gets or sets a collection that contains the vertex points of the Polyline. This is a dependency property.

C#
public LocationCollection Points { get; set; }

Gets bounding rectangle given in pixels.

C#
public override Rect ScreenBounds { get; }

Overrides: MapShape.ScreenBounds

Methods

Creates the shape.

C#
protected virtual void CreateShape()

Change all locations in Points collection so the first point coincide with new location.

C#
public override void MoveTo(Location location)
Parameters:locationLocation

New location.

Overrides: MapShape.MoveTo(Location)

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

This method is called when points collection is changed.

C#
protected virtual void OnPointsChanged()

Prepare shape.

C#
protected override Size PrepareShape()
Returns:

Size

Overrides: MapShape.PrepareShape()