ClassMouseButtonEventArgs
Provides data for various events that report changes to the mouse wheel delta value of a mouse device.
Definition
Namespace:Telerik.UI.Xaml.Controls.Input
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class MouseButtonEventArgs : RadRoutedEventArgs
Inheritance: objectRadRoutedEventArgsMouseButtonEventArgs
Inherited Members
Properties
ButtonState
Gets the state of the button associated with the event.
Declaration
public MouseButtonState ButtonState { get; }
Property Value
ChangedButton
Gets the button associated with the event.
ClickCount
Gets the number of times the button was clicked.
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
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.
Methods
GetPosition(UIElement)
Returns the x- and y-coordinates of the mouse pointer position, optionally evaluated against a coordinate origin of a supplied UIElement />.
Declaration
public Point GetPosition(UIElement relativeTo)
Parameters
relativeTo
UIElement
Returns
Point