Binding Property Not Found - MAUI .NET 8 #26579
Unanswered
TimothyFran
asked this question in
Q&A
Replies: 1 comment
-
I did not tested your code but had similar warning and solved it by adding x:DataType="{x:Type your_xmlns:your_type_here }" on my component/control, (type of my control being [your_type_here]) a sort of redundancy IMHO, but the warning went away. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I'm working on a .NET MAUI project and I'm running into the following error:
This are the relevant parts of the code:
SettingsPage.xaml:
SettingsPage.xaml.cs:
ToggleSettingsItem.xaml:
ToggleSettingsItem.xaml.cs:
SettingsPageViewModel.cs:
What I already tried:
x:DataType
xmlns:local
BindingContext = this;
fromToggleSettingsItem
IsToggled="{Binding Source={x:Reference SettingsPage}, Path=BindingContext.IsNotificationEnabled}"
Can someone help me finding out what's causing this problem?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions