Skip to main content
Version: 11.0.0

Mark-up Extensions

This reference lists some of the XAML mark-up extensions used by Avalonia UI. A mark-up extension is formatted in this pattern:

<Element Attribute={Extension Value}  ... >
ExtensionDescriptionSee
BindingUsed for data binding. Avalonia UI will look for a data context to resolve this binding.Concept
DynamicResourceUsed for resource binding. A dynamic resource binding can reflect changes made in code at run-time.Concept
StaticResourceUsed for resource binding. A static resource is loaded and then remains the same for the application lifetime.Guide
TemplateBindingUsed when creating a control template for binding to the templated parent.Guide