[]
        
(Showing Draft Content)

C1.WPF.Maps.C1MultiScaleImage

C1MultiScaleImage Class

This object enables users to open a multi-resolution image which can be zoomed in on and panned across.

Inheritance
C1MultiScaleImage
Namespace: C1.WPF.Maps
Assembly: C1.WPF.Maps.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Canvas))]
public class C1MultiScaleImage : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
C1MultiScaleImage()

Initializes a new instance of the C1MultiScaleImage class.

Fields

Name Description
ImageCacheModeProperty

Identifies the ImageCacheMode dependency property.

SourceProperty

Identifies the Source dependency property.

ViewportOriginProperty

Identifies the ViewportOrigin dependency property.

ViewportWidthProperty

Identifies the ViewportWidth dependency property.

Properties

Name Description
FadeInTiles

Gets or sets whether tiles fade in on load.

ImageCacheMode

Gets or sets which mode should be taken to cache the image.

IsDisposed

Gets whether this instance is disposed.

Source

Gets or sets the MultiScaleTileSource used to obtain the Uris of the tiles.

ViewportOrigin

Gets or sets the top-left corner of the area of the image to be displayed.

ViewportWidth

Gets or sets the width of the area of the image displayed.

Methods

Name Description
BeginUpdate()

Maintains performance while properties are set to the C1MultiScaleImage one at a time by preventing the control from updating until the EndUpdate() method is called.

Dispose()
Dispose(bool)
EndUpdate()

Resumes updating the C1MultiScaleImage after updates are suspended by the BeginUpdate() method.

Finalize()

Finalizes this instance of the C1MultiScaleImage class.

OnApplyTemplate()

Events

Name Description
TilesLoadProgress

Fires when the number of tiles that need to be loaded changes.