Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

Using EventToCommand Behavior in MVVM ViewModel in Xamarin


Xamarin forms behaviors are created by deriving from Behavior or Behavior class and the behavior can enable you to implement code that you have to write as code-behind because it can directly interact with the API of the control. Attached behavior is a static class with one or more attached properties. For using EventToCommand behavior you must set the below behavior properties. EventName: Give the appropriate name of the event that the behavior can listen to (Ex:...

read more