# Rows and Columns

## Content



The [XLSheet](/componentone/api/wpf/online-excel/dotnet-framework-api/C1.WPF.Excel.4.6.2/C1.WPF.Excel.XLSheet.html) object contains collections of rows and columns that expose each individual row and column on the sheet. The exposed [XLRow](/componentone/api/wpf/online-excel/dotnet-framework-api/C1.WPF.Excel.4.6.2/C1.WPF.Excel.XLRow.html) and [XLColumn](/componentone/api/wpf/online-excel/dotnet-framework-api/C1.WPF.Excel.4.6.2/C1.WPF.Excel.XLColumn.html) objects allow you to assign the size (column width, row height), visibility, and style for each row and column on the sheet. If you don't assign any of these values, the sheet's defaults will be used (see the [DefaultRowHeight](/componentone/api/wpf/online-excel/dotnet-framework-api/C1.WPF.Excel.4.6.2/C1.WPF.Excel.XLSheet.DefaultRowHeight.html) and [DefaultColumnWidth](/componentone/api/wpf/online-excel/dotnet-framework-api/C1.WPF.Excel.4.6.2/C1.WPF.Excel.XLSheet.DefaultColumnWidth.html) properties).

The default dimensions for **XLRow** and **XLColumn** objects are –1, which means use the sheet's default values.