C
C#2mo ago
wildbush

Dont know how to pass an image source into a style

I have a style for a radio button that uses an image for an icon of the radio button but i dont know how i would pass the image source into the style so that it would display the correct icon
2 Replies
JellyRekt
JellyRekt2mo ago
What does the internet say? Have you found any examples? I found a highly upvoted answer on Stack Overflow
wildbush
wildbushOP2mo ago
I have found examples of doing it through the Tag but those have been unsuccessful I’m very new to wpf I’ve also tried making an class that inherent the radio button class but has the custom prepped for the icon but I wasn’t able to get that to work
Want results from more Discord servers?
Add your server