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

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:

C#
public class ClusterItem : ClusterDataItem, INotifyPropertyChanged

Inheritance: objectClusterDataItemClusterItem

Implements: INotifyPropertyChanged

Inherited Members ClusterDataItem.DataClusterDataItem.DataSource

Constructors

Initializes a new instance of the ClusterItem class.

C#
public ClusterItem(object clusterData)
Parameters:clusterDataobject

Cluster data.

Fields

AutoCalculateBoundsProperty

DependencyProperty

Identifies the AutoCalculateBounds dependency property.

C#
public static readonly DependencyProperty AutoCalculateBoundsProperty

BoundsProperty

DependencyProperty

Identifies the Bounds Bounds dependency property.

C#
public static readonly DependencyProperty BoundsProperty

CenterProperty

DependencyProperty

Identifies the Center Center dependency property.

C#
public static readonly DependencyProperty CenterProperty

ClusterStateProperty

DependencyProperty

Identifies the ClusterState dependency property.

C#
public static readonly DependencyProperty ClusterStateProperty

Properties

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

C#
public bool AutoCalculateBounds { get; set; }

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

C#
public bool AutoExpandWhenSingle { get; set; }

Gets or sets bounding box of the cluster.

C#
public LocationRect Bounds { get; set; }

Gets or sets center of the cluster.

C#
public Location Center { get; set; }

Gets data items which belongs to this cluster.

C#
public IEnumerable<object> Children { get; }

Gets or sets state of the cluster.

C#
public ClusterState ClusterState { get; set; }

Gets number of the items in the cluster.

C#
public int Count { get; }

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

C#
public bool DeleteWhenEmpty { get; set; }

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

C#
public double ExpandRadius { get; set; }

Indicates whether expanded cluster should be hidden.

C#
public bool HideExpanded { get; set; }

Methods

Detects whether cluster contains specified data item.

C#
public bool Contains(object dataItem)
Parameters:dataItemobject

Data item.

Returns:

bool

true - if cluster contains this data item.

Events

Property changed event.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged