Hi every one!
I have a few questions how you guys implement C# Layouts in the code behind and what you think is the best practice here. At the moment i have a MVVM structure but what i get stuck at is how to handle the layout part. Should all of it be put in the code behind file or should i separate the layout generating code in to a separate layer that gets called by the code behind?
By separating it in to its own layer i get a better overview of the code but at the same time placing it in the code behind makes sense due to its connection to the page its representing.
So how do you guys do it and do you have any recommendations?
Thanks in advance!