IScrollInfo 接口 |
命名空间: CPF.Controls
public interface IScrollInfo
IScrollInfo 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| CanHorizontallyScroll |
This property indicates to the IScrollInfo whether or not it can scroll in the horizontal given dimension.
| |
| CanVerticallyScroll |
This property indicates to the IScrollInfo whether or not it can scroll in the vertical given dimension.
| |
| ExtentHeight |
ExtentHeight contains the full vertical range of the scrolled content.
| |
| ExtentWidth |
ExtentWidth contains the full horizontal range of the scrolled content.
| |
| HorizontalOffset |
HorizontalOffset is the horizontal offset into the scrolled content that represents the first unit visible.
| |
| ScrollOwner |
ScrollOwner is the container that controls any scrollbars, headers, etc... that are dependant
on this IScrollInfo's properties. Implementers of IScrollInfo should call InvalidateScrollInfo()
on this object when properties change.
| |
| VerticalOffset |
VerticalOffset is the vertical offset into the scrolled content that represents the first unit visible.
| |
| ViewportHeight |
ViewportHeight contains the currently visible vertical range of the scrolled content.
| |
| ViewportWidth |
ViewportWidth contains the currently visible horizontal range of the scrolled content.
|
| 名称 | 说明 | |
|---|---|---|
| LineDown |
Scroll content by one line to the bottom.
| |
| LineLeft |
Scroll content by one line to the left.
| |
| LineRight |
Scroll content by one line to the right.
| |
| LineUp |
Scroll content by one line to the top.
| |
| MouseWheelDown |
Scroll content by one page to the bottom.
| |
| MouseWheelLeft |
Scroll content by one page to the left.
| |
| MouseWheelRight |
Scroll content by one page to the right.
| |
| MouseWheelUp |
Scroll content by one page to the top.
| |
| PageDown |
Scroll content by one page to the bottom.
| |
| PageLeft |
Scroll content by one page to the left.
| |
| PageRight |
Scroll content by one page to the right.
| |
| PageUp |
Scroll content by one page to the top.
| |
| SetHorizontalOffset |
Set the HorizontalOffset to the passed value.
An implementation may coerce this value into a valid range, typically inclusively between 0 and ExtentWidth less ViewportWidth.
| |
| SetVerticalOffset |
Set the VerticalOffset to the passed value.
An implementation may coerce this value into a valid range, typically inclusively between 0 and ExtentHeight less ViewportHeight.
|
| 名称 | 说明 | |
|---|---|---|
| ScrollChanged |
滚动或者视口变化
|