© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
19 replies
mario12136

✅ Would this be wrong MVVM?

I made my own WPF "text editor" and I will just use the community toolkit's [RelayCommand] source generators to create commands to which I can bind to in my main view model. The reason they are not in the main view model is because execute and can execute for each command is highly dependent on my text editor's methods and properties, and I need to expose these commands somehow.

Was wondering how people feel about this.
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

❔ Choosing an MVVM Framework - Prism vs MvvmCross
C#CC# / help
4y ago
❔ MVVM
C#CC# / help
3y ago
how difficult would this be to do?
C#CC# / help
2y ago
VSA + MVVM?
C#CC# / help
7mo ago