Xamarin.Forms Behaviors - Xamarin

Behaviors lets you add functionality to user interface controls without having to subclass them. Behaviors are written in code and added to controls in XAML or code.