Class RepeatButton
Implements a control that is repeating click event when pressed
Implements
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class RepeatButton : Button, ICommandSource
Constructors
RepeatButton()
Initializes a new instance of the RepeatButton class.
Declaration
public RepeatButton()
Fields
DelayProperty
The delay property (ms)
Declaration
public static readonly DependencyProperty DelayProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IntervalProperty
The interval property (ms)
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Delay
Gets or sets the delay.
Declaration
public int Delay { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The delay (ms) |
Interval
Gets or sets the interval.
Declaration
public int Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The interval (ms) |
Methods
OnGamepadDown(GamepadButtonEventArgs)
Raises the GamepadDown event.
Declaration
protected override void OnGamepadDown(GamepadButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GamepadButtonEventArgs | e | The GamepadButtonEventArgs instance containing the event data. |
Overrides
OnMouseDown(MouseButtonEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnTouchDown(TouchEventArgs)
Raises the TouchDown event.
Declaration
protected override void OnTouchDown(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchEventArgs | e | The TouchEventArgs instance containing the event data. |