| FocusManagerOnMoveFocus Method |
Called when the focus should be moved to another control.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax protected virtual UIControl OnMoveFocus(
bool moveLeft,
bool moveRight,
bool moveUp,
bool moveDown,
List<UIControl> focusableControls
)
Protected Overridable Function OnMoveFocus (
moveLeft As Boolean,
moveRight As Boolean,
moveUp As Boolean,
moveDown As Boolean,
focusableControls As List(Of UIControl)
) As UIControl
protected:
virtual UIControl^ OnMoveFocus(
bool moveLeft,
bool moveRight,
bool moveUp,
bool moveDown,
List<UIControl^>^ focusableControls
)
abstract OnMoveFocus :
moveLeft : bool *
moveRight : bool *
moveUp : bool *
moveDown : bool *
focusableControls : List<UIControl> -> UIControl
override OnMoveFocus :
moveLeft : bool *
moveRight : bool *
moveUp : bool *
moveDown : bool *
focusableControls : List<UIControl> -> UIControl
Parameters
- moveLeft
- Type: SystemBoolean
If set to the focus should move left. - moveRight
- Type: SystemBoolean
If set to the focus should move right. - moveUp
- Type: SystemBoolean
If set to the focus should move up. - moveDown
- Type: SystemBoolean
If set to the focus should move down. - focusableControls
- Type: System.Collections.GenericListUIControl
The focusable controls of the current focus scopes.
Return Value
Type:
UIControlThe target control that should receive the focus.
See Also