Skip to content

Compiled bindings in code#2524

Merged
davidbritch merged 12 commits intomainfrom
dabritch-net9-compiledbindings
Sep 30, 2024
Merged

Compiled bindings in code#2524
davidbritch merged 12 commits intomainfrom
dabritch-net9-compiledbindings

Conversation

@davidbritch
Copy link
Copy Markdown
Contributor

@davidbritch davidbritch commented Sep 26, 2024

> Compiled bindings are disabled for any XAML binding expressions that define the `Source` property. This is because the `Source` property is always set using the `x:Reference` markup extension, which can't be resolved at compile time.
>
> In addition, compiled bindings are currently unsupported on multi-bindings.
> In addition, compiled bindings in XAML are currently unsupported on multi-bindings.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we removed this restriction in .NET 9 as well. I will need to confirm this tomorrow.

@davidbritch davidbritch merged commit 51ba165 into main Sep 30, 2024
@davidbritch davidbritch deleted the dabritch-net9-compiledbindings branch September 30, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET MAUI 9: Compiled bindings .NET MAUI 9: Compiled bindings can be used with C# markup .NET MAUI 9: Compiled bindings support the Source property

2 participants