MindFusion WinForms Programmer's Guide
ZoomControl Members
Constructors Properties Methods Events
 


ZoomControl lets users zoom and pan a target component 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 Properties

  Name Description

ActiveColor

Gets or sets the color used to render depressed buttons.

BorderColor

Gets or sets the color of ZoomControl elements' borders.

CornerRadius

Gets or sets the corner radius of rounded child elements.

Fill

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

InnerColor

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

LabelFill

Gets or sets the brush of the the label that shows the current zoom level.

MaxZoomFactor

The maximum zoom level allowed to set through this control.

MinZoomFactor

The minimum zoom level allowed to set through this control.

ScrollStep

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

ShadowColor

Gets or sets the shadow color.

ShowLabel

Gets or sets a value indicating whether the label that shows the current zoom level should be visible.

SnapToZoomStep

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

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

SetZoomFactor

Sets the current zoom level.

 Protected Methods

  Name Description

Dispose

Clean up any resources being used.

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnPaint

Control.OnPaint override.

 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.Common.WinForms Namespace