skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ClusteredDataSource

Clustered data source for the information layer. Allows show group of the locations as single pushpin.

Inheritance
System.Object
ClusteredDataSource
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public class ClusteredDataSource : Freezable

Constructors

ClusteredDataSource()

Initializes a new instance of the ClusteredDataSource class.

Declaration
public ClusteredDataSource()

Fields

ClusterItemGeneratorProperty

Identifies the ClusterItemGenerator dependency property.

Declaration
public static readonly DependencyProperty ClusterItemGeneratorProperty
Field Value
System.Windows.DependencyProperty

ClusterItemTemplateProperty

Identifies the ClusterItemTemplate dependency property.

Declaration
public static readonly DependencyProperty ClusterItemTemplateProperty
Field Value
System.Windows.DependencyProperty

GenerateClustersOnZoomProperty

Identifies the GenerateClustersOnZoom dependency property.

Declaration
public static readonly DependencyProperty GenerateClustersOnZoomProperty
Field Value
System.Windows.DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
System.Windows.DependencyProperty

ItemTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration
public static readonly DependencyProperty ItemTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty

Properties

ClusterItemGenerator

Gets or sets cluster item generator.

Declaration
public IClusterItemGenerator ClusterItemGenerator { get; set; }
Property Value
IClusterItemGenerator

ClusterItemTemplate

Gets or sets cluster item template.

Declaration
public DataTemplate ClusterItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate

GenerateClustersOnZoom

Gets or sets value which indicates whether clusters should be re-generated when zoom level is changed.

Declaration
public bool GenerateClustersOnZoom { get; set; }
Property Value
System.Boolean

ItemsSource

Gets or sets items source.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

ItemTemplate

Gets or sets clustered item template.

Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate

ItemTemplateSelector

Gets or sets template selector.

Declaration
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value
System.Windows.Controls.DataTemplateSelector

Methods

ArrangeItem(Object)

Refresh location of the given data item.

Declaration
public void ArrangeItem(object item)
Parameters
System.Object item

Data item.

Collapse(Object)

Collapse cluster which contains given data item.

Declaration
public void Collapse(object item)
Parameters
System.Object item

Data item.

Collapse(ClusterItem)

Collapse cluster.

Declaration
public void Collapse(ClusterItem cluster)
Parameters
ClusterItem cluster

Cluster to collapse.

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Freezable derived class.

Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.Freezable

The new instance.

Expand(ClusterItem)

Expand cluster.

Declaration
public void Expand(ClusterItem cluster)
Parameters
ClusterItem cluster

Cluster to expand.

ExpandToPolygon(ClusterItem)

Expand cluster so its items will not be on their original locations, but in the vertices of the regular polygon.

Declaration
public void ExpandToPolygon(ClusterItem cluster)
Parameters
ClusterItem cluster

Cluster to expand.

Refresh()

Refresh data source.

Declaration
public void Refresh()
Remarks

Remove all clusters and regenerate all items.

RelocateItem(Object, out ClusteredItem)

Move item from one cluster to another.

Declaration
public ClusterItem RelocateItem(object item, out ClusteredItem clusteredItem)
Parameters
System.Object item

Item to relocate.

ClusteredItem clusteredItem

Clustered item which corresponds to the given data item.

Returns
ClusterItem

New cluster.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.