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

WPF counterpart for the Silverlight MultiScaleImage class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MultiScaleImage : Canvas

Inheritance: objectMultiScaleImage

Constructors

Initializes a new instance of the MultiScaleImage class.

C#
public MultiScaleImage()

Fields

Identifies the MotionFinished routed event.

C#
public static readonly RoutedEvent MotionFinishedEvent

Identifies the SpringAnimationsMode dependency property.

C#
public static readonly DependencyProperty SpringAnimationsModeProperty

UseSpringsProperty

DependencyProperty

Identifies the UseSprings dependency property.

C#
public static readonly DependencyProperty UseSpringsProperty

Identifies the ViewportChanged routed event.

C#
public static readonly RoutedEvent ViewportChangedEvent

ZoomProperty

DependencyProperty

Identifies the Zoom dependency property.

C#
public static readonly DependencyProperty ZoomProperty

Properties

Maximum tile downloaders count.

C#
public static int MaxDownloadersCount { get; set; }

Gets or sets the tile source.

C#
public MultiScaleTileSource Source { get; set; }

Gets or sets mode of animation.

C#
public SpringAnimationsMode SpringAnimationsMode { get; set; }

Gets or sets a value indicating whether spring animations should be used.

C#
public bool UseSprings { get; set; }

Gets or sets the viewport origin.

C#
public Point ViewportOrigin { get; set; }

Gets or sets the width of the viewport.

C#
public double ViewportWidth { get; set; }

Gets or sets the zoom.

C#
public double Zoom { get; set; }

Methods

Called to arrange and size the content.

C#
protected override Size ArrangeOverride(Size arrangeSize)
Parameters:arrangeSizeSize

The computed size that is used to arrange the content.

Returns:

Size

The calculated size.

Events

ImageOpenSucceeded

RoutedEventHandler

Occurs when opening of image succeeded.

C#
public event RoutedEventHandler ImageOpenSucceeded

MotionFinished

RoutedEventHandler

Occurs when zoom or pan animation ends.

C#
public event RoutedEventHandler MotionFinished

ViewportChanged

RoutedEventHandler

Occurs when the viewport is changed.

C#
public event RoutedEventHandler ViewportChanged