Called when the control should handle device input.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.1.0.0 (1.1.1.9392)
Syntax
| C# |
|---|
protected virtual void OnHandleInput( InputContext context ) |
| Visual Basic |
|---|
Protected Overridable Sub OnHandleInput ( _ context As InputContext _ ) |
| Visual C++ |
|---|
protected: virtual void OnHandleInput( InputContext^ context ) |
Parameters
- context
- Type: DigitalRune.Game.UI.Controls..::..InputContext
The input context.
Remarks
Notes to Inheritors: When overriding OnHandleInput(InputContext) in a
derived class, be sure to call the base class's OnHandleInput(InputContext) method. The base
implementation of this method calls OnHandleInput(InputContext) for all visual children.