Extending Xamarin.Forms with Behaviors with Matthew Soucoup

Play Extending Xamarin.Forms with Behaviors with Matthew Soucoup

The Discussion

  • User profile image
    Me Ask You

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

  • User profile image

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

  • User profile image

    @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