Name
HScrollBar
Synopsis
While most controls provide their own scrollbars—including
Form and UserControl
objects—sometimes the default behavior of these objects is
inadequate. In those cases, 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 horizontal bar. See the VScrollBar
class for its vertical partner.
public class HScrollBar : ScrollBar { // Public Constructors public HScrollBar(); // 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 → HScrollBar
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