Class MouseButtonEventArgs
Provides data for various events that report changes to the mouse wheel delta value of a mouse device.
Inherited Members
Namespace: Telerik.Windows.Input
Assembly: Telerik.Windows.Controls.dll
Syntax
public class MouseButtonEventArgs : RadRoutedEventArgs
Properties
ButtonState
Gets the state of the button associated with the event.
Declaration
public MouseButtonState ButtonState { get; }
Property Value
MouseButtonState
|
ChangedButton
Gets the button associated with the event.
Declaration
public MouseButton ChangedButton { get; }
Property Value
MouseButton
|
ClickCount
Gets the number of times the button was clicked.
Declaration
public int ClickCount { get; }
Property Value
System.Int32
|
Handled
Gets or sets a value that marks the routed event as handled, and prevents most handlers along the event route from handling the same event again.
Declaration
public bool Handled { get; set; }
Property Value
System.Boolean
true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false. |
StylusDevice
Gets an object that reports stylus device information, such as the collection of stylus points associated with the input.
Declaration
public StylusDevice StylusDevice { get; }
Property Value
System.Windows.Input.StylusDevice
The stylus device information object. |
Methods
GetPosition(UIElement)
Returns the x- and y-coordinates of the mouse pointer position, optionally evaluated against a coordinate origin of a supplied System.Windows.UIElement.
Declaration
public Point GetPosition(UIElement relativeTo)
Parameters
System.Windows.UIElement
relativeTo
Any System.Windows.UIElement-derived object
that is contained by the Silverlight plug-in and connected to the object tree.
To specify the object relative to the overall Silverlight coordinate system,
set the |
Returns
System.Windows.Point
A System.Windows.Point that represents the current x- and
y-coordinates of the mouse pointer position. If null was passed as |