Beispiel #1
0
        public new TableRow Row(int i)
        {
            string rowName = i < RowDefinitions.Count() ? RowDefinitions.ElementAt(i).RowName : null;

            return(new TableRow(ColumnCount, ColumnDefinitions)
            {
                Values = Values.Row(i), Order = i, RowName = rowName
            });
        }
Beispiel #2
0
        public void AddRow(TableRow row)
        {
            var newRow = new RowDefinition
            {
                RowName = row?.RowName,
                Order   = RowDefinitions.Count()
            };

            _rowDefinitions.Add(newRow);
            _values.Add(new ArrayList(row.Values.ToArrayFloating()));
        }