Open trashhacker opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
ok i have checked the other issues... its not a duplicate, its kinda related ok... but this is a bug that has nothing to to with the sugested issues so pls can i have a visite or an answere from your code gurus :D
yea code gurus come from heaven to help me :D https://github.com/trashhacker/ReproBindingError
im sorry i did not read your guidlines for repos (: hope its ok
and yea its not only collectionview its more the datatemplate inside the what ever collection -- my bad sorry
if you remove
<Label Text="{Binding Identifier}"/>
<Label Text="{Binding Description}"/>
it will compile and if u copy and past it while debugging it will work too
Description
<?xml version="1.0" encoding="utf-8" ?> <ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:vmpresenter="clr-namespace:Intrinsic.Client.ViewModels.Presenter" xmlns:syncfusiondatagrid="clr-namespace:Syncfusion.Maui.DataGrid;assembly=Syncfusion.Maui.DataGrid" xmlns:syncprogressbar="clr-namespace:Syncfusion.Maui.ProgressBar;assembly=Syncfusion.Maui.ProgressBar" xmlns:syncfusion="http://schemas.syncfusion.com/maui" xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material" xmlns:vm="clr-namespace:Intrinsic.Client.ViewModels" x:Class="Intrinsic.Client.Resources.Templates">
If i use the x:DataType on the CollectinView.Itemtemplate: the debbuger (Error Analysier at Compliletime) says that the binding has a wrong string format
if i remove it: it says the property is not found... again at compile time
but i tried it with an converter and the correct value is passed but visual studio marks it as an error
Steps to Reproduce
create a Template in a ResourceDictionary use this contentcontrol for dynamically selecting the template populate a list in the template and bind it to the collection create an itemtemplate for the collection
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
8.0.40 /8.0.100
Did you find any workaround?
No response
Relevant log output
No response