예제 #1
0
        internal void UpdateHeadHeight(int height)
        {
            var row = RowDefinitions.First();

            if (height < 0)
            {
                row.Height = GridLength.Auto;
            }
            else
            {
                row.Height = new GridLength(height);
            }
        }