ZoomControl lets users zoom and pan a target Diagram interactively.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public class ZoomControl : Control |
Visual Basic
![]() |
---|
Public Class ZoomControl |
The ZoomControl class lets users change interactively the current zoom level and scroll position of a Diagram. To set it up, add a ZoomControl to the page, place it anywhere over the target diagram, and set the control's Target property to that diagram. Set the ZoomStep and ScrollStep properties to specify the amount added to view's zoom level or scroll position by ZoomControl's buttons. You can customize the control's appearance by setting properties such as Fill, Stroke, CornerRadius and TickPosition.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
MindFusion.Diagramming.ZoomControl