我想设置DataGrid最小高度是DataGrid在运行时调整大小的高度。我试图像这样设置最小高度
DataGrid.MinHeight = DataGrid.DesireHeight.Height
和
DataGrid.MinHeight = DataGrid.RenderSize.Height
但是在运行时调整数据网格大小时无法正常工作。
Datagrid resized image at starting
After resizing i have clicked option button but MinHeight could not maintained