Search
ZoomControl Class
Remarks See Also
 





ZoomControl lets users zoom and pan a target Diagram or DiagramView interactively.

Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Common.Wpf

 Syntax

C#  Copy Code

public class ZoomControl : Control

Visual Basic  Copy Code

Public Class ZoomControl
    Inherits Control

 Remarks

The ZoomControl class lets user change interactively the current zoom level and scroll position of a Diagram or DiagramView. To set it up, add a ZoomControl to the window, place it anywhere over the target diagram, and set the control's Target property to that diagram or view. 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.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            MindFusion.UI.Wpf.ZoomControl

 See Also

ZoomControl Members
MindFusion.UI.Wpf Namespace