Developer Docs - Mobile Docs - Event To Command Behavior

Attach commands to events.

v7.0

Inherits from EventToCommandBehavior

The EventToCommandBehavior lets you link a command to an event in your UI. For example, the Text Editor control has a TextChanged event. With this behavior, you can trigger a command whenever that event occurs—like showing a toast notification every time the text is modified.

Examples