ClassMapShapeData
Represents shape data (geographical and logical coordinates).
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class MapShapeData : ExtendedDataProvider, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable
Inheritance: objectExtendedDataProviderMapShapeData
Derived Classes:
Implements:
Inherited Members
Constructors
MapShapeData()
Declaration
protected MapShapeData()
Properties
ActiveShapeFill
Gets or sets currently applied shape fill properties.
Declaration
public MapShapeFill ActiveShapeFill { get; set; }
Property Value
GeoBounds
Gets geographical bounds of the shape.
Declaration
public LocationRect GeoBounds { get; }
Property Value
Implements
GeoSize
Gets or sets geographical size of the shape.
Declaration
public Size GeoSize { get; }
Property Value
Size
Implements
Geometry
Gets on-screen geometry.
Declaration
public Geometry Geometry { get; }
Property Value
Geometry
HighlightFill
Gets or sets the highlight shape fill properties.
Declaration
public MapShapeFill HighlightFill { get; set; }
Property Value
Implements
InitStarted
Gets the value which indicates that the initialization is started.
IsHighlighted
Gets value which indicates what shape filling (regular or highlighted) is used currently.
IsSelected
Gets value which indicates what shape filling (regular or selected) is used currently.
RenderTransform
Gets or sets the Transform object applied to the shape.
Declaration
public Transform RenderTransform { get; set; }
Property Value
Transform
RenderTransformOrigin
Gets or sets the center point of any possible render transform declared by MapShapeData.RenderTransform, relative to the bounds of the element.
Declaration
public Point RenderTransformOrigin { get; set; }
Property Value
Point
SelectedFill
Gets or sets the selected shape fill properties.
Declaration
public MapShapeFill SelectedFill { get; set; }
Property Value
SerializedHighlightFill
Gets or sets the highlight shape fill properties as string.
Declaration
public MapShapeDataFill SerializedHighlightFill { get; set; }
Property Value
Remarks
Serialized presentation of the MapShapeFill object.
SerializedSelectedFill
Gets or sets the selected shape fill properties as string.
Declaration
public MapShapeDataFill SerializedSelectedFill { get; set; }
Property Value
Remarks
Serialized presentation of the MapShapeFill object.
SerializedShapeFill
Gets or sets the shape fill properties as string.
Declaration
public MapShapeDataFill SerializedShapeFill { get; set; }
Property Value
Remarks
Serialized presentation of the MapShapeFill object.
ShapeFill
Gets or sets the regular shape fill properties.
Declaration
public MapShapeFill ShapeFill { get; set; }
Property Value
Implements
SpatialReference
Gets or sets spatial reference.
Declaration
public ISpatialReference SpatialReference { get; set; }
Property Value
ToScreenParameters
Gets or sets parameters of the conversion of the logical coordinates to screen coordinates.
Declaration
public LogicalToScreenParameters ToScreenParameters { get; set; }
Property Value
Transform
Gets on-screen transformation.
Declaration
public Transform Transform { get; }
Property Value
Transform
Wrapper
Gets bindable wrapper for this map shape data.
Declaration
public MapShapeBindableWrapper Wrapper { get; }
Property Value
Methods
Arrange()
Arrange item according to its Location.
Declaration
protected override void Arrange()
Overrides
BeginInit()
Starts the initialization process for the shape.
Declaration
public void BeginInit()
CalculateLogicalCoordinates()
Calculates logical coordinates for the current projection.
Declaration
protected virtual void CalculateLogicalCoordinates()
EndInit()
Indicates that the initialization process for the shape is complete.
Declaration
public void EndInit()
EndInit(bool)
Indicates that the initialization process for the shape is complete.
Declaration
public void EndInit(bool updateShape)
Parameters
updateShape
Indicates whether shape geometry should be updated.
GetScreenGeometry(int)
Calculates screen geometry.
SetLogicalWidth(int)
Sets logical width for the specified zoom level.
Declaration
protected void SetLogicalWidth(int zoomLevel)
Parameters
zoomLevel
UpdateGeoBounds()
Updates geographic bounds of the shape.
Declaration
protected abstract void UpdateGeoBounds()
UseHighlightFill()
Use highlight fill and stroke settings.
Declaration
public void UseHighlightFill()
UseRegularFill()
Use regular fill and stroke settings.
Declaration
public void UseRegularFill()
UseSelectedFill()
Use selected fill and stroke settings.
Declaration
public void UseSelectedFill()