MarkerHorizontalScrollBar
A custom Horizontal scrollbar control that renders markers on it.
public class MarkerHorizontalScrollBar : HorizontalScrollBar
Inherits from / implements: HorizontalScrollBar
Members at a glance
MarkerHorizontalScrollBar | Initializes a new instance of the MarkerHorizontalScrollBar 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. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseHover | Raises the MouseHover event. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseMove | Raises the MouseMove event. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior. |
OnMouseUp | Raises the MouseUp event. MarkerHorizontalScrollBar 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
MarkerHorizontalScrollBar
Initializes a new instance of the MarkerHorizontalScrollBar 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. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseHover
Raises the MouseHover event. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseMove
Raises the MouseMove event. MarkerHorizontalScrollBar overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseUp
Raises the MouseUp event. MarkerHorizontalScrollBar 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.