Class ClusterItem
Represents container which hold clustered items (items which is grouped by some criteria).
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class ClusterItem : ClusterDataItem, INotifyPropertyChanged
Constructors
ClusterItem(Object)
Initializes a new instance of the ClusterItem class.
Declaration
public ClusterItem(object clusterData)
Parameters
System.Object
clusterData
Cluster data. |
Fields
AutoCalculateBoundsProperty
Identifies the AutoCalculateBounds dependency property.
Declaration
public static readonly DependencyProperty AutoCalculateBoundsProperty
Field Value
System.Windows.DependencyProperty
|
BoundsProperty
Identifies the Bounds Bounds dependency property.
Declaration
public static readonly DependencyProperty BoundsProperty
Field Value
System.Windows.DependencyProperty
|
CenterProperty
Identifies the Center Center dependency property.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
System.Windows.DependencyProperty
|
ClusterStateProperty
Identifies the ClusterState dependency property.
Declaration
public static readonly DependencyProperty ClusterStateProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutoCalculateBounds
Gets or sets value which indicates whether bounding box of the cluster should be calculated automatically.
Declaration
public bool AutoCalculateBounds { get; set; }
Property Value
System.Boolean
|
AutoExpandWhenSingle
Gets or sets value which indicates whether cluster should be automatically expanded when it contains 1 data item only.
Declaration
public bool AutoExpandWhenSingle { get; set; }
Property Value
System.Boolean
|
Bounds
Gets or sets bounding box of the cluster.
Declaration
public LocationRect Bounds { get; set; }
Property Value
LocationRect
|
Center
Gets or sets center of the cluster.
Declaration
public Location Center { get; set; }
Property Value
Location
|
Children
Gets data items which belongs to this cluster.
Declaration
public IEnumerable<object> Children { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Object>
|
ClusterState
Gets or sets state of the cluster.
Declaration
public ClusterState ClusterState { get; set; }
Property Value
ClusterState
|
Count
Gets number of the items in the cluster.
Declaration
public int Count { get; }
Property Value
System.Int32
|
DeleteWhenEmpty
Gets or sets value which indicates whether cluster should be deleted if it is empty.
Declaration
public bool DeleteWhenEmpty { get; set; }
Property Value
System.Boolean
|
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
public double ExpandRadius { get; set; }
Property Value
System.Double
|
HideExpanded
Indicates whether expanded cluster should be hidden.
Declaration
public bool HideExpanded { get; set; }
Property Value
System.Boolean
|
Methods
Contains(Object)
Detects whether cluster contains specified data item.
Declaration
public bool Contains(object dataItem)
Parameters
System.Object
dataItem
Data item. |
Returns
System.Boolean
true - if cluster contains this data item. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|