Class
ClusterItem

Represents container which hold clustered items (items which is grouped by some criteria).

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class ClusterItem : ClusterDataItem, INotifyPropertyChanged

Inheritance: objectClusterDataItemClusterItem

Implements: INotifyPropertyChanged

Inherited Members ClusterDataItem.DataClusterDataItem.DataSource

Constructors

ClusterItem(object)

Initializes a new instance of the ClusterItem class.

Declaration

cs-api-definition
public ClusterItem(object clusterData)

Parameters

clusterData

object

Cluster data.

Fields

AutoCalculateBoundsProperty

Identifies the AutoCalculateBounds dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoCalculateBoundsProperty

Field Value

DependencyProperty

BoundsProperty

Identifies the Bounds Bounds dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BoundsProperty

Field Value

DependencyProperty

CenterProperty

Identifies the Center Center dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CenterProperty

Field Value

DependencyProperty

ClusterStateProperty

Identifies the ClusterState dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusterStateProperty

Field Value

DependencyProperty

Properties

AutoCalculateBounds

Gets or sets value which indicates whether bounding box of the cluster should be calculated automatically.

Declaration

cs-api-definition
public bool AutoCalculateBounds { get; set; }

Property Value

bool

AutoExpandWhenSingle

Gets or sets value which indicates whether cluster should be automatically expanded when it contains 1 data item only.

Declaration

cs-api-definition
public bool AutoExpandWhenSingle { get; set; }

Property Value

bool

Bounds

Gets or sets bounding box of the cluster.

Declaration

cs-api-definition
public LocationRect Bounds { get; set; }

Property Value

LocationRect

Center

Gets or sets center of the cluster.

Declaration

cs-api-definition
public Location Center { get; set; }

Property Value

Location

Children

Gets data items which belongs to this cluster.

Declaration

cs-api-definition
public IEnumerable<object> Children { get; }

Property Value

IEnumerable<object>

ClusterState

Gets or sets state of the cluster.

Declaration

cs-api-definition
public ClusterState ClusterState { get; set; }

Property Value

ClusterState

Count

Gets number of the items in the cluster.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

DeleteWhenEmpty

Gets or sets value which indicates whether cluster should be deleted if it is empty.

Declaration

cs-api-definition
public bool DeleteWhenEmpty { get; set; }

Property Value

bool

ExpandRadius

Gets or sets radius (in pixels) which will be used to calculate coordinates of the items when cluster is expanded to the polygon vertices.

Declaration

cs-api-definition
public double ExpandRadius { get; set; }

Property Value

double

HideExpanded

Indicates whether expanded cluster should be hidden.

Declaration

cs-api-definition
public bool HideExpanded { get; set; }

Property Value

bool

Methods

Contains(object)

Detects whether cluster contains specified data item.

Declaration

cs-api-definition
public bool Contains(object dataItem)

Parameters

dataItem

object

Data item.

Returns

bool

true - if cluster contains this data item.

Events

PropertyChanged

Property changed event.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged