LEAD Technologies, Inc

Leadtools.Windows.Controls Assembly Changes

Version 17.5 changes

Version 17 changes

Version 16.5 changes

Leadtools.Windows.Controls Assembly Changes from Version 17 to Version 17.5

New Types

The following new types have been added to LEADTOOLS For .NET v17.5:

Type Description
Leadtools.Windows.Printing.PrintPageEventArgs Provides printing data.
Leadtools.Windows.Printing.PrinterHelper Supports printing for images inside a Leadtools.Windows.Controls.ImageBox, Leadtools.Windows.Controls.RasterImageBox, Leadtools.Windows.Controls.ImageViewer or Leadtools.Windows.Controls.RasterImageViewer controls.

Removed Members

The following members have been added removed from existing types in LEADTOOLS For .NET v17.5:

Member Description
Leadtools.Windows.Controls.ImageViewer.InteractiveModeUseClientCordinates Obsolete functionality removed


Leadtools.Windows.Controls Assembly Changes from Version 16.5 to Version 17

In LEADTOOLS v17, Leadtools.Windows.Controls.Pro is removed and its features have been merged in Leadtools.Windows.Controls. Also, the various controls have been re-designed to offer support for the latest features in Windows Presentation Foundation and Silverlight. Almost identical versions of the Leadtools.Windows.Controls assembly exist for both WPF and Silverlight to allow you to easily port and maintain versions of your applications on both platforms.

Updated Types

The following types have been updated in LEADTOOLS For .NET v17:

The Leadtools.Windows.Controls.BitmapSourceViewer control has been deprecated and you should use the new Leadtools.Windows.Controls.ImageViewer (or Leadtools.Windows.Controls.RasterImageViewer) controls.

The following table lists the methods and properties that have not changed between BitmapSourceViewer and ImageViewer:

Public Fields Description
Leadtools.Windows.Controls.ImageViewer.GeometryProperty Identifies the Leadtools.Windows.Controls.ImageViewer.Geometry dependency property.
Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignmentProperty Identifies the Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignment dependency property.
Leadtools.Windows.Controls.ImageViewer.ImageVerticalAlignmentProperty Identifies the Leadtools.Windows.Controls.ImageViewer.ImageVerticalAlignment dependency property.
Leadtools.Windows.Controls.ImageViewer.InteractiveModeProperty Identifies the Leadtools.Windows.Controls.ImageViewer.InteractiveMode dependency property.
Leadtools.Windows.Controls.ImageViewer.ScaleFactorProperty Identifies the Leadtools.Windows.Controls.ImageViewer.ScaleFactor dependency property.
Leadtools.Windows.Controls.ImageViewer.SizeModeProperty Identifies the Leadtools.Windows.Controls.ImageViewer.SizeMode dependency property.
Leadtools.Windows.Controls.ImageViewer.SourceProperty Identifies the Leadtools.Windows.Controls.ImageViewer.Source dependency property.
Leadtools.Windows.Controls.ImageViewer.UseDpiProperty Identifies the Leadtools.Windows.Controls.ImageViewer.UseDpi dependency property.
Public properties Description
Leadtools.Windows.Controls.ImageViewer.Geometry Gets or sets the geometry object to frame or animate on top of this Leadtools.Windows.Controls.ImageViewer or Leadtools.Windows.Controls.RasterImageViewer control.
Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignment Gets or sets a value that indicates the horizontal alignment for the image in this control.
Leadtools.Windows.Controls.ImageViewer.ImageVerticalAlignment Gets or sets a value that indicates the vertical alignment for the image in this control.
Leadtools.Windows.Controls.ImageViewer.InteractiveMode Gets or sets a value that indicates the current user interaction mode with the control's display.
Leadtools.Windows.Controls.ImageViewer.IsInteractiveModeBusy Determines if the control is currently performing an interactive operation.
Leadtools.Windows.Controls.ImageViewer.MagnifyGlass Gets or sets the Leadtools.Windows.Controls.MagnifyGlass object used to perform magnify glass operations for this control.
Leadtools.Windows.Controls.ImageViewer.ScaleFactor Gets or sets the zoom factor used to display the image.
Leadtools.Windows.Controls.ImageViewer.SizeMode Gets or sets a value that determine how the control displays the image and the automatic adjustments of the display.
Leadtools.Windows.Controls.ImageViewer.Source ts or sets the System.Windows.Media.ImageSource to be displayed in this control.
Leadtools.Windows.Controls.ImageViewer.UseDpi Gets or sets a value that indicates whether the control must account for the physical resolution of the image when calculating the display properties.

Public Methods

Description

Leadtools.Windows.Controls.ImageViewer.CenterAtPoint(System.Windows.Point)

Centers the image display at the specified point.

Leadtools.Windows.Controls.ImageViewer.OnApplyTemplate

Builds the visual tree of the control.
Leadtools.Windows.Controls.ImageViewer.ZoomToRectangle(System.Windows.Rect) Zooms the image to the specified rectangle.
Protected Methods Description
Leadtools.Windows.Controls.ImageViewer.OnGeometryChanged Raises the Leadtools.Windows.Controls.ImageViewer.GeometryChanged event.
Leadtools.Windows.Controls.ImageViewer.OnImageHorizontalAlignmentChanged Raises the Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignmentChanged event.
Leadtools.Windows.Controls.ImageViewer.OnImageVerticalAlignmentChanged Raises the Leadtools.Windows.Controls.ImageViewer.ImageVerticalAlignmentChanged event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveCenterAt Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveCenterAt event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveMagnifyGlass Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveMagnifyGlass event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveModeChanged Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveModeChanged event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveModeEnded Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveModeEnded event.
Leadtools.Windows.Controls.ImageViewer.OnInteractivePan Raises the Leadtools.Windows.Controls.ImageViewer.InteractivePan event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveScale Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveScale event.
Leadtools.Windows.Controls.ImageViewer.OnInteractiveZoomTo Raises the Leadtools.Windows.Controls.ImageViewer.InteractiveZoomTo event.
Leadtools.Windows.Controls.ImageViewer.OnLostFocus Overrides System.Windows.UIElement.OnLostFocus(System.Windows.RoutedEventArgs).
Leadtools.Windows.Controls.ImageViewer.OnScaleFactorChanged Raises the Leadtools.Windows.Controls.ImageViewer.ScaleFactorChanged event.
Leadtools.Windows.Controls.ImageViewer.OnSizeModeChanged Raises the Leadtools.Windows.Controls.ImageViewer.SizeModeChanged event.
Leadtools.Windows.Controls.ImageViewer.OnSourceChanged Raises the Leadtools.Windows.Controls.ImageViewer.SourceChanged event.
Leadtools.Windows.Controls.ImageViewer.OnUseDpiChanged Raises the Leadtools.Windows.Controls.ImageViewer.UseDpiChanged event.
Public Events Description
Leadtools.Windows.Controls.ImageViewer.GeometryChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.Geometry property changes.
Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignmentChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.ImageHorizontalAlignment property changes.
Leadtools.Windows.Controls.ImageViewer.ImageSizeChanged Occurs when the control size changes.
Leadtools.Windows.Controls.ImageViewer.ImageSizeChanged Occurs when the value of the ImageViewer.ImageVerticalAlignment property changes.
Leadtools.Windows.Controls.ImageViewer.InteractiveCenterAt Occurs when the user performs interactive centering of the image display.
Leadtools.Windows.Controls.ImageViewer.InteractiveMagnifyGlass Occurs when the user is using the Leadtools.Windows.Controls.MagnifyGlass on this control.
Leadtools.Windows.Controls.ImageViewer.InteractiveModeChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.InteractiveMode property changes.
Leadtools.Windows.Controls.ImageViewer.InteractiveModeEnded Occurs when the operation of the current Leadtools.Windows.Controls.ImageViewer.InteractiveMode ended successfully.
Leadtools.Windows.Controls.ImageViewer.InteractivePan Occurs when the user performs interactive panning of the image display.
Leadtools.Windows.Controls.ImageViewer.InteractiveScale Occurs when the user performs interactive scaling of the image display.
Leadtools.Windows.Controls.ImageViewer.InteractiveZoomTo Occurs when the user performs interactive zoom to rectangle of the image display.
Leadtools.Windows.Controls.ImageViewer.ScaleFactorChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.ScaleFactor property changes.
Leadtools.Windows.Controls.ImageViewer.ScrollChanged Occurs when changes are detected to the scrollbars position, extent, viewport size or visibility of the control.
Leadtools.Windows.Controls.ImageViewer.SizeModeChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.SizeMode property changes.
Leadtools.Windows.Controls.ImageViewer.SourceChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.Source property changes.
Leadtools.Windows.Controls.ImageViewer.UseDpiChanged Occurs when the value of the Leadtools.Windows.Controls.ImageViewer.UseDpi property changes.

The following table lists the properties and methods of BitmapSourceViewer and their equivalent in ImageViewer

BitmapSourceViewer Class

ImageViewer Class

Public Fields
AnimateGeometryChangedEvent N/A
AnimateGeometryProperty Geometry
BitmapEffectBehaviorProperty BitmapEffect
FrameBackgroundChangedEvent N/A
FrameBackgroundProperty N/A
FrameChangedEvent N/A
FrameGeometryChangedEvent GeometryFrameTypeChanged
FrameGeometryProperty GeometryFrameType
FrameProperty N/A
FrameShadowBackgroundChangedEvent N/A
FrameShadowBackgroundProperty N/A
FrameShadowChangedEvent N/A
FrameShadowProperty N/A
GeometryChangedEvent GeometryChanged
ImageHorizontalAlignmentChangedEvent ImageHorizontalAlignmentChanged
ImageSizeChangedEvent ImageSizeChanged
ImageVerticalAlignmentChangedEvent ImageVerticalAlignmentChanged
InteractiveCenterAtEvent InteractiveCenterAt
InteractiveGeometryEvent N/A
InteractiveGeometryTypeChangedEvent N/A
InteractiveGeometryTypeProperty N/A
InteractiveMagnifyGlassEvent InteractiveMagnifyGlass
InteractiveModeChangedEvent InteractiveModeChanged
InteractiveModeEndedEvent InteractiveModeEnded
InteractivePanEvent InteractivePan
InteractiveScaleEvent InteractiveScale
InteractiveZoomToEvent InteractiveZoomTo
IsInteractiveModeBusyProperty IsInteractiveModeBusy
MagnifyGlassChangedEvent Leadtools.Windows.Controls.ImageViewer.InteractiveMagnifyGlassInteractiveMagnifyGlass
MagnifyGlassProperty MagnifyGlass
ScaleFactorChangedEvent ScaleFactorChanged
ScrollChangedEvent ScrollChanged
SizeModeChangedEvent SizeModeChanged
SourceChangedEvent SourceChanged
UseDpiChangedEvent UseDpiChanged
Public properties
AnimateGeometry Geometry
BitmapEffectBehavior BitmapEffect
Frame N/A
FrameBackground Background
FrameGeometry Geometry
FrameShadow N/A
FrameShadowBackground N/A
HorizontalScaleFactor HorizontalAlignment
InteractiveGeometryType GeometryProperty
PhysicalViewRectangle PhysicalSize
Protected Properties
DefaultStyleKey N/A
HandlesScrolling N/A
InheritanceBehavior N/A
LogicalChildren N/A
Public Methods
Equals N/A
GetHashCode N/A
Protected Methods
AddLogicalChild N/A
GetTemplateChild Template
GetUIParentCore TemplatedParent
OnAnimateGeometryChanged OnGeometryChanged
OnFrameBackgroundChanged OnGeometryFrameTypeChanged
OnFrameChanged N/A
OnFrameGeometryChanged N/A
OnFrameShadowBackgroundChanged N/A
OnFrameShadowChanged N/A
OnInteractiveGeometry N/A
OnInteractiveGeometryTypeChanged N/A
OnMagnifyGlassChanged OnInteractiveMagnifyGlass
OnRenderSizeChanged N/A
OnStyleChanged N/A
OnVisualChildrenChanged N/A
OnVisualParentChanged N/A
ParentLayoutInvalidated N/A
RemoveLogicalChild N/A
ShouldSerializeProperty N/A
Public Events
AnimateGeometryChanged GeometryChanged
FrameBackgroundChanged N/A
FrameChanged N/A
FrameGeometryChanged GeometryChanged
FrameShadowBackgroundChanged N/A
FrameShadowChanged N/A
InheritanceContextChanged N/A
InteractiveGeometry N/A
InteractiveGeometryTypeChanged GeometryFrameTypeChanged
MagnifyGlassChanged N/A
ResourcesChanged N/A

New Types

The following new types have been added to LEADTOOLS For .NET v17:

Type Description
ImageBox

Light-weight version of Leadtools.Windows.Controls.ImageViewer which is perfect for viewing WPF or Silverlight images (System.Windows.Media.ImageSource) without the scrollbars or interactive modes.

RasterImageBox

Light-weight version of Leadtools.Windows.Controls.RasterImageViewer which is perfect for viewing LEADTOOLS images (Leadtools.RasterImage) without the scrollbars or interactive modes.

MagnifyGlass

New version of the magnify glass that uses WPF/Silverlight pixels shaders for speed optimization.

New Members

The following new members have been added to existing types in LEADTOOLS For .NET v17:

Member Description
Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesProperty

Identifies the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages dependency property.

Leadtools.Windows.Controls.RasterImageListItem.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageListItem.

Leadtools.Windows.Controls.RasterImageBox.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageBox.

Leadtools.Windows.Controls.ImageList.AutoDisposeImagesProperty

Identifies the Leadtools.Windows.Controls.ImageList.AutoDisposeImages dependency property.

Leadtools.Windows.Controls.ImageList.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.ImageList.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageViewer.OnApplyTemplate

Builds the visual tree of the control.

Leadtools.Windows.Controls.RasterImageViewer.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageViewer.


Leadtools.Windows.Controls Assembly Changes from Version 16 to Version 16.5

New Members

The following members have been added to existing types in v16.5:

Member Description
Leadtools.Windows.Controls.ImageList.EnableRubberBandSelectionProperty

Enables or disables rubber band selection in the Leadtools.Windows.Controls.ImageList. This is a dependency property.

Leadtools.Windows.Controls.ImageList.RubberBandFill

Gets or sets the rubber band brush. This is a dependency property.

Leadtools.Windows.Controls.ImageList.OnApplyTemplate

This member overrides FrameWorkElement.OnApplyTemplate.

Leadtools.Windows.Controls.ImageList.EnableRubberBandSelectionProperty

Enables or disables rubber band selection in the Leadtools.Windows.Controls.ImageList. This is a dependency property.

Leadtools.Windows.Controls.ImageList.RubberBandFillProperty

Gets or sets the rubber band brush. This is a dependency property.

Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesProperty

Identifies the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages dependency property.

Leadtools.Windows.Controls.RasterImageListItem.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageListItem.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageListItem.

Leadtools.Windows.Controls.RasterImageBox.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageBox.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageBox.

Leadtools.Windows.Controls.ImageList.AutoDisposeImagesProperty

Identifies the Leadtools.Windows.Controls.ImageList.AutoDisposeImages dependency property.

Leadtools.Windows.Controls.ImageList.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.ImageList.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageViewer.OnApplyTemplate

Builds the visual tree of the control.

Leadtools.Windows.Controls.RasterImageViewer.OnAutoDisposeImagesChanged

Raises the Leadtools.Windows.Controls.ImageList.AutoDisposeImagesChanged event.

Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImagesChanged

Occurs when the value of the Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImages property changes.

Leadtools.Windows.Controls.RasterImageViewer.AutoDisposeImages

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this Leadtools.Windows.Controls.RasterImageViewer.

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.