[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ZoomSliderStatusBarElement

ZoomSliderStatusBarElement Class

Represents the status bar element that displays the zoom slider with the zoom out and zoom in buttons.

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

Constructors

Name Description
ZoomSliderStatusBarElement()

Creates a new zoom slider.

ZoomSliderStatusBarElement(bool, ElementAlign)

Instantiate a new ZoomStatusBarElement object.

Methods

Name Description
ActiveSheetChangeHandler(object, EventArgs)

Handle active sheet changed event

CalculateValue()

Calculate value of the element.

Dopaint(Graphics, Rectangle)

Paints the element to the graphics object using the rectangle.

GetPreferedWidth()

Gets the preferred width of the element.

GetTextTip(Point)

Gets the text tip when the mouse moves over the zoom slider.

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)

Raises the OnMouseUp event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

SheetViewEndInitHandler(object, EventArgs)

Sheet view end init handler

ZoomChanged(object, SheetViewPropertyChangeEventArgs)

Handles the zoom changed event.