Search
ZoomControl Members
Constructors Properties Methods
 


ZoomControl lets users zoom and pan a target DiagramView interactively.

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

 Public Constructors

  Name Description

ZoomControl

Overloaded.  

 Public Properties

  Name Description

ActiveColor

Gets or sets the color used to render depressed buttons.

AddScriptReferences

Gets or sets a value indicating whether the control should render references to the client scripts.

BackColor

Gets or sets the background color of the control.

BorderColor

Gets or sets the color of ZoomControl elements' borders.

ClientScriptLocation

Gets or sets the URL to the MindFusion.Diagramming.js file.

CornerRadius

Gets or sets the corner radius of rounded child elements.

Enabled

Gets or sets a value indicating whether handling of mouse events is enabled.

Fill

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

Height

Gets or sets the height of the control.

Id

Gets or sets the id of the view.

InnerColor

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

MaxZoomFactor

The maximum zoom level allowed to set through this control.

MinZoomFactor

The minimum zoom level allowed to set through this control.

Padding

Gets or sets the padding of the control's contents.

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 a value indicating whether the trackbar should snap to ZoomStep values when dragged.

TargetId

Gets or sets the id of the target view.

TextColor

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

TickPosition

Gets or sets the current tick position of the trackbar.

Width

Gets or sets the width of the control.

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

FromJson

Overloaded.  

FromRequest

Overloaded.  

Init

Renders the ZoomControl's initializing scripts on a web page under the specified function name.

LoadFromJson

Loads the specified JSON data.

Render

Renders the ZoomControl on a web page.

SaveToJson

Serializes the ZoomControl's data to JSON.

SetActiveColor

Sets the color used to render depressed buttons.

SetAddScriptReferences

Sets a value indicating whether the control should render references to the client scripts.

SetBackColor

Sets the background color of the control.

SetBorderColor

Sets the color of ZoomControl elements' borders.

SetCornerRadius

Sets the corner radius of rounded child elements.

SetEnabled

Sets a value indicating whether handling of mouse events is enabled.

SetFill

Sets the brush used to fill the ZoomControl elements.

SetHeight

Sets the height of the view.

SetInnerColor

Sets the color of plus, minus and arrow icons.

SetMaxZoomFactor

Sets the maximum zoom level allowed to set through this control.

SetMinZoomFactor

Sets the minimum zoom level allowed to set through this control.

SetPadding

Sets the padding of the control's contents.

SetScrollStep

Sets the scroll offset added when users click the pan arrows.

SetShadowColor

Sets the shadow color.

SetShowLabel

Sets a value indicating whether the label that shows the current zoom level should be visible.

SetSnapToZoomStep

Sets a value indicating whether the trackbar should snap to ZoomStep values when dragged.

SetTargetId

Sets the id of the target view.

SetTextColor

Sets the brush of the the label that shows the current zoom level.

SetTickPosition

Sets the current tick position of the trackbar.

SetWidth

Sets the width of the view.

SetZoomFactor

Sets the id of the target view.

SetZoomStep

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

ToJson

Serializes the ZoomControl's data to JSON.

 See Also