Class ScrollEventArgs
Event arguments for scroll event
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class ScrollEventArgs : RoutedEventArgs
Constructors
ScrollEventArgs(ScrollEventType, Single)
Initializes a new instance of the ScrollEventArgs class.
Declaration
public ScrollEventArgs(ScrollEventType eventType, float newValue)
Parameters
Type | Name | Description |
---|---|---|
ScrollEventType | eventType | Type of the event. |
System.Single | newValue | The new value. |
ScrollEventArgs(ScrollEventType, Single, Object)
Initializes a new instance of the ScrollEventArgs class.
Declaration
public ScrollEventArgs(ScrollEventType eventType, float newValue, object source)
Parameters
Type | Name | Description |
---|---|---|
ScrollEventType | eventType | Type of the event. |
System.Single | newValue | The new value. |
System.Object | source | The source. |
Properties
NewValue
Gets the new value.
Declaration
public float NewValue { get; }
Property Value
Type | Description |
---|---|
System.Single | The new value. |
ScrollEventType
Gets the type of the scroll event.
Declaration
public ScrollEventType ScrollEventType { get; }
Property Value
Type | Description |
---|---|
ScrollEventType | The type of the scroll event. |
Methods
InvokeEventHandler(Delegate, Object)
Invokes the event handler.
Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | handler | The handler. |
System.Object | target | The target. |