Is it possible to position a control in the XAML definiton relative to another control?
for example if I want to place a control exactly in the middle of another wider control.
and if so – how?
Is it possible to position a control in the XAML definiton relative to another
Share
If you want to center the controls you could wrap them in a grid:
Other positioning can be accomplished by other panels like StackPanel etc. Grid beeing the most flexible choice.
Edit: updated with grid and columns for controlling position: