Skip to main content
Version: 11.0.0-rc1.1

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 here.
DynamicResourceUsed for resource binding. A dynamic resource binding can reflect changes made in code at run-time.Guide here.
StaticResourceUsed for resource binding. A static resource is loaded and then remains the same for the application lifetime.Guide here.
TemplateBindingUsed when creating a control template for binding to the templated parent.Concept here.