[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ZoomStatusBarElement

ZoomStatusBarElement Class

Represents the status bar element that displays the zoom level.

Inheritance
ZoomStatusBarElement
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(ZoomStatusBarElement.ZoomConverter))]
public class ZoomStatusBarElement : FpBaseStatusBarElement, IFpStatusBarElement, ISerializeSupport
<TypeConverter(GetType(ZoomStatusBarElement.ZoomConverter))>
Public Class ZoomStatusBarElement
    Inherits FpBaseStatusBarElement
    Implements IFpStatusBarElement, ISerializeSupport

Constructors

Name Description
ZoomStatusBarElement()

Instantiate a new ZoomStatusBarElement object.

ZoomStatusBarElement(bool, ElementAlign)

Instantiate a new ZoomStatusBarElement object.

Methods

Name Description
ActiveSheetChangeHandler(object, EventArgs)

Handles the active sheet changed event.

CalculateValue()

Calculate value of the element.

Dopaint(Graphics, Rectangle)

Paints element to the graphics object using the rectangle.

GetPreferedWidth()

Gets the preferred width of the element.

GetTextTip(Point)

Gets the element text tip.

OnAttachSpreadContext()

Calls this function when attaching the spread context to the element.

OnDetachSpreadContext()

Calls this function when detaching the spread context from the element.

OnMouseDown(MouseEventArgs)

Processes the mouse down event for the element.

OnMouseLeave(EventArgs)

Processes the mouse leave event for the element.

OnMouseMove(MouseEventArgs)

Processes the mouse move event for the element.

OnMouseUp(MouseEventArgs)

Processes the mouse up event for the element.

SheetViewEndInitHandler(object, EventArgs)

Sheet view end init handler

ZoomChanged(object, SheetViewPropertyChangeEventArgs)

Handles the zoom changed event.