Example #1
0
        private void QueryRowHeight(object sender, Syncfusion.UI.Xaml.Grid.QueryRowHeightEventArgs e)
        {
            var gridRowResizingOptions = new GridRowSizingOptions();

            if (this.LyricsGrid.GridColumnSizer.GetAutoRowHeight(e.RowIndex, gridRowResizingOptions, out var autoHeight))
            {
                if (autoHeight > 25 && e.RowIndex > 0)
                {
                    e.Height  = 80;
                    e.Handled = true;
                }
            }
        }
Example #2
0
        private void DataGrid_QueryRowHeight(object sender, QueryRowHeightEventArgs e)
        {
            GridRowSizingOptions options = new GridRowSizingOptions();

            options.ExcludeColumns.Add("DATA_PROGR");
            if (e.RowIndex == 0)
            {
                e.Height = 30;
            }
            else
            {
                e.Height = Lista.GetRowHeight(e.RowIndex, options);
            }
            e.Handled = true;
        }