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

Default implementation of the IMapPropertyAccessor accessor interface.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class DefaultPropertyAccessor : IMapPropertyAccessor

Inheritance: objectDefaultPropertyAccessor

Implements: IMapPropertyAccessor

Constructors

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

C#
public DefaultPropertyAccessor(Type itemType)
Parameters:itemTypeType

Item type.

Methods

Gets double value from the correspondent attachable property.

C#
public double GetDouble(object item, DataMember dataMember)
Parameters:itemobject

Item to get value from.

dataMemberDataMember

Data member.

Returns:

double

Double value or NaN.

Implements: IMapPropertyAccessor.GetDouble(object, DataMember)

Gets hotspot of the data item.

C#
public HotSpot GetHotspot(object item)
Parameters:itemobject

Data item to get hotspot for.

Returns:

HotSpot

Hotspot of the data item.

Implements: IMapPropertyAccessor.GetHotspot(object)

Gets geographical location of the data item.

C#
public Location GetLocation(object item)
Parameters:itemobject

Data item to get geographical location for.

Returns:

Location

Location of the data item.

Implements: IMapPropertyAccessor.GetLocation(object)

Gets ZIndex of the data item.

C#
public int GetZIndex(object item)
Parameters:itemobject

Item to get ZIndex from.

Returns:

int

ZIndex of the data item.

Implements: IMapPropertyAccessor.GetZIndex(object)

Gets zoom range of the data item.

C#
public ZoomRange GetZoomRange(object item)
Parameters:itemobject

Item to get zoom range from.

Returns:

ZoomRange

Zoom range of the data item.

Implements: IMapPropertyAccessor.GetZoomRange(object)