Reputation: 12194
I want to add control into WPF Grid cell 0,0 just by using mouse&menus.
I can easily do it
<Label Grid.Column="0" Grid.Row="0"/>
To my surprise I found out I'm unable to add it simply by using mouse & menus. If I use drag&drop, control (yellow) is not inserted into specific cell of grid, but placed where I dropped it, ignoring cell boundaries (the grid is highlighted by orange):
How can I add control into cell 0,0 just by clicking in designer?
I've checked few online tutorials, authors always go the XAML way.
Upvotes: 1
Views: 921
Reputation: 606
Here are your steps :
Please notice the XAML Generated.
Refer attached:
Upvotes: 2