How to Create a ListView that holds a lot of buttons

Mesh Ka 345 Reputation points
2023-08-18T16:05:13.5733333+00:00

I have a side menu with a lot of buttons and i decided to group the buttons by using Expander.

Under the Expander I Created a ListView to hold Child buttons, everything else is working nicely, the Reason Why I Decided to use the ListView is that I want it to Highlight for me the Currently selected button but the problem is that my Buttons are Using Custom Styles and I wanted the ListView to Use my button's Style to Select the Button For me, Can Somebody help?

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.