ZoomControl lets users zoom and pan a target Diagram or DiagramView interactively.
Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Common.Wpf
C# Copy Code |
---|
public class ZoomControl : Control |
Visual Basic Copy Code |
---|
Public Class ZoomControl |
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.
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
ZoomControl Members
MindFusion.UI.Wpf Namespace