© 2026 Hedgehog Software, LLC

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

❔ Where are commands usually defined?

I ask to see what is regarded as best practice. I have commands in my view models, but I was wondering where commands specific to a text box (editor) are defined. Are they defined in the editor's class, a viewmodel for the editor or somewhere else? How does this generalize to any control for that matter?

Think of commands specific to manipulating text only inside the editor.
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

❔ Where are my properties?
C#CC# / help
3y ago
Where are my Allocations coming from?
C#CC# / help
4mo ago
Visual studio - where are nuget packages published ?
C#CC# / help
3y ago
❔ extension method mappers for classes which are already defined? Mapster
C#CC# / help
3y ago