C
C#2y ago
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?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.