© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Shinyshark

❔ Overwriting a WPF ListView Style.

I am trying to overwrite a WPF ListView Style to add a button into it at the top. Normally, I would use a UserControl and build a component but there are some issues with hosting items inside of the ListView that make use of x:Name. When I make a new style based on the ListView, a lot of internal items are overwritten such as the GridViewHeaderRowPresenter.

How would I go about this issue? Is it a good idea to add this button into a Style or would I have to make a UserControl for it?
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

❔ WPF ListView with LinkedList
C#CC# / help
3y ago
WPF ListView.HeaderTemplate property not found
C#CC# / help
3y ago
c# wpf style
C#CC# / help
11mo ago