-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
toolkit:Themes.UseVsTheme breaks gridview header #397
Comments
This is caused by the <ListView
xmlns:platform="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0"
platform:ThemedDialogStyleLoader.UseDefaultThemedDialogStyles="True">
</ListView> I guess an internal Visual Studio style is removing the headers for a reason. Unfortunately setting that attached property to false on the ListView doesn't have any effect when something above it has already enabled the default themed dialog styles (enabling the themed dialog styles causes a resource dictionary to be loaded so it applies to that element and all descendants). I think the only option is to redefine the |
I am having the same problem. Dave, do you have an example how to redefine the ControlTemplate? |
I am using a VSIX and wanted to test a GridView inside a ListView. But whenever I did it the header of the gridview was missing.
After hours of debugging I finally stumbled across the toolkit:Themes.UseVsTheme. When I removed it, everything went fine. The header was displayed again.
toolkit:Themes.UseVsTheme="True"The text was updated successfully, but these errors were encountered: