Reusable Behaviors

Exploring typical behavior scenarios

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

last updated: 2016-04

Behaviors are reusable across more than one application. These articles explain how to create useful behaviors to perform commonly used functionality.

Reusable EffectBehavior

Behaviors are a useful approach for adding an effect to a control, removing boiler-plate effect handling code from code-behind files. This article demonstrates using a Xamarin.Forms behavior to add an effect to a control.

Reusable EventToCommandBehavior

Behaviors can be used to associate commands with controls that were not designed to interact with commands. This article demonstrates using a Xamarin.Forms behavior to invoke a command when an event fires.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.