Class CustomScrollBar
This class helps to render ScrollBar inside the MultiSelectionComboBox
Inheritance
System.Object
CustomScrollBar
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CustomScrollBar : Control
Constructors
CustomScrollBar()
To Initialize
Declaration
public CustomScrollBar()
Properties
DownHoverColor
Gets/Sets bottom scroller button
Declaration
public Color DownHoverColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
UpHoverColor
Gets/Sets upper scroller button hover color
Declaration
public Color UpHoverColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Methods
OnMouseDown(MouseEventArgs)
Mouse Down event
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.MouseEventArgs | e |
OnMouseLeave(EventArgs)
Mouse Leave event
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e |
OnMouseMove(MouseEventArgs)
Mouse Move event
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.MouseEventArgs | e |
OnMouseUp(MouseEventArgs)
Mouse Up event
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.MouseEventArgs | e |
OnPaint(PaintEventArgs)
Paint Event
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.PaintEventArgs | e |
OnSizeChanged(EventArgs)
Size changed event
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e |
processScrollDown()
To process scroll down function
Declaration
public void processScrollDown()
processScrollUp()
To process scroll up function
Declaration
public void processScrollUp()
Events
ScrollDown
Scroll Down event
Declaration
public event EventHandler ScrollDown
Event Type
| Type |
|---|
| System.EventHandler |
ScrollUp
Scroll Up event
Declaration
public event EventHandler ScrollUp
Event Type
| Type |
|---|
| System.EventHandler |