FmgLib.MauiMarkup Documentation

FmgLib.MauiMarkup

  • Welcome to FmgLib.MauiMarkup
  • Getting Started
  • XAML to FmgLib.MauiMarkup(C#)
  • How to Assign Object References
  • Attached Properties
  • Behaviors
  • Binding Converters
  • Event Handlers
  • Gesture Recognizers
  • Gradients
  • Grid Definition
  • ITextAlignment Interface Extension Methods
  • Layout Options
  • Menus in FmgLib.MauiMarkup
  • Properties and Fluent Methods
  • Property Bindings
  • Property MultiBinding
  • Shell Application
  • Application Styling
  • User Defined Extension Methods
  • Triggers
  • .NET Built-in Hot Reload (Visual Studio)
  • Extensions for 3rd Party Controls
  • Localization JSON File
  • Localization RESX File
  • Compiled Binding in Code
  • General Example Code

Behaviors

Version: v9.x
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());
Attached Properties Binding Converters

© 2025 - All rights reserved by FmgLib.