ScrollEventArgs(ScrollEventType, Double) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的ScrollEventArgs枚举值和控件在新ScrollEventType位置初始化类的Thumb实例ScrollBar。
public:
ScrollEventArgs(System::Windows::Controls::Primitives::ScrollEventType scrollEventType, double newValue);
public ScrollEventArgs(System.Windows.Controls.Primitives.ScrollEventType scrollEventType, double newValue);
new System.Windows.Controls.Primitives.ScrollEventArgs : System.Windows.Controls.Primitives.ScrollEventType * double -> System.Windows.Controls.Primitives.ScrollEventArgs
Public Sub New (scrollEventType As ScrollEventType, newValue As Double)
参数
- scrollEventType
- ScrollEventType
一个 ScrollEventType 枚举值,该值描述导致事件的移动类型 Thumb 。