Property MouseHoldRepeat
MouseHoldRepeat
Gets or sets which mouse event triggers command invocation during continuous button press. When set to a non-null value and the user presses and holds the mouse button, NewMouseEvent(Mouse) will be repeatedly called, enabling repeating button behavior.
public MouseFlags? MouseHoldRepeat { get; set; }
Property Value
Remarks
Valid values are:
- null - Disabled (default)
- LeftButtonReleased - Commands invoked on Press during hold
- LeftButtonClicked - Commands invoked on Click after hold
- Other xxxReleased or xxxClicked flags for other mouse buttons
When enabled, pressing the mouse button starts a timer that periodically invokes the Activate command bound to the specified mouse event, enabling auto-repeat behavior (e.g., scrollbar arrows, spin buttons).