Search
VScrollBar Members
Constructors Properties Methods Events
 


Represents a custom-drawn vertical scroll bar.

The following tables list the members exposed by the VScrollBar type.

 Public Constructors

  Name Description

VScrollBar

Initializes a new instance of the VScrollBar class.

 Public Properties

  Name Description

BackgroundBrush

Gets or sets the brush used to fill the scroll bar background. (Inherited from ScrollBar.)

BackgroundBrushDisabled

Gets or sets the brush used to fill the scroll bar background when the scroll bar is disabled. (Inherited from ScrollBar.)

BackgroundBrushDown

Gets or sets the brush used to fill the scroll bar background as indication when the user clicks in it. (Inherited from ScrollBar.)

ButtonBackgroundBrush

Gets or sets the brush used to fill the scroll bar buttons when they are in normal state. (Inherited from ScrollBar.)

ButtonBackgroundBrushDisabled

Gets or sets the brush used to fill scroll bar buttons when the scroll bar is disabled. (Inherited from ScrollBar.)

ButtonBackgroundBrushDown

Gets or sets the brush used to fill the scroll bar buttons when they are pressed. (Inherited from ScrollBar.)

ButtonBackgroundBrushOver

Gets or sets the brush used to fill the scroll bar buttons when they are pointed with the mouse. (Inherited from ScrollBar.)

ButtonBorderBrush

Gets or sets the brush used to draw the border of scroll bar buttons. (Inherited from ScrollBar.)

ButtonBorderBrushDisabled

Gets or sets the border brush used to draw the border of scroll bar buttons when the scroll bar is disabled. (Inherited from ScrollBar.)

ButtonBorderBrushDown

Gets or sets the brush used to draw the border of scroll bar buttons when they are pressed. (Inherited from ScrollBar.)

ButtonBorderBrushOver

Gets or sets the brush used to draw the border of scroll bar buttons when they are pointed with the mouse. (Inherited from ScrollBar.)

ButtonBorderThickness

Gets or sets the border thickness of the scroll bar buttons. (Inherited from ScrollBar.)

ButtonSize

Gets or sets the size of the buttons in the scroll bar. (Inherited from ScrollBar.)

Enabled

Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from ScrollBar.)

ForegroundBrush

Gets or sets the brush used to draw the content of scroll bar elements when they are in normal state. (Inherited from ScrollBar.)

ForegroundBrushDisabled

Gets or sets the brush used to draw the content of scroll bar elements when the scroll bar is disabled. (Inherited from ScrollBar.)

ForegroundBrushDown

Gets or sets the brush used to draw the content of scroll bar elements when they are pressed. (Inherited from ScrollBar.)

ForegroundBrushOver

Gets or sets the brush used to draw the content of scroll bar elements when they are pointed with the mouse. (Inherited from ScrollBar.)

Height

Gets or sets the height of the scrollbar. (Inherited from ScrollBar.)

IsHorizontal

Gets or sets a value indicating whether the scrollbar is horizontal. (Inherited from ScrollBar.)

IsVertical

Gets or sets a value indicating whether the scrollbar is vertical. (Inherited from ScrollBar.)

LargeChange

Gets or sets the value to be added to or subtracted from the Value property when the scroll box is moved a large distance. (Inherited from ScrollBar.)

Maximum

Gets or sets the upper limit of values of the scrollable range. (Inherited from ScrollBar.)

Minimum

Gets or sets the lower limit of values of the scrollable range. (Inherited from ScrollBar.)

SmallChange

Gets or sets the value to be added to or subtracted from the Value property when the scroll box is moved a small distance. (Inherited from ScrollBar.)

TabStop

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from ScrollBar.)

ThumbBackgroundBrush

Gets or sets the brush used to fill the scroll bar thumb when it is in normal state. (Inherited from ScrollBar.)

ThumbBackgroundBrushDisabled

Gets or sets the brush used to fill scroll bar thumb when the scroll bar is disabled. (Inherited from ScrollBar.)

ThumbBackgroundBrushDown

Gets or sets the brush used to fill the scroll bar thumb when it is pressed. (Inherited from ScrollBar.)

ThumbBackgroundBrushOver

Gets or sets the brush used to fill the scroll bar thumb when it is pointed with the mouse. (Inherited from ScrollBar.)

ThumbBorderBrush

Gets or sets the brush used to draw the border of scroll bar thumb. (Inherited from ScrollBar.)

ThumbBorderBrushDisabled

Gets or sets the border brush used to draw the border of scroll bar thumb when the scroll bar is disabled. (Inherited from ScrollBar.)

ThumbBorderBrushDown

Gets or sets the brush used to draw the border of scroll bar thumb when it is pressed. (Inherited from ScrollBar.)

ThumbBorderBrushOver

Gets or sets the brush used to draw the border of scroll bar thumb when it is pointed with the mouse. (Inherited from ScrollBar.)

ThumbBorderThickness

Gets or sets the border thickness of the scroll bar thumb. (Inherited from ScrollBar.)

Value

Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control. (Inherited from ScrollBar.)

Width

Gets or sets the width of the scrollbar. (Inherited from ScrollBar.)

 Protected Properties

  Name Description

DefaultSize

Gets the default size of the scroll bar.

 Protected Methods

  Name Description

Dispose

Control.Dispose override. (Inherited from ScrollBar.)

IsInputKey

Control.IsInputKey override. (Inherited from ScrollBar.)

OnDraw

Raises the ScrollBarDraw event. (Inherited from ScrollBar.)

OnGotFocus

Control.OnGotFocus override. (Inherited from ScrollBar.)

OnKeyDown

Control.OnKeyDown override. (Inherited from ScrollBar.)

OnKeyUp

Control.OnKeyUp override. (Inherited from ScrollBar.)

OnLostFocus

Control.OnLostFocus override. (Inherited from ScrollBar.)

OnMouseDown

Control.OnMouseDown override. (Inherited from ScrollBar.)

OnMouseEnter

Control.OnMouseEnter override. (Inherited from ScrollBar.)

OnMouseLeave

Control.OnMouseLeave override. (Inherited from ScrollBar.)

OnMouseMove

Control.OnMouseMove override. (Inherited from ScrollBar.)

OnMouseUp

Control.OnMouseUp override. (Inherited from ScrollBar.)

OnPaint

Control.OnPaint override. (Inherited from ScrollBar.)

OnResize

Control.OnResize override. (Inherited from ScrollBar.)

OnRightToLeftChanged

Control.OnRightToLeftChanged override. (Inherited from ScrollBar.)

OnScroll

Raises the Scroll event. (Inherited from ScrollBar.)

OnValueChanged

Raises the ValueChanged event. (Inherited from ScrollBar.)

 Public Events

  Name Description

Draw

Occurs when the scroll bar is being painted. (Inherited from ScrollBar.)

Scroll

Occurs when the scroll box has been moved by either a mouse or keyboard action. (Inherited from ScrollBar.)

ValueChanged

Occurs when the Value property has changed either interactively by the user or programatically. (Inherited from ScrollBar.)

 See Also