[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpScrollBar

FpScrollBar Class

Represents the Spread scroll bar.

Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(_pf))]
public abstract class FpScrollBar : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISerializeSupport, ISerializable, IDeserializationCallback
<TypeConverter(GetType(_pf))>
Public MustInherit Class FpScrollBar
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISerializeSupport, ISerializable, IDeserializationCallback

Constructors

Name Description
FpScrollBar()

Initializes the FpScrollBar class.

FpScrollBar(SerializationInfo, StreamingContext)

Creates a new Spread scroll bar from serialization.

Properties

Name Description
Buttons

Gets or sets the Spread scroll bar buttons collection.

ContextMenuStrip

Gets or sets the shortcut menu associated with the control.

CreateParams

Gets the required creation parameters when the control handle is created.

DefaultImeMode

Gets the default Input Method Editor (IME) mode supported by the control.

DefaultMargin

Gets the space between controls, in pixels, that is specified by default.

Renderer

Get or sets the scroll bar renderer that draws the skin of the scroll bar.

ScrollBarShowMax

Gets the value of ScrollbarShowMax. If the parent control is Spread; return parent.ScrollBarShowMax, else return true.

Size

Gets or sets the size of the control.

Methods

Name Description
CreateAccessibilityInstance()

Creates a new accessibility object for the control.

Deserialize(XmlNodeReader)

Loads the object from XML.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

IsInputKey(Keys)

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

OnButtonClick(object, FpScrollBarButtonClickEventArgs)

Called when clicking the scroll bar button.

OnDeserialization(object)

Runs when the entire object graph has been deserialized.

OnEnabledChanged(EventArgs)

Raises the EnabledChanged event.

OnHandleCreated(EventArgs)

Raises the HandleCreated event.

OnMouseCaptureChanged(EventArgs)
OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseEnter(EventArgs)
OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnMouseMove(MouseEventArgs)

Raises the MouseHover event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

OnScroll(ScrollEventArgs)

Raises the Scroll event.

OnSizeChanged(EventArgs)

Raises the SizeChanged event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

Serialize(XmlTextWriter)

Saves the object to XML.

WndProc(ref Message)

Processes Windows messages.

Events

Name Description
ButtonClick

Occurs when a button of the scroll bar is clicked.

Scroll

Occurs when the scroll bar is scrolling.

ValueChanged

Occurs when the value of the scroll bar is changed.