I have a WPF Window, and in that window I have a grid.
I use M-V-VM model and I want to add a TextBox to the grid dynamically in code(in viewmodel)
How can I
You should move your creation code to View, and ViewModel should just notify view when it should be called.