-
Notifications
You must be signed in to change notification settings - Fork 1.4k
DataGrid for Xaml Islands - cont'd #3216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello virzak, thank you for your interest in Windows Community Toolkit! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible.. Other community members may also answer the question and provide feedback 🙌 |
Yes they are. I've fixed some of them already. I'll make sure I add some data grid tests. |
@azchohfi does it make sense to split that PR up a bit since some of it was already reviewed? |
I don't think so. Its almost ready to review. I'm just improving the tests now. |
Getting exact same problem when using controls from <controls:MarkdownTextBlock Text="**This is *Markdown*!** 😍❤💋🌹🎉😎�🐱👤" Margin="6" /> |
Can you try using the preview of 7.0.0? It has a bunch of XAML islands fixes. |
Thanks for looking into this. Microsoft.Toolkit.Uwp.UI.Controls -> 7.0.0-preview1 Microsoft.Toolkit.Wpf.UI.XamlHost -> 6.0.1 But still doesn't work. Could you please give it a try? I would think that not being able to use |
I ran your demo.
In your App1.csproj file and in your ClassLibrary1.csproj. Those are off by default on Release mode already. |
It does indeed works in Release mode! But still not in debug mode, unfortunately. My demo always had those lines in the class library as per the walk-through (which only required them to be added to Class Library). Adding them to App1.csproj did not make a difference as I was still getting the Throughout the testing I was deleting bin/obj folders. Are you sure you were able to run that demo in debug mode? |
Yes, I'm sure. I didn't switch to Release at any moment, and it was failing before I made the changes. Make sure to rebuild everything. I added it to both the class library and the app's csproj. I added them at the beginning of the file, not the end, but I don't think it would make a different. I usually add them at the end of the very first PropertyGroup. |
Actually moving them to the beginning of the file was what did the trick!!! Now it works in debug mode as well. Thanks! |
#3352 fixed this issue 🚀 |
This is a follow-up to a previous DataGrid for Xaml Islands issue
Been hoping to see a DataGrid example, but one doesn't exist.
So I added a DataGrid in my test project which works fine without the data grid and breaks as soon as datagrid is uncommented.
The output is not very helpful:
Can someone suggest what's wrong here?
Thanks
cc: @marb2000
The text was updated successfully, but these errors were encountered: