© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
Ernoi

✅ Wpf Enum conditional rendering

Hello im new to Wpf and feel like conditional rendering is a bit clunky I have a Enum with diffrent states in my viewmodel and want to render different things like example
Enum has Loading, Start, InProgress. I want to show a TextBox that displays diffrent stuff depending on the incoming Enum state. Can anyone point me to a good way of doing this or give me an example?
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

Regex conditional
C#CC# / help
3y ago
✅ WPF
C#CC# / help
13mo ago
Wpf
C#CC# / help
3y ago