MindFusion.Wpf Pack Programmer's Guide
ZoomControl Members
Constructors Fields Properties Methods Events
 


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

The following tables list the members exposed by the ZoomControl type.

 Public Constructors

  Name Description

ZoomControl

Initializes a new instance of the ZoomControl class.

 Public Fields

  Name Description

AxisFillProperty

Identifies the AxisFill dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

FillProperty

Identifies the Fill dependency property.

GlassEffectVisibilityProperty

Identifies the GlassEffectVisibility dependency property.

GlowFillProperty

Identifies the GlowFill dependency property.

GlowStrokeProperty

Identifies the GlowStroke dependency property.

InnerStrokeProperty

Identifies the InnerStroke dependency property.

LabelFillProperty

Identifies the LabelFill dependency property.

LabelFormatProperty

Identifies the LabelFormat dependency property.

LabelTextProperty

Identifies the LabelText dependency property.

LabelVisibilityProperty

Identifies the LabelVisibility dependency property.

MaxZoomFactorProperty

Identifies the MaxZoomFactor dependency property.

MinZoomFactorProperty

Identifies the MinZoomFactor dependency property.

PanFillProperty

Identifies the PanFill dependency property.

PanGlowFillProperty

Identifies the PanGlowFill dependency property.

ScrollStepProperty

Identifies the ScrollStep dependency property.

SnapToZoomStepProperty

Identifies the SnapToZoomStep dependency property.

StrokeProperty

Identifies the Stroke dependency property.

TargetProperty

Identifies the Target dependency property.

TickPositionProperty

Identifies the TickPosition dependency property.

ZoomFactorProperty

Identifies the ZoomFactor dependency property.

ZoomStepProperty

Identifies the ZoomStep dependency property.

 Public Properties

  Name Description

AxisFill

Gets or sets the brush of ZoomControl axis.

CornerRadius

Gets or sets the corner radius of rounded child elements.

Fill

Gets or sets the brush used to fill the ZoomControl buttons.

GlassEffectVisibility

Sets wheather or not the Glass Effect will be visible.

GlowFill

Gets or sets the brush used to fill the ZoomControl buttons when mouse is over.

GlowStroke

Gets or sets the brush of ZoomControl buttons' borders when mouse is over.

InnerStroke

Gets or sets the brush of plus, minus and arrow icons.

LabelFill

Gets or sets the fill of the label.

LabelFormat

Gets or sets the zoom level label format.

LabelText

Gets or sets the content of the zoom level label.

LabelVisibility

Gets or sets the zoom factor label visibility.

MaxZoomFactor

The maximum zoom level allowed to set through this control.

MinZoomFactor

The minimum zoom level allowed to set through this control.

PanFill

Gets or sets the brush used to fill the ZoomControl depressed pan-buttons.

PanGlowFill

Gets or sets the brush used to fill the ZoomControl pan-buttons when mouse is over.

ScrollStep

Gets or sets the scroll offset added when users click the pan arrows.

SnapToZoomStep

Gets or sets whether the trackbar should snap to ZoomStep values when dragged.

Stroke

Gets or sets the brush of ZoomControl buttons' borders.

Target

Gets or sets the target view controlled by this ZoomControl.

TickPosition

Gets or sets the current tick position of the trackbar.

ZoomFactor

Gets or sets the current zoom level.

ZoomStep

Gets or sets the amount by which to change zoom level when + and - buttons are clicked.

 Public Methods

  Name Description

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

SetZoomFactor

Sets the current zoom level.

 Public Events

  Name Description

ScrollArrowClicked

Raised when a scroll arrow has been clicked.

ZoomFactorChanged

Raised when the zoom level changes.

 See Also

ZoomControl Class
MindFusion.UI.Wpf Namespace