Class KeyDown
Represents an operator that produces a value whenever a keyboard key is pressed.
public class KeyDown : Source<Keys>
- Inheritance
-
KeyDown
- Inherited Members
Properties
Filter
Gets or sets the target keys to be observed.
public Keys Filter { get; set; }
Property Value
SuppressRepetitions
Gets or sets a value indicating whether to ignore character repetitions when a key is held down.
public bool SuppressRepetitions { get; set; }
Property Value
Methods
Generate()
Returns an observable sequence that produces a value whenever a keyboard key is pressed.
public override IObservable<Keys> Generate()
Returns
- IObservable<Keys>
A sequence of Keys values produced whenever a keyboard key is pressed.