Behaviors
Version:
v9.x
In FmgLib.MauiMarkup
, you can add functionality to user interface controls using behaviors. Behaviors allow you to add functionality to controls without having to subclass them.
You can add a behavior to a control by using the Behaviors
method and passing in an instance of the behavior class. For example:
new Entry().Text("Click Item")
.Behaviors(new YourCustomBehaviors());