ASP.NET Pack Programmer's Guide
ZoomControl Members
Constructors Properties Methods
 


ZoomControl lets users zoom and pan a target web control, which implements the IZoomTarget interface.

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.

AutoPostBack

Gets or sets a value indicating whether a postback to the server automatically occurs when the value of the control changes.

BackColor

Gets or sets the background color of the control.

BorderColor

Gets or sets the color of ZoomControl elements' borders.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

ClientSideMode

Specifies the method used for handling user interaction and drawing on the client side.

CornerRadius

Gets or sets the corner radius of rounded child elements.

Fill

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

ImageGenLocation

URL to the ImageGen.ashx file, used to generate the barcode images. This property is rendered as a SRC attribute for the label's IMG element.

InnerColor

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

JQueryLocation

Gets or sets the URL to the JQuery script file.

MaxZoomFactor

The maximum zoom level allowed to set through this control.

MinZoomFactor

The minimum zoom level allowed to set through this control.

MsAjaxLocation

Gets or sets the URL to the Microsoft Ajax script file.

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

Target

Gets or sets the target control associated with this ZoomControl.

TargetId

Gets or sets the id of the target control associated with this ZoomControl.

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.

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

LoadPostData

IPostBackDataHandler.LoadPostData implementation.

RaisePostDataChangedEvent

IPostBackDataHandler.RaisePostDataChangedEvent implementation.

RenderBeginTag

WebControl.RenderBeginTag override.

 Protected Methods

  Name Description

OnInit

WebControl.OnInit override.

OnPreRender

WebControl.OnPreRender override.

RenderContents

WebControl.RenderContents override.

 See Also

ZoomControl Class
MindFusion.Common.WebForms Namespace