I am working on a WinForms application with the MVC pattern. Should I access UI components from the controller, for example a treeview node?

I want to access a treeview selected node and change its tag and something like that, should I access it from controller or is it against the principle of MVC?

The only thing which is irritating me is that the treenode belongs to the Windows.Forms namespace and from an MVC perspective view/form related component should be used in views only so that's why I'm asking.

Related posts

Recent Viewed