[]
A control that mimics the standard scrollbar with additional theming support.
public class C1ScrollBar : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Name | Description |
---|---|
C1ScrollBar(bool) | Initializes a new instance of a C1ScrollBar. |
Name | Description |
---|---|
LargeChange | Gets or sets a value to be added to or subtracted from the Value property when the scroll box is moved a large distance. |
Maximum | Gets or sets the upper limit of values of the scrollable range. |
Minimum | Gets or sets the lower limit of values of the scrollable range. |
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. |
SmoothTransitions | Gets or sets a value indicating whether moving from one state to another should be animated. |
Style | Gets the style object with constants, brushes, colors, and glyphs. |
UseSystemStyle | Gets or sets a boolean value indicating whether the scrollbar should be drawn using the system style. |
Value | Gets or sets a numeric value that represents the current position of the scroll box. |
VerticalScroll | Gets a boolean value indicating whether this is a vertical scrollbar. |
Name | Description |
---|---|
Dispose(bool) | Clean up any resources being used. |
GetScaledBounds(Rectangle, SizeF, BoundsSpecified) | Returns the bounds to use when the scrollbar is scaled by a specified amount. |
OnEnabledChanged(EventArgs) | Raises the EnabledChanged event. |
OnMouseDown(MouseEventArgs) | Raises the MouseDown event. |
OnMouseEnter(EventArgs) | Raises the MouseEnter event. |
OnMouseLeave(EventArgs) | Raises the MouseLeave event. |
OnMouseMove(MouseEventArgs) | Raises the MouseMove event. |
OnMouseUp(MouseEventArgs) | Raises the MouseUp event. |
OnPaint(PaintEventArgs) | Paints the scrollbar. |
OnRightToLeftChanged(EventArgs) | Raises the RightToLeftChanged event. |
OnScroll(ScrollEventArgs) | Raises the Scroll event. |
OnSizeChanged(EventArgs) | Handles the size of scrollbar is changed. |
OnValueChanged(EventArgs) | Raises the ValueChanged event. |
OnVisibleChanged(EventArgs) | Raises the VisibleChanged event. |
ResetThickness() | Resets the width or height of a C1ScrollBar to its default value. |
WndProc(ref Message) | Processes Windows messages. |
Name | Description |
---|---|
Scroll | Occurs when the scroll box has been moved by a mouse. |
ValueChanged | Occurs when the Value property is changed, either by a Scroll event or programmatically. |