© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Mustafa

I'm getting a .NET MAUI converter error

"Converter failed to convert value of type 'Windows.Foundation.IReference`1<Microsoft.UI.Xaml.GridLength>' to type 'Double'; BindingExpression: Path='TemplateSettings.CompactPaneGridLength' DataItem='Microsoft.UI.Xaml.Controls.SplitView'; target element is 'Microsoft.UI.Xaml.Media.Animation.SplineDoubleKeyFrame' (Name='null'); target property is 'Value' (type 'Double')."

I encounter this error when trying to pull data from ViewModels into my XAML file. I have three ViewModels, all inheriting from a BaseViewModel. Since I need to retrieve data from all three ViewModels in a single XAML page, I created a ParentViewModel and referenced it in the page. However, when I navigate to that page, I get this error.
image.png
image1.png
image2.png
image3.png
image4.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

I'm crashing out at .NET MAUI Localization
C#CC# / help
4mo ago
❔ Populate a grid .NET MAUI
C#CC# / help
3y ago
.net maui Help
C#CC# / help
2y ago