ClassMapPolyline
Represents series of connected straight lines given in the geographical coordinates.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Polyline")]
public class MapPolyline : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Inheritance: objectMapShapeMapPolyline
Derived Classes:
Implements:
Inherited Members
Constructors
MapPolyline()
Initializes a new instance of the MapPolyline class.
Declaration
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public MapPolyline()
Fields
FillRuleProperty
Identifies the FillRule dependency property.
Declaration
public static readonly DependencyProperty FillRuleProperty
Field Value
DependencyProperty
PointsProperty
Identifies the Points dependency property.
Declaration
public static readonly DependencyProperty PointsProperty
Field Value
DependencyProperty
Properties
FillRule
Gets or sets a FillRule enumeration that specifies how the interior fill of the shape is determined. This is a dependency property.
Declaration
public FillRule FillRule { get; set; }
Property Value
FillRule
Points
Gets or sets a collection that contains the vertex points of the Polyline. This is a dependency property.
Declaration
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public LocationCollection Points { get; set; }
Property Value
ScreenBounds
Gets bounding rectangle given in pixels.
Declaration
public override Rect ScreenBounds { get; }
Property Value
Rect
Overrides
Methods
MoveTo(Location)
Change all locations in Points collection so the first point coincide with new location.
Declaration
public override void MoveTo(Location location)
Parameters
location
New location.
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnPointsChanged()
This method is called when points collection is changed.
Declaration
protected virtual void OnPointsChanged()
PrepareShape()
Prepare shape.
Declaration
protected override Size PrepareShape()
Returns
Size
Overrides