Found the answer:
If I put spaces where there are none (after / before) commas then the error goes away
XAML that works:
Text="{Binding Converter={StaticResource DDC} , ConverterParameter=0}"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to use a converter in Maui, the problem I am having is the XAML to which I using the converter can bind individually to properties but when I try to use it with just {Binding , convertername ---- I get an XAML parsing error.
The XAML that works is:
Text="{Binding Date, Converter={StaticResource DDC},ConverterParameter=0}"
Since I need other properties in the converter I want to change this to
Text="{Binding , Converter={StaticResource DDC},ConverterParameter=0}"
When I do that I get:
Severity Code Description Project File Line Suppression State
Error XFC0061 Error while parsing markup expression. DXMauiApp2 C:\Visual Stuido Stuff\Maui\DXMauiApp2\MainPage.xaml 360
Now if I use the only Binding without a converter it works so I am confused as to why it will not allow just the Binding as on occasion I have in testing used just the Binding to display what object type is being bound.
Found the answer:
If I put spaces where there are none (after / before) commas then the error goes away
XAML that works:
Text="{Binding Converter={StaticResource DDC} , ConverterParameter=0}"