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 jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 VisualizationLayer

Represents data visualization layer. Allows showing of the geographically positioned framework elements and map shapes over the map.

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

Syntax

public class VisualizationLayer : Control, ILayer

Constructors

VisualizationLayer()

Initializes a new instance of the VisualizationLayer class.

Declaration
public VisualizationLayer()

Fields

AllowDataTemplateForZoomLevelProperty

Identifies the AllowDataTemplateForZoomLevel dependency property.

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

AutoCalculateClusteringThresholdProperty

Identifies the AutoClusteringThreshold dependency property.

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

AutoHighlightMapShapeProperty

Identifies the AutoHighlightMapShape dependency property.

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

ClusterGeneratorProperty

Identifies the ClusterGenerator dependency property.

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

ClusteringEnabledProperty

Identifies the ClusteringEnabled dependency property.

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

ClusteringEnabledThresholdMinItemsProperty

Identifies the ClusteringEnabledThresholdMinItems dependency property.

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

ClusteringEnabledThresholdProperty

Identifies the ClusteringEnabledThreshold dependency property.

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

ClusterItemTemplateProperty

Identifies the ClusterItemTemplate dependency property.

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

ClusterTemplateSelectorProperty

Identifies the ClusterTemplateSelector dependency property.

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

ColorizerProperty

Identifies the Colorizer dependency property.

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

DefaultClusterTemplateProperty

Identifies the DefaultClusterTemplate dependency property.

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

DefaultItemTemplateProperty

Identifies the DefaultItemTemplate dependency property.

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

DefaultKmlItemTemplateProperty

Identifies the DefaultKmlItemTemplate dependency property.

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

GenerateClustersOnZoomProperty

Identifies the GenerateClustersOnZoom dependency property.

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

HighlightFillProperty

Identifies the HighlightFill dependency property.

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

ItemSelectionModeProperty

Identifies the ItemSelectionMode dependency property.

Declaration
public static readonly DependencyProperty ItemSelectionModeProperty
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

PropertyAccessorProperty

Identifies the PropertyAccessor dependency property.

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

ReaderProperty

Identifies the Reader dependency property.

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

RenderWhileMotionProperty

Identifies the RenderWhileMotion dependency property.

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

SelectedFillProperty

Identifies the SelectedFill dependency property.

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

SelectedItemsProperty

Identifies the SelectedItems dependency property.

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

SelectionChangedEvent

Identifies the SelectionChanged routed event.

Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
System.Windows.RoutedEvent

ShapeFillProperty

Identifies the ShapeFillProperty dependency property.

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

ShapeTemplateProperty

Identifies the ShapeTemplate dependency property.

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

UseIntersectForShapeSelectionProperty

Identifies the UseIntersectForShapeSelection dependency property.

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

VirtualizationSourceProperty

Identifies the VirtualizationSource dependency property.

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

ZoomLevelGridListProperty

Identifies the ZoomLevelGridList dependency property.

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

Properties

AllowDataTemplateForZoomLevel

Gets or sets value which indicates whether the DataTemplate will be re-applied to the map items when zoom level is changed. It makes possible creation of the DataTemplateSelector which will return data templates depends on the map zoom level.

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

Remarks

Pay attention that re-applying of the data templates is resource consuming operation. Use this feature when you really need it only.

AutoCalculateClusteringThreshold

Gets or sets value which indicates whether the clustering threshold should be calculated automatically.

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

AutoHighlightMapShape

Gets or sets value which indicates whether the map shapes should be highlighted automatically when mouse is over the shape.

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

ClusterGenerator

Gets or sets cluster generator.

Declaration
public IClusterGenerator ClusterGenerator { get; set; }
Property Value
IClusterGenerator

ClusteringEnabled

Gets or sets value which indicates whether clustering is enabled.

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

ClusteringEnabledThreshold

Gets or sets clustering enabled threshold.

