DekGenius.com
[ Team LiB ] Previous Section Next Section

HScrollBarmarshal by reference, disposable

System.Windows.Forms (system.windows.forms.dll)class

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

    [ Team LiB ] Previous Section Next Section