My WPF application has a resolution of 1024x768. I have datagridone that fills the vertical half of the application. At higher resolutions, when I maximize, I want it to datagridautomatically resize vertically and fill the entire height. How can i do this?
datagrid
you can try adjusting the vertical alignment of the control to stretch ( VeritcalAlignment="Stretch") so that even when the window is resized, it still fills the vertical part of the screen.
VeritcalAlignment="Stretch"
Let me know if this works for you or if you have something else in mind. :)
, , , 1024 X 768, , , DataGrid . . , 1024 x 768, DataGrid *, .