Class
DefaultPropertyAccessor

Default implementation of the IMapPropertyAccessor accessor interface.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class DefaultPropertyAccessor : IMapPropertyAccessor

Inheritance: objectDefaultPropertyAccessor

Implements: IMapPropertyAccessor

Constructors

DefaultPropertyAccessor(Type)

Initializes a new instance of the DefaultPropertyAccessor class using information about type of the item.

Declaration

cs-api-definition
public DefaultPropertyAccessor(Type itemType)

Parameters

itemType

Type

Item type.

Methods

GetDouble(object, DataMember)

Gets double value from the correspondent attachable property.

Declaration

cs-api-definition
public double GetDouble(object item, DataMember dataMember)

Parameters

item

object

Item to get value from.

dataMember

DataMember

Data member.

Returns

double

Double value or NaN.

Implements IMapPropertyAccessor.GetDouble(object, DataMember)

GetHotspot(object)

Gets hotspot of the data item.

Declaration

cs-api-definition
public HotSpot GetHotspot(object item)

Parameters

item

object

Data item to get hotspot for.

Returns

HotSpot

Hotspot of the data item.

Implements IMapPropertyAccessor.GetHotspot(object)

GetLocation(object)

Gets geographical location of the data item.

Declaration

cs-api-definition
public Location GetLocation(object item)

Parameters

item

object

Data item to get geographical location for.

Returns

Location

Location of the data item.

Implements IMapPropertyAccessor.GetLocation(object)

GetZIndex(object)

Gets ZIndex of the data item.

Declaration

cs-api-definition
public int GetZIndex(object item)

Parameters

item

object

Item to get ZIndex from.

Returns

int

ZIndex of the data item.

Implements IMapPropertyAccessor.GetZIndex(object)

GetZoomRange(object)

Gets zoom range of the data item.

Declaration

cs-api-definition
public ZoomRange GetZoomRange(object item)

Parameters

item

object

Item to get zoom range from.

Returns

ZoomRange

Zoom range of the data item.

Implements IMapPropertyAccessor.GetZoomRange(object)