DiagramLite Programmer's Guide
ZoomControl Class
Remarks See Also
 





ZoomControl lets users zoom and pan a target Diagram interactively.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public class ZoomControl : Control

Visual Basic  Copy Code

Public Class ZoomControl
    Inherits Control

 Remarks

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.

 Inheritance Hierarchy

System.Object
    System.Windows.DependencyObject
        System.Windows.UIElement
            System.Windows.FrameworkElement
                System.Windows.Controls.Control
                    MindFusion.Diagramming.ZoomControl

 See Also

ZoomControl Members
MindFusion.Diagramming Namespace