MultiScaleImage
WPF counterpart for the Silverlight MultiScaleImage class.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MultiScaleImage : Canvas
Inheritance: objectMultiScaleImage
Constructors
Initializes a new instance of the MultiScaleImage class.
public MultiScaleImage()
Fields
MotionFinishedEvent
RoutedEvent
Identifies the MotionFinished routed event.
public static readonly RoutedEvent MotionFinishedEvent
SpringAnimationsModeProperty
DependencyProperty
Identifies the SpringAnimationsMode dependency property.
public static readonly DependencyProperty SpringAnimationsModeProperty
UseSpringsProperty
DependencyProperty
Identifies the UseSprings dependency property.
public static readonly DependencyProperty UseSpringsProperty
ViewportChangedEvent
RoutedEvent
Identifies the ViewportChanged routed event.
public static readonly RoutedEvent ViewportChangedEvent
ZoomProperty
DependencyProperty
Identifies the Zoom dependency property.
public static readonly DependencyProperty ZoomProperty
Properties
Maximum tile downloaders count.
public static int MaxDownloadersCount { get; set; }
Gets or sets the tile source.
public MultiScaleTileSource Source { get; set; }
Gets or sets mode of animation.
public SpringAnimationsMode SpringAnimationsMode { get; set; }
Gets or sets a value indicating whether spring animations should be used.
public bool UseSprings { get; set; }
ViewportOrigin
Point
Gets or sets the viewport origin.
public Point ViewportOrigin { get; set; }
Gets or sets the width of the viewport.
public double ViewportWidth { get; set; }
Methods
Called to arrange and size the content.
protected override Size ArrangeOverride(Size arrangeSize)
The computed size that is used to arrange the content.
Returns:Size
The calculated size.
Events
ImageOpenSucceeded
RoutedEventHandler
Occurs when opening of image succeeded.
public event RoutedEventHandler ImageOpenSucceeded
MotionFinished
RoutedEventHandler
Occurs when zoom or pan animation ends.
public event RoutedEventHandler MotionFinished
ViewportChanged
RoutedEventHandler
Occurs when the viewport is changed.
public event RoutedEventHandler ViewportChanged