IScrollInfo Interface
TOC
Collapse the table of content
Expand the table of content

IScrollInfo Interface

 

Represents the main scrollable region inside a ScrollViewer control.

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

public interface IScrollInfo

NameDescription
System_CAPS_pubpropertyCanHorizontallyScroll

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

System_CAPS_pubpropertyCanVerticallyScroll

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

System_CAPS_pubpropertyExtentHeight

Gets the vertical size of the extent.

System_CAPS_pubpropertyExtentWidth

Gets the horizontal size of the extent.

System_CAPS_pubpropertyHorizontalOffset

Gets the horizontal offset of the scrolled content.

System_CAPS_pubpropertyScrollOwner

Gets or sets a ScrollViewer element that controls scrolling behavior.

System_CAPS_pubpropertyVerticalOffset

Gets the vertical offset of the scrolled content.

System_CAPS_pubpropertyViewportHeight

Gets the vertical size of the viewport for this content.

System_CAPS_pubpropertyViewportWidth

Gets the horizontal size of the viewport for this content.

NameDescription
System_CAPS_pubmethodLineDown()

Scrolls down within content by one logical unit.

System_CAPS_pubmethodLineLeft()

Scrolls left within content by one logical unit.

System_CAPS_pubmethodLineRight()

Scrolls right within content by one logical unit.

System_CAPS_pubmethodLineUp()

Scrolls up within content by one logical unit.

System_CAPS_pubmethodMakeVisible(Visual, Rect)

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

System_CAPS_pubmethodMouseWheelDown()

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

System_CAPS_pubmethodMouseWheelLeft()

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

System_CAPS_pubmethodMouseWheelRight()

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

System_CAPS_pubmethodMouseWheelUp()

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

System_CAPS_pubmethodPageDown()

Scrolls down within content by one page.

System_CAPS_pubmethodPageLeft()

Scrolls left within content by one page.

System_CAPS_pubmethodPageRight()

Scrolls right within content by one page.

System_CAPS_pubmethodPageUp()

Scrolls up within content by one page.

System_CAPS_pubmethodSetHorizontalOffset(Double)

Sets the amount of horizontal offset.

System_CAPS_pubmethodSetVerticalOffset(Double)

Sets the amount of vertical offset.

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 CanContentScroll property to false.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft