private bool AutoResize() { var isShiftDown = IsShiftKeyDown; if (isShiftDown) { GridTrackToResize.Resize(GridLength.Auto); } else { RowPresenter.Resize(GridTrackToResize, GridLength.Auto); } return(true); }
private void ResizeTo(GridLength length) { _rowPresenter.Resize(_gridTrack, length); }