ClassMouseBinding
Class
Binds a MouseGesture to a RoutedCommand (or another ICommand implementation).
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class MouseBinding : InputBinding, ICommandSource
Inheritance: objectInputBindingMouseBinding
Implements:
Inherited Members
Constructors
MouseBinding()
Initializes a new instance of the MouseBinding class.
Declaration
cs-api-definition
public MouseBinding()
MouseBinding(ICommand, MouseGesture)
Initializes a new instance of the MouseBinding class.
Declaration
cs-api-definition
public MouseBinding(ICommand command, MouseGesture gesture)
Parameters
command
The command.
gesture
The gesture.
Properties
Gesture
Gets or sets the InputGesture associated with this input binding.
Declaration
cs-api-definition
[TypeConverter(typeof(MouseGestureConverter))]
public override InputGesture Gesture { get; set; }
Property Value
The gesture.
Overrides
MouseAction
Gets or sets the MouseAction associated with this MouseBinding.
Declaration
cs-api-definition
public MouseAction MouseAction { get; set; }
Property Value
The mouse action.