Declaration
public int ClusteringEnabledThreshold { get; set; }
Property Value
System.Int32

Remarks

This value sets the max zoom level for clustering. If zoom level is greater than this value then clustering will be disabled.

ClusteringEnabledThresholdMinItems

Gets or sets minimal number of the items in the cluster for auto calculated clustering threshold.

Declaration
public int ClusteringEnabledThresholdMinItems { get; set; }
Property Value
System.Int32

Remarks

The clustering threshold will be set if number of the items in every cluster is less than this value.

ClusterItemTemplate

Gets or sets data template which represents cluster item.

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

Clusters

Gets all ClusterData objects currently handled by the VisualizationLayer.

Declaration
public IEnumerable<ClusterData> Clusters { get; }
Property Value
System.Collections.Generic.IEnumerable<ClusterData>

ClusterTemplateSelector

Gets or sets the custom logic for choosing a template used to display each cluster.

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

Colorizer

Gets or sets IMapShapeColorizer value to colorize shape or kml file.

Declaration
public IMapShapeColorizer Colorizer { get; set; }
Property Value
IMapShapeColorizer

DefaultClusterTemplate

Gets or sets the default cluster data template.

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

DefaultItemTemplate

Gets or sets the default data template.

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

DefaultKmlItemTemplate

Gets or sets the default data template for KML points.

