Name
VScrollBar
Synopsis
While most controls provide their own scrollbars (including
Form and UserControl objects)
sometimes the default behavior of these objects is inadequate. In
these circumstances, you may wish to manage your own scrollbars (the
shortened scrollbars at the bottom of an Excel tab-sheet for
example). This class, derived from the base
ScrollBar, provides a vertical bar. See the
HScrollBar class for its horizontal partner.
public class VScrollBar : ScrollBar { // Public Constructors public VScrollBar(); // Public Instance Properties public override RightToLeft RightToLeft{set; get; } // overrides Control // Protected Instance Properties protected override CreateParams CreateParams{get; } // overrides ScrollBar protected override Size DefaultSize{get; } // overrides Control }
Hierarchy
System.Object
→ System.MarshalByRefObject → System.ComponentModel.Component(System.ComponentModel.IComponen,
System.IDisposable)
→ Control(IOleContro,
IOleObject,
IOleInPlaceObject,
IOleInPlaceActiveObject,
IOleWindow, IViewObject,
IViewObject2, IPersist,
IPersistStreamInit,
IPersistPropertyBag,
IPersistStorage,
IQuickActivate,
System.ComponentModel.ISynchronizeInvoke,
IWin32Window)
→ ScrollBar → VScrollBar
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access