Skip to content

Commit

Permalink
Fallback to reflection. (#2585)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbritch authored Oct 29, 2024
1 parent 859d1aa commit 12b1061
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/fundamentals/data-binding/compiled-bindings.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Compiled bindings"
description: "Compiled bindings can be used to improve data binding performance in .NET MAUI applications."
ms.date: 10/08/2024
ms.date: 10/29/2024
---

# Compiled bindings
Expand Down Expand Up @@ -179,6 +179,9 @@ Then, ensure that all your bindings are annotated with the correct `x:DataType`
</HorizontalStackLayout>
```

> [!NOTE]
> In cases where there's a binding with a `Source`, but it inherits the `x:DataType` from the parent, there can be a mismatch between the `x:DataType` and the type of the `Source`. In this scenario, a warning will be generated and a fallback to a reflection-based binding that resolves the binding path at runtime will occur.
::: moniker-end

### Combine compiled bindings with classic bindings in XAML
Expand Down

0 comments on commit 12b1061

Please sign in to comment.