MarkerVerticalScrollBar
A custom Vertical scrollbar control that renders markers on it.
public class MarkerVerticalScrollBar : VerticalScrollBar
Inherits from / implements: VerticalScrollBar
Members at a glance
MarkerVerticalScrollBar | Initializes a new instance of the MarkerVerticalScrollBar class. |
ScrollBarMarks | Gets or sets the scroll bar marks. |
ShouldDisplayToolTipInfoOnBookmark | Gets or sets a value indicating whether the control should display tool tip information on bookmark. |
ShouldEnableMarkerDrawing | Gets or sets a value indicating whether the control should enable marker drawing. |
ShouldScrollUponBookmarkClick | Gets or sets a value indicating whether the control should scroll upon bookmark click. |
OnMouseDown | Raises the MouseDown event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseHover | Raises the MouseHover event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseMove | Raises the MouseMove event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseUp | Raises the MouseUp event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
PaintScrollBar | Draws the scroll bar and then the markers over its track, which is what this variant adds to the plain bar. |
Constructors
MarkerVerticalScrollBar
Initializes a new instance of the MarkerVerticalScrollBar class.
Properties
ScrollBarMarks
Gets or sets the scroll bar marks.
Value. The scroll bar marks.
ShouldDisplayToolTipInfoOnBookmark
Gets or sets a value indicating whether the control should display tool tip information on bookmark.
ShouldEnableMarkerDrawing
Gets or sets a value indicating whether the control should enable marker drawing.
ShouldScrollUponBookmarkClick
Gets or sets a value indicating whether the control should scroll upon bookmark click.
Methods
OnMouseDown
Raises the MouseDown event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseHover
Raises the MouseHover event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseMove
Raises the MouseMove event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseUp
Raises the MouseUp event. MarkerVerticalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
PaintScrollBar
Draws the scroll bar and then the markers over its track, which is what this variant adds to the plain bar.
- g
- The surface to draw on.