ScrollChangedEventArgs 类

定义

描述了滚动状态的更改,并包括 ScrollChanged 事件的必需自变量。Describes a change in the scrolling state and contains the required arguments for a ScrollChanged event.

public ref class ScrollChangedEventArgs : System::Windows::RoutedEventArgs
public class ScrollChangedEventArgs : System.Windows.RoutedEventArgs
type ScrollChangedEventArgs = class
    inherit RoutedEventArgs
Public Class ScrollChangedEventArgs
Inherits RoutedEventArgs
继承
ScrollChangedEventArgs

属性

ExtentHeight

获取 ScrollViewer 盘区更新后的高度。Gets the updated height of the ScrollViewer extent.

ExtentHeightChange

获取一个值,该值指示 ScrollViewer 盘区高度的更改。Gets a value that indicates the change in height of the ScrollViewer extent.

ExtentWidth

获取 ScrollViewer 盘区更新后的宽度。Gets the updated width of the ScrollViewer extent.

ExtentWidthChange

获取一个值,该值指示 ScrollViewer 范围宽度的更改。Gets a value that indicates the change in width of the ScrollViewer extent.

Handled

获取或设置一个值,该值指示针对路由事件(在其经过路由时)的事件处理的当前状态。Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

(继承自 RoutedEventArgs)
HorizontalChange

获取一个值,该值指示 ScrollViewer 的水平偏移量的变化。Gets a value that indicates the change in horizontal offset for a ScrollViewer.

HorizontalOffset

获取 ScrollViewer 的水平偏移量的更新值。Gets the updated horizontal offset value for a ScrollViewer.

OriginalSource

在父类进行任何可能的 Source 调整之前,获取由纯命中测试确定的原始报告源。Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

(继承自 RoutedEventArgs)
RoutedEvent

获取或设置与此 RoutedEventArgs 实例关联的 RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance.

(继承自 RoutedEventArgs)
Source

获取或设置对引发事件的对象的引用。Gets or sets a reference to the object that raised the event.

(继承自 RoutedEventArgs)
VerticalChange

获取一个值,该值指示 ScrollViewer 的垂直偏移更改。Gets a value that indicates the change in vertical offset of a ScrollViewer.

VerticalOffset

获取 ScrollViewer 的垂直偏移的更新值。Gets the updated value of the vertical offset for a ScrollViewer.

ViewportHeight

获取 ScrollViewer 的视区高度的更新值。Gets the updated value of the viewport height for a ScrollViewer.

ViewportHeightChange

获取一个值,该值表示 ScrollViewer 的视区高度值的更改。Gets a value that indicates the change in value of the viewport height for a ScrollViewer.

ViewportWidth

获取 ScrollViewer 视区宽度的更新值。Gets the updated value of the viewport width for a ScrollViewer.

ViewportWidthChange

获取一个值,该值指示 ScrollViewer 的视区宽度更改。Gets a value that indicates the change in viewport width of a ScrollViewer.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
InvokeEventHandler(Delegate, Object)

在调用类型安全的 ScrollChangedEventHandler 委托之前,执行适当的类型强制转换。Performs proper type casting before invoking the type-safe ScrollChangedEventHandler delegate.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnSetSource(Object)

在派生类中重写时,每当实例的 Source 属性的值发生更改,则提供一个通知回调入口点。When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

(继承自 RoutedEventArgs)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