Fallback to reflection. (#2585)
This commit is contained in:
Родитель
859d1aae97
Коммит
12b1061b1d
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче