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
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.