Skip to main content
IScrollInfo Interface
 

Represents the main scrollable region inside a ScrollViewer control.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

Syntax
public interface IScrollInfo
public interface class IScrollInfo
type IScrollInfo = interface end
Public Interface IScrollInfo
Properties
NameDescription
System_CAPS_pubproperty

Gets or sets a value that indicates whether scrolling on the horizontal axis is possible.

System_CAPS_pubproperty

Gets or sets a value that indicates whether scrolling on the vertical axis is possible.

System_CAPS_pubproperty

Gets the vertical size of the extent.

System_CAPS_pubproperty

Gets the horizontal size of the extent.

System_CAPS_pubproperty

Gets the horizontal offset of the scrolled content.

System_CAPS_pubproperty

Gets or sets a ScrollViewer element that controls scrolling behavior.

System_CAPS_pubproperty

Gets the vertical offset of the scrolled content.

System_CAPS_pubproperty

Gets the vertical size of the viewport for this content.

System_CAPS_pubproperty

Gets the horizontal size of the viewport for this content.

Methods
NameDescription
System_CAPS_pubmethod LineDown

Scrolls down within content by one logical unit.

System_CAPS_pubmethod LineLeft

Scrolls left within content by one logical unit.

System_CAPS_pubmethod LineRight

Scrolls right within content by one logical unit.

System_CAPS_pubmethod LineUp

Scrolls up within content by one logical unit.

System_CAPS_pubmethod MakeVisible

Forces content to scroll until the coordinate space of a Visual object is visible.

System_CAPS_pubmethod MouseWheelDown

Scrolls down within content after a user clicks the wheel button on a mouse.

System_CAPS_pubmethod MouseWheelLeft

Scrolls left within content after a user clicks the wheel button on a mouse.

System_CAPS_pubmethod MouseWheelRight

Scrolls right within content after a user clicks the wheel button on a mouse.

System_CAPS_pubmethod MouseWheelUp

Scrolls up within content after a user clicks the wheel button on a mouse.

System_CAPS_pubmethod PageDown

Scrolls down within content by one page.

System_CAPS_pubmethod PageLeft

Scrolls left within content by one page.

System_CAPS_pubmethod PageRight

Scrolls right within content by one page.

System_CAPS_pubmethod PageUp

Scrolls up within content by one page.

System_CAPS_pubmethod SetHorizontalOffset

Sets the amount of horizontal offset.

System_CAPS_pubmethod SetVerticalOffset

Sets the amount of vertical offset.

Remarks

The IScrollInfo interface exposes access to methods that enable logical scrolling of child content as well as computing which child elements are visible. In addition, it defines properties used to define the scrollable region.

Logical scrolling enables scrolling to the next element in the logical tree. Physical scrolling, in contrast, scrolls content by a defined measurable increment in a specified direction. If you require physical scrolling instead of logical scrolling, wrap the host Panel element in a ScrollViewer and set the value of its property to false.

Version Information
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top