HScrollBar Class
Represents a Windows Forms HScrollBar that can be added to a Microsoft Office Excel worksheet.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
System::MarshalByRefObject
System.ComponentModel::Component
System.Windows.Forms::Control
System.Windows.Forms::ScrollBar
System.Windows.Forms::HScrollBar
Microsoft.Office.Tools.Excel.Controls::HScrollBar
| Name | Description | |
|---|---|---|
![]() | AccessibilityObject | (Inherited from Control.) |
![]() | AccessibleDefaultActionDescription | (Inherited from Control.) |
![]() | AccessibleDescription | (Inherited from Control.) |
![]() | AccessibleName | (Inherited from Control.) |
![]() | AccessibleRole | (Inherited from Control.) |
![]() | AllowDrop | (Inherited from Control.) |
![]() | AltHTML | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Anchor | (Inherited from Control.) |
![]() | Application | Gets an Application object that represents the creator of the HScrollBar. |
![]() | AutoScrollOffset | (Inherited from Control.) |
![]() | BackColor | (Inherited from Control.) |
![]() | BackgroundImage | (Inherited from Control.) |
![]() | BackgroundImageLayout | (Inherited from Control.) |
![]() | BindingContext | (Inherited from Control.) |
![]() | Border | Gets a Border that represents the border of the HScrollBar. |
![]() | Bottom | Gets the distance, in points, between the bottom edge of the HScrollBar and the top edge of the worksheet. |
![]() | BottomRightCell | Gets a Range object that represents the cell that lies under the lower-right corner of the HScrollBar. |
![]() | Bounds | (Inherited from Control.) |
![]() | CanEnableIme | (Inherited from Control.) |
![]() | CanFocus | (Inherited from Control.) |
![]() | CanRaiseEvents | (Inherited from Control.) |
![]() | CanSelect | (Inherited from Control.) |
![]() | Capture | (Inherited from Control.) |
![]() | CausesValidation | (Inherited from Control.) |
![]() | ClientRectangle | (Inherited from Control.) |
![]() | ClientSize | (Inherited from Control.) |
![]() | CompanyName | (Inherited from Control.) |
![]() | Container | (Inherited from Component.) |
![]() | ContainsFocus | (Inherited from Control.) |
![]() | ContextMenu | (Inherited from Control.) |
![]() | ContextMenuStrip | (Inherited from Control.) |
![]() | Controls | (Inherited from Control.) |
![]() | Created | (Inherited from Control.) |
![]() | CreateParams | (Inherited from HScrollBar.) |
![]() | Creator | Gets a value that indicates the application in which the HScrollBar was created. |
![]() | Cursor | (Inherited from Control.) |
![]() | DataBindings | (Inherited from Control.) |
![]() | DefaultCursor | (Inherited from Control.) |
![]() | DefaultImeMode | (Inherited from ScrollBar.) |
![]() | DefaultMargin | (Inherited from ScrollBar.) |
![]() | DefaultMaximumSize | (Inherited from Control.) |
![]() | DefaultMinimumSize | (Inherited from Control.) |
![]() | DefaultPadding | (Inherited from Control.) |
![]() | DefaultSize | (Inherited from HScrollBar.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | DisplayRectangle | (Inherited from Control.) |
![]() | Disposing | (Inherited from Control.) |
![]() | Dock | (Inherited from Control.) |
![]() | DoubleBuffered | (Inherited from Control.) |
![]() | Enabled | (Inherited from Control.) |
![]() | Events | (Inherited from Component.) |
![]() | Focused | (Inherited from Control.) |
![]() | Font | (Inherited from Control.) |
![]() | FontHeight | (Inherited from Control.) |
![]() | ForeColor | (Inherited from Control.) |
![]() | Handle | (Inherited from Control.) |
![]() | HasChildren | (Inherited from Control.) |
![]() | Height | Gets or sets the height of the HScrollBar. |
![]() | ImeMode | (Inherited from Control.) |
![]() | ImeModeBase | (Inherited from Control.) |
![]() | Index | Gets the index number of the HScrollBar within the collection of OLEObjects on the sheet. |
![]() | Interior | Gets an Interior object that represents the interior of the HScrollBar. |
![]() | InvokeRequired | (Inherited from Control.) |
![]() | IsAccessible | (Inherited from Control.) |
![]() | IsDisposed | (Inherited from Control.) |
![]() | IsHandleCreated | (Inherited from Control.) |
![]() | IsMirrored | (Inherited from Control.) |
![]() | LargeChange | (Inherited from ScrollBar.) |
![]() | LayoutEngine | (Inherited from Control.) |
![]() | Left | Gets or sets the distance, in points, between the left edge of the HScrollBar and the left edge of the worksheet. |
![]() | Location | (Inherited from Control.) |
![]() | Locked | Gets or sets a value that indicates whether the HScrollBar can be modified at design time when the sheet is protected. |
![]() | Margin | (Inherited from Control.) |
![]() | Maximum | (Inherited from ScrollBar.) |
![]() | MaximumSize | (Inherited from Control.) |
![]() | Minimum | (Inherited from ScrollBar.) |
![]() | MinimumSize | (Inherited from Control.) |
![]() | Name | (Inherited from Control.) |
![]() | OLEType | Gets a value that represents the OLE object type. |
![]() | OnAction | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Padding | (Inherited from Control.) |
![]() | Parent | Gets the parent object for the HScrollBar. |
![]() | Placement | Gets or sets an object that indicates the way the HScrollBar is attached to the cells below it. |
![]() | PreferredSize | (Inherited from Control.) |
![]() | PrintObject | Gets or sets a value that indicates whether the HScrollBar is printed when the worksheet is printed. |
![]() | ProductName | (Inherited from Control.) |
![]() | ProductVersion | (Inherited from Control.) |
![]() | RecreatingHandle | (Inherited from Control.) |
![]() | Region | (Inherited from Control.) |
![]() | RenderRightToLeft | (Inherited from Control.) |
![]() | ResizeRedraw | (Inherited from Control.) |
![]() | Right | Gets the distance, in points, between the right edge of the HScrollBar and the left edge of the worksheet. |
![]() | RightToLeft | (Inherited from Control.) |
![]() | ScaleChildren | (Inherited from Control.) |
![]() | ShapeRange | Gets a Microsoft.Office.Interop.Excel::ShapeRange object that represents the HScrollBar. |
![]() | ShowFocusCues | (Inherited from Control.) |
![]() | ShowKeyboardCues | (Inherited from Control.) |
![]() | Site | (Inherited from Control.) |
![]() | Size | (Inherited from Control.) |
![]() | SmallChange | (Inherited from ScrollBar.) |
![]() | SourceName | Gets or sets the link source name of the HScrollBar. |
![]() | TabIndex | (Inherited from Control.) |
![]() | TabStop | (Inherited from ScrollBar.) |
![]() | Tag | (Inherited from Control.) |
![]() | Text | (Inherited from Control.) |
![]() | Top | Gets or sets the distance, in points, between the top edge of the HScrollBar and the top edge of the worksheet. |
![]() | TopLeftCell | Gets a Range object that represents the cell that lies under the upper-left corner of the HScrollBar. |
![]() | TopLevelControl | (Inherited from Control.) |
![]() | UseWaitCursor | (Inherited from Control.) |
![]() | Value | (Inherited from ScrollBar.) |
![]() | Visible | Gets or sets a value that represents whether the HScrollBar is visible. |
![]() | Width | Gets or sets the width of the HScrollBar in points. |
![]() | ZOrder | Gets the z-order position of the HScrollBar. |
| Name | Description | |
|---|---|---|
![]() ![]() | IDropTarget::OnDragDrop(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragEnter(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragLeave(EventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragOver(DragEventArgs^) | (Inherited from Control.) |
The Microsoft.Office.Tools.Excel.Controls::HScrollBar is different from a System.Windows.Forms::HScrollBar. The Microsoft.Office.Tools.Excel.Controls::HScrollBar has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Do not use the New constructor to create a new HScrollBar. Use the AddHScrollBar method to add a new HScrollBar to a worksheet.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






