ClassMapLine
Represents line given in the geographical coordinates.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapLine : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Inheritance: objectMapShapeMapLine
Implements:
Inherited Members
Constructors
MapLine()
Initializes a new instance of the MapLine class.
Declaration
public MapLine()
Fields
Point1Property
Identifies the Point1 dependency property.
Declaration
public static readonly DependencyProperty Point1Property
Field Value
DependencyProperty
Point2Property
Identifies the Point2 dependency property.
Declaration
public static readonly DependencyProperty Point2Property
Field Value
DependencyProperty
Properties
Point1
Gets or sets the start point of the line.
Point2
Gets or sets the end point of the line.
ScreenBounds
Gets bounding rectangle given in pixels.
Declaration
public override Rect ScreenBounds { get; }
Property Value
Rect
Overrides
Methods
MoveTo(Location)
Change location of the line so Point1 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.
PrepareShape()
Prepare shape.
Declaration
protected override Size PrepareShape()
Returns
Size
Overrides