Declaration
public DataTemplate DefaultKmlItemTemplate { 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

HighlightFill

Gets or sets default highlight shape fill properties. If highlight fill properties aren't set for MapShapeData object then this properties will be used.

Declaration
public MapShapeFill HighlightFill { get; set; }
Property Value
MapShapeFill

Items

Gets items collection.

Declaration
public MapItemsCollection Items { get; }
Property Value
MapItemsCollection

ItemSelectionMode

Gets or sets the item selection mode. It defines how the item in the visualization layer can be selected using RadMap user interface.

Declaration
public ItemSelectionMode ItemSelectionMode { get; set; }
Property Value
ItemSelectionMode

ItemsSource

Gets or sets a collection used to generate the content of the visualization layer.

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

ItemTemplate

Gets or sets the DataTemplate used to display each item.

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

ItemTemplateSelector

Gets or sets the custom logic for choosing a template used to display each item.

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

MapControl

Gets or sets map control this layer belongs to.

Declaration
public RadMap MapControl { get; set; }
Property Value
RadMap

Implements
ILayer.MapControl

PropertyAccessor

Gets or sets map property accessor. Map property accessor is an object which read map layer related properties (location, hot spot and so on) from data items.

Declaration
public IMapPropertyAccessor PropertyAccessor { get; set; }
Property Value
IMapPropertyAccessor

Reader

Gets or sets reader to loading map shapes. The map shapes are loaded by this reader will be added to the information layer automatically.

Declaration
public AsyncReaderBase Reader { get; set; }
Property Value
AsyncReaderBase

RenderWhileMotion

Gets or sets value which indicates whether the layer should request and render items dynamically during panning and zooming.

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

SelectedFill

Gets or sets selected shape fill properties. If fill properties aren't set for MapShapeData object then this properties will be used.

Declaration
public MapShapeFill SelectedFill { get; set; }
Property Value
MapShapeFill

SelectedItems

Gets or sets list of the selected items.

Declaration
public IList<object> SelectedItems { get; set; }
Property Value
System.Collections.Generic.IList<System.Object>

ShapeFill

Gets or sets default shape fill properties. If fill properties aren't set for MapShapeData object then this properties will be used.

Declaration
public MapShapeFill ShapeFill { get; set; }
Property Value
MapShapeFill

ShapeTemplate

Gets or sets the map shape visualization data template.

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

UseBitmapCache

Gets or sets value which indicates whether bitmap cache should be used to accelerate panning operation.

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

Remarks

Using of the bitmap cache significantly increase memory usage when map shapes exists on the layer. We recommend to turn it off for layers with lot of map shapes.

UseDefaultPropertyAccessor

Gets or sets value which indicates whether the default (reflection-based) property accessor should be used to access item's map-relative properties (like Location or ZoomRange).

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

Remarks

If you set this value to true and do not specify property accessor then default one will be created. Accessing item's properties using accessor is faster then obtaining them from the content presenter bindings. But you should keep in mind that default accessor use some assumptions about data item properties. So if properties of the data items differ from ones are used in default accessor then you should create your own custom data accessor.

UseIntersectForShapeSelection

Gets or sets value which indicates whether map shapes should be selected using intersection (true) or containment (false).

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

VirtualizationSource

Gets or sets virtualization source.

Declaration
public IMapItemsVirtualizationSource VirtualizationSource { get; set; }
Property Value
IMapItemsVirtualizationSource

ZoomLevelGridList

Gets ZoomLevelGrid collection.

Declaration
public ZoomLevelGridCollection ZoomLevelGridList { get; }
Property Value
ZoomLevelGridCollection

Methods

ArrangeItem(Object)

Arrange screen position of the item.

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

Item to arrange position. Can be framework element, map shape or data item.

ArrangeOverride(Size)

Called to arrange and size the content.

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size finalSize

The computed size that is used to arrange the content.

Returns
System.Windows.Size

The calculated size.

ClearSelection(Boolean)

Clear current selection.

Declaration
public List<object> ClearSelection(bool updateSelectedItems)
Parameters
System.Boolean updateSelectedItems

Indicates whether SelectedItems collection should be updated as well.

Returns
System.Collections.Generic.List<System.Object>

List of the unselected items.

Dispose()

Dispose all resources are used by information layer.

Declaration
public void Dispose()

DisposeContainers()

Called when visual containers are being disposed.

Declaration
protected virtual void DisposeContainers()

GetBestView(IEnumerable<Object>)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration
public LocationRect GetBestView(IEnumerable<object> itemsList)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsList

List of the items to get best view for. The items must be from this list.

Returns
LocationRect

Location rectangle which represents best view.

GetBestView(IEnumerable<Object>, Size)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration
public LocationRect GetBestView(IEnumerable<object> itemsList, Size defaultSize)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsList

List of the items to get best view for. The items must be from this list.

System.Windows.Size defaultSize

Default size of the region. It is applied when list contains 1 item only.

Returns
LocationRect

Location rectangle which represents best view.

GetBestView(IEnumerable<Object>, IMapPropertyAccessor, Size)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration
public static LocationRect GetBestView(IEnumerable<object> itemsList, IMapPropertyAccessor propertyAccessor, Size defaultSize)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsList

List of the items to get best view for.

IMapPropertyAccessor propertyAccessor

Gets map layer related properties from data items.

System.Windows.Size defaultSize

Default size of the region. It is applied when list contains 1 item only.

Returns
LocationRect

Location rectangle which represents best view.

GetClusterForItem(Object)

Gets cluster which contains given items.

Declaration
public ClusterData GetClusterForItem(object item)
Parameters
System.Object item

Item to get cluster for.

Returns
ClusterData

Cluster which contains data item or null.

GetContainerFromItem(Object)

Returns the container for the specified item.

Declaration
public UIElement GetContainerFromItem(object item)
Parameters
System.Object item

The item whose container to retrieve.

Returns
System.Windows.UIElement

A UIElement representing the container of the specified item.

GetDoubleFromItem(Object, DataMember)

Gets double value from the correspondent attachable property.

Declaration
public double GetDoubleFromItem(object item, DataMember dataMember)
Parameters
System.Object item

Item to get value from.

DataMember dataMember

Data member.

Returns
System.Double

Double value or NaN.

GetHotSpotFromItem(Object)

Gets Hot Spot from the correspondent attachable property.

Declaration
public HotSpot GetHotSpotFromItem(object item)
Parameters
System.Object item

Item to get value from.

Returns
HotSpot

Hot spot or null.

GetItemsInLocation(Location)

Search the items in the information layer by given location.

Declaration
public IEnumerable<object> GetItemsInLocation(Location location)
Parameters
Location location

Location to search items at.

Returns
System.Collections.Generic.IEnumerable<System.Object>

Enumerator of the items found.

GetItemsInRectangle(LocationRect)

Search the objects in the Visualization Layer by given location rectangle. Returns all objects which are located in the rectangle.

Declaration
public IEnumerable<object> GetItemsInRectangle(LocationRect rectangle)
Parameters
LocationRect rectangle

Rectangle to search elements in.

Returns
System.Collections.Generic.IEnumerable<System.Object>

Collection of the objects inside rectangle.

GetItemsInRectangle(LocationRect, Boolean)

Search the objects in the Visualization Layer by given location rectangle. Returns all objects which are located in the rectangle.

Declaration
public IEnumerable<object> GetItemsInRectangle(LocationRect rectangle, bool useIntersectForShapes)
Parameters
LocationRect rectangle

Rectangle to search elements in.

System.Boolean useIntersectForShapes

Indicates whether map shapes should be detected using intersection (true) or containment (false).

Returns
System.Collections.Generic.IEnumerable<System.Object>

Collection of the objects inside rectangle.

GetLocationFromInfo(MapObjectInfo)

Gets geographical location of the data item.

Declaration
public Location GetLocationFromInfo(MapObjectInfo info)
Parameters
MapObjectInfo info

Item to get location from.

Returns
Location

Location of the data item.

GetLocationFromItem(Object)

Gets geographical location of the data item.

Declaration
public Location GetLocationFromItem(object item)
Parameters
System.Object item

Item to get location from.

Returns
Location

Location of the data item.

GetZIndexFromItem(Object)

Gets ZIndex value from the correspondent attachable property.

Declaration
public int GetZIndexFromItem(object item)
Parameters
System.Object item

Item to get value from.

Returns
System.Int32

ZIndex or 0.

GetZoomRangeFromItem(Object)

Gets ZoomRange value from the correspondent attachable property.

Declaration
public ZoomRange GetZoomRangeFromItem(object item)
Parameters
System.Object item

Item to get value from.

Returns
ZoomRange

Zoom range value or ZoomRange.Empty.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration
public override void OnApplyTemplate()

OnClustersInvalidated(EventArgs)

Called when the clusters are invalidated changes.

Declaration
protected virtual void OnClustersInvalidated(EventArgs e)
Parameters
System.EventArgs e

The event data.

OnDispose()

Called when the layer is being disposed.

Declaration
protected virtual void OnDispose()

OnMapChanged(RadMap, RadMap)

Called when map control is changed.

Declaration
protected void OnMapChanged(RadMap oldMap, RadMap newMap)
Parameters
RadMap oldMap

Old map control.

RadMap newMap

New map control.

OnSelectionChanged(SelectionChangedEventArgs)

Called when the selection changes.

Declaration
protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
System.Windows.Controls.SelectionChangedEventArgs e

The event data.

RefreshVirtualSource()

Clears items from the layer and re-requests items for regions in current location and zoom.

Declaration
public void RefreshVirtualSource()

ResetClusteringThreshold()

Reset clustering enabled threshold.

Declaration
public void ResetClusteringThreshold()

ResetItems(Boolean)

Reset all items on the layer.

Declaration
public void ResetItems(bool forceRefresh = false)
Parameters
System.Boolean forceRefresh

ReverseSelection(IEnumerable<Object>)

Reverse selection for the given items. Selected items will be unselected, not selected items will be selected.

Declaration
public void ReverseSelection(IEnumerable<object> itemsToProcess)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsToProcess

Items to reverse selection for.

ReverseSelection(Location)

Reverse selection for the items in the given location.

Declaration
public void ReverseSelection(Location location)
Parameters
Location location

Location to search items.

Select(IEnumerable<Object>, Boolean)

Select given items.

Declaration
public void Select(IEnumerable<object> itemsToSelect, bool clearSelection)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsToSelect

Items to select.

System.Boolean clearSelection

Indicates whether previously selected items should be unselected.

Select(Object, Boolean)

Select given item.

Declaration
public void Select(object item, bool clearSelection)
Parameters
System.Object item

Item to select.

System.Boolean clearSelection

Indicates whether previously selected items should be unselected.

Select(Location, Boolean)

Select items in the given location.

Declaration
public void Select(Location location, bool clearSelection)
Parameters
Location location

Location to select items.

System.Boolean clearSelection

Indicates whether previously selected items should be unselected.

Select(LocationRect, Boolean)

Select items in the given rectangle.

Declaration
public void Select(LocationRect selectionRect, bool clearSelection)
Parameters
LocationRect selectionRect

Rectangle to select items in.

System.Boolean clearSelection

Indicates whether previously selected items should be unselected.

SetClip(Size)

Set up clipping for layer.

Declaration
protected void SetClip(Size size)
Parameters
System.Windows.Size size

StartBackgroundThread()

Starts the background thread responsible for processing the items from the VirtualizationSource.

Declaration
protected virtual void StartBackgroundThread()

StopBackgroundThread()

Stops the background thread responsible for processing the items from the VirtualizationSource.

Declaration
protected virtual void StopBackgroundThread()

Unselect(IEnumerable<Object>)

Unselect given items.

Declaration
public void Unselect(IEnumerable<object> itemsToUnselect)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsToUnselect

Items to unselect.

Unselect(Object)

Unselect given item.

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

Item to unselect.

Unselect(Location)

Unselect items in the given location.

Declaration
public void Unselect(Location location)
Parameters
Location location

Location to unselect items.

Unselect(LocationRect)

Unselect items in the given rectangle.

Declaration
public void Unselect(LocationRect selectionRect)
Parameters
LocationRect selectionRect

Rectangle to unselect items in.

Events

ClustersInvalidated

Occurs when clusters are invalidated.

Declaration
public event EventHandler ClustersInvalidated
Event Type
System.EventHandler

MapShapeVisualizationCreated

Occurs when map shape visualization object is created. Can be used to attach event handlers.

Declaration
public event EventHandler<MapShapeOperationEventArgs> MapShapeVisualizationCreated
Event Type
System.EventHandler<MapShapeOperationEventArgs>

MapShapeVisualizationRemoved

Occurs when map shape visualization object is removed. Can be used to detach event handlers.

Declaration
public event EventHandler<MapShapeOperationEventArgs> MapShapeVisualizationRemoved
Event Type
System.EventHandler<MapShapeOperationEventArgs>

SelectionChanged

Occurs when the selection of a VisualizationLayer changes.

Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
System.Windows.Controls.SelectionChangedEventHandler

Explicit Interface Implementations

ILayer.MultiscaleImage_MotionFinished(Object, RoutedEventArgs)

Handle motion finished event on master multi-scale image. This method is designed for internal use.

Declaration
void ILayer.MultiscaleImage_MotionFinished(object sender, RoutedEventArgs e)
Parameters
System.Object sender

Sender.

System.Windows.RoutedEventArgs e

Event args.

Implements
ILayer.MultiscaleImage_MotionFinished(Object, RoutedEventArgs)

ILayer.MultiscaleImage_ViewportChanged(Object, RoutedEventArgs)

Handle viewport changed event on master multi-scale image. This method is designed for internal use.

Declaration
void ILayer.MultiscaleImage_ViewportChanged(object sender, RoutedEventArgs e)
Parameters
System.Object sender

Sender.

System.Windows.RoutedEventArgs e

Event args.

Implements
ILayer.MultiscaleImage_ViewportChanged(Object, RoutedEventArgs)

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.