System.Windows.Forms.ScrollableControl Members

The members of System.Windows.Forms.ScrollableControl are listed below.

See Also: Inherited members from System.Windows.Forms.Control

Public Constructors

Initializes a new instance of the System.Windows.Forms.ScrollableControl class.

Protected Fields

const
ScrollStateAutoScrollingint (1).

Determines the value of the ScrollableControl.AutoScroll property.

const
ScrollStateFullDragint (16).

Determines whether the user has enabled full window drag.

const
ScrollStateHScrollVisibleint (2).

Determines whether the value of the ScrollableControl.HScroll property is set to true.

const
ScrollStateUserHasScrolledint (8).

Determines whether the user had scrolled through the System.Windows.Forms.ScrollableControl control.

const
ScrollStateVScrollVisibleint (4).

Determines whether the value of the ScrollableControl.VScroll property is set to true.

Public Properties

AutoScrollbool.

Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.

AutoScrollMarginSystem.Drawing.Size.

Gets or sets the size of the auto-scroll margin.

AutoScrollMinSizeSystem.Drawing.Size.

Gets or sets the minimum size of the auto-scroll.

AutoScrollPositionSystem.Drawing.Point.

Gets or sets the location of the auto-scroll position.

[read-only]
override
DisplayRectangleSystem.Drawing.Rectangle.

Gets the rectangle that represents the virtual display area of the control.

[read-only]
DockPaddingScrollableControl.DockPaddingEdges.

Gets the dock padding settings for all edges of the control.

[read-only]
HorizontalScrollHScrollProperties.

Gets the characteristics associated with the horizontal scroll bar.

[read-only]
VerticalScrollVScrollProperties.

Gets the characteristics associated with the vertical scroll bar.

Protected Properties

[read-only]
override
CreateParamsCreateParams. Documentation for this section has not yet been entered.
HScrollbool.

Gets or sets a value indicating whether the horizontal scroll bar is visible.

VScrollbool.

Gets or sets a value indicating whether the vertical scroll bar is visible.

Public Methods

ScrollControlIntoView(Control)

Scrolls the specified child control into view on an auto-scroll enabled control.

SetAutoScrollMargin(int, int)

Sets the size of the auto-scroll margins.

Protected Methods

AdjustFormScrollbars(bool)

Adjusts the scroll bars on the container based on the current control positions and the control currently selected.

GetScrollState(int) : bool

Determines whether the specified flag has been set.

override
OnLayout(LayoutEventArgs)
Documentation for this section has not yet been entered.
override
OnMouseWheel(MouseEventArgs)

Raises the Control.MouseWheel event.

override
OnPaddingChanged(EventArgs)

Raises the Control.PaddingChanged event.

override
OnPaintBackground(PaintEventArgs)

Paints the background of the control.

override
OnRightToLeftChanged(EventArgs)
Documentation for this section has not yet been entered.
OnScroll(ScrollEventArgs)

Raises the ScrollableControl.Scroll event.

override
OnVisibleChanged(EventArgs)
Documentation for this section has not yet been entered.
override
ScaleControl(System.Drawing.SizeF, BoundsSpecified)
Documentation for this section has not yet been entered.
override
ScaleCore(float, float)
Documentation for this section has not yet been entered.
ScrollToControl(Control) : System.Drawing.Point

Calculates the scroll offset to the specified child control.

SetDisplayRectLocation(int, int)

Positions the display window to the specified value.

SetScrollState(int, bool)

Sets the specified scroll state flag.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.

Public Events

Scroll

Occurs when the user or code scrolls through the client area.