예제 #1
0
        private bool AutoResize()
        {
            var isShiftDown = IsShiftKeyDown;

            if (isShiftDown)
            {
                GridTrackToResize.Resize(GridLength.Auto);
            }
            else
            {
                RowPresenter.Resize(GridTrackToResize, GridLength.Auto);
            }
            return(true);
        }
예제 #2
0
 private void ResizeTo(GridLength length)
 {
     _rowPresenter.Resize(_gridTrack, length);
 }