Neither WPF nor WinForms enforces any sort of design pattern or separation of concerns approach.

It's up to the developer to enforce.