Extending Xamarin.Forms with Behaviors with Matthew Soucoup

Sign in to queue

The Discussion

  • User profile image
    Me Ask You

    You beard makes you look like Yusuf Islam. No pun intended.

  • User profile image
    CodeGrue

    How do Behaviors differ from Effects? They seem very similar.

  • User profile image
    MattSoucoup

    @CodeGrue:They are very similar, both used to add additional features!

    You generally use an Effect for a small styling/UI change to a control. And the change you want to make has to be done in a platform specific way.

    Behaviors on the other hand are extending the functionality of the control - like adding validation. And the functionality that you're adding does not need to tap into anything platform specific.

    Quick way to keep them straight ... Effects=UI ... Behaviors=Functionality.

Add Your 2 Cents