MobileForms Toolkit Documentation

KeyboardPro.RegisterButtonCallback Method 

Registers the callback delegate function which is called each time when a certain button is pressed. It can be used for overriding the button functionality under certain context. Each callback function should be unregistered by calling UnregisterButtonCallback method when it is no longer used. Otherwise the callback will be unregistered after the parent form is closed.

public void RegisterButtonCallback(
string button,
ButtonCallback callback
);

Parameters

button
The name of the button as appears in skin RAML definition. It can be either one of the button names from default skin or a new button from custom skin definition.
callback
Callback delegate function

See Also

KeyboardPro Class | Resco.Controls.KeyboardPro Namespace