C
C#3y ago
Elio

Wpf Disposition

How do i specify to my button that he will be align with the middle of my datagrid even if my datagrid move when resize ?
4 Replies
sibber
sibber3y ago
HorizontalAllignment="Center"
Elio
ElioOP3y ago
yup but it will center with the grid and not with my datagrid no ?
sibber
sibber3y ago
yes but you can have it be in the same column as the datagrid or create another grid for the datagrid and the button
Elio
ElioOP3y ago
ok i will do that thanks

Did you find this page helpful?