InputPointerButtonEventArgs Class
Provides event data for pointer button input events.
public class InputPointerButtonEventArgs : InputPointerEventArgs
- Inheritance:
- object EventArgs InputPointerEventArgs object
Constructors
InputPointerButtonEventArgs(InputEventArgs, InputPointerButtonKind)
Provides event data for pointer button input events.
public InputPointerButtonEventArgs(InputEventArgs e, InputPointerButtonKind buttonKind)
| Parameter | Type | Description |
|---|---|---|
| e | InputEventArgs | The wrapped event arguments. |
| buttonKind | InputPointerButtonKind | A InputPointerButtonKind indicating the button kind. |
Properties
ButtonKind
A InputPointerButtonKind indicating the button kind.
IsPrimaryButton
Indicates whether the pressed button is a primary button (left mouse button, primary stylus button, etc.).
public bool IsPrimaryButton { get; }
Property Value
- bool:
trueif pressed button is a primary button; otherwise,false.
Inherited Members
- InputPointerEventArgs.GetPosition(UIElement)
- InputPointerEventArgs.IsPositionOver(FrameworkElement)
- InputPointerEventArgs.ToString()
- InputPointerEventArgs.DeviceKind
- InputPointerEventArgs.Handled
- InputPointerEventArgs.ModifierKeys
- InputPointerEventArgs.OriginalSource
- InputPointerEventArgs.WrappedEventArgs
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()