Class constructor.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public PeriodicKeyboardUpdates(
FrameworkElement e,
int updateRate,
List<Key> keys,
bool keyPressedOnly
) |
Visual Basic |
---|
Public Sub New ( _
e As FrameworkElement, _
updateRate As Integer, _
keys As List(Of Key), _
keyPressedOnly As Boolean _
) |
JScript |
---|
public function PeriodicKeyboardUpdates(
e : FrameworkElement,
updateRate : int,
keys : List<Key>,
keyPressedOnly : boolean
) |
Parameters
- e
- Type: System.Windows..::..FrameworkElement
UI element that contains the class
instance. This is necessary to obtain a displatcher.
If this parameter is null, the continuous
keyboard key updates will not be properly issued.
- updateRate
- Type: System..::..Int32
Time in milliseconds between consecutive
updates. This value must be greater than or equal to 1. Otherwise,
the default value (41) is used.
- keys
- Type: System.Collections.Generic..::..List<(Of <(<'Key>)>)>
List containing keys from which the user wants
to receive updates.
- keyPressedOnly
- Type: System..::..Boolean
Whether to receive periodic updates
only whne the key is pressed(true) or even if it is not
being presed (false).
See Also