Search
ZoomControl Methods
 


 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