[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpBaseStatusBarElement

FpBaseStatusBarElement Class

Represents the basis for all status bar elements.

Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public abstract class FpBaseStatusBarElement : IFpStatusBarElement, ISerializeSupport
Public MustInherit Class FpBaseStatusBarElement
    Implements IFpStatusBarElement, ISerializeSupport

Constructors

Name Description
FpBaseStatusBarElement()

Instantiate a FpBaseStatusBarElement object.

Fields

Name Description
align

Align setting of a status bar element.

bound

represent the rectangle bounding the eelements

visible

The visible state of a status bar element.

Properties

Name Description
Align

Gets or sets the element alignment in the status bar.

MenuText

Gets or sets the text of element in context menu.

Owner

Gets or sets the status bar that contains the element.

Text

Gets or sets the element name.

ValueText

Get value as string type

Visible

Gets or sets whether the element is visible.

Methods

Name Description
CalculateValue()

Calculate value of the element.

Deserialize(XmlNodeReader)

Loads the object from XML.

Dopaint(Graphics, Rectangle)

Paints the element.

FireOnChanged(string)

Fire event when the element is changed

GetPreferedWidth()

Returns the preferred width of the element.

GetTextTip(Point)

Returns the text tip when the mouse moves over the element.

OnAttachSpreadContext()

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

OnDetachSpreadContext()

Calls the function when detaching the spread context to the element.

OnMouseDown(MouseEventArgs)

Processes the mouse down event for the element.

OnMouseLeave(EventArgs)

Handles the mouse leave event for the element.

OnMouseMove(MouseEventArgs)

Handles the mouse move event for the element.

OnMouseUp(MouseEventArgs)

Raises the OnMouseUp event.

Serialize(XmlTextWriter)

Saves the object to XML.

SetBound(Rectangle)

Sets the element boundary.

Events

Name Description
OnChanged

Represents the event that fires when the element is changed.