KeyboardLayoutHandleSpecialKey Method
This method is used to add custom handling for
SpecialKey's and their combinations.
Namespace: BeeMobile.VirtualKeyboardAssembly: BeeMobile.VirtualKeyboard.AVA.NET6 (in BeeMobile.VirtualKeyboard.AVA.NET6.dll) Version: 11.0.0.2+aef809e856abb10e94d0b4c45f10d1805addc36e
public virtual string? HandleSpecialKey(
KeyModifiers activeModifiers,
Key key,
ClickMode click,
IInputElement? focusedElement = null
)
abstract HandleSpecialKey :
activeModifiers : KeyModifiers *
key : Key *
click : ClickMode *
?focusedElement : IInputElement
(* Defaults:
let _focusedElement = defaultArg focusedElement null
*)
-> string
override HandleSpecialKey :
activeModifiers : KeyModifiers *
key : Key *
click : ClickMode *
?focusedElement : IInputElement
(* Defaults:
let _focusedElement = defaultArg focusedElement null
*)
-> string
- activeModifiers KeyModifiers
- Currently pressed modifier keys.
- key Key
- The special key that was pressed.
- click ClickMode
- Determines when the special handling should occur.
- focusedElement IInputElement (Optional)
- The currently focused element.
String
If the combination should produce TextInput (eg. shift + a => A) you can return a string and it will be processed by the
Keyboard.
Otherwise return null.