GrapeCity.Xaml.SpreadSheet.Data Namespace > SheetTable Class : BandedRows Property |
'Declaration <DefaultValueAttribute()> Public Property BandedRows As Boolean
'Usage Dim instance As SheetTable Dim value As Boolean instance.BandedRows = value value = instance.BandedRows
[DefaultValue()] public bool BandedRows {get; set;}
//Add data for (var col = 1; col < 6; col++) { for (var row = 2; row < 11; row++) { GcSpreadSheet1.Sheets[0].SetValue(row, col, row + col); } } var sTable = GcSpreadSheet1.Sheets[0].AddTable("table1", 1, 1, 10, 5, GrapeCity.Xaml.SpreadSheet.Data.TableStyles.Medium2); sTable.BandedColumns = true; sTable.BandedRows=true;
'Add data For col As Integer = 1 To 5 For row As Integer = 2 To 10 GcSpreadSheet1.Sheets(0).SetValue(row, col, row + col) Next Next Dim sTable = GcSpreadSheet1.Sheets(0).AddTable("table1", 1, 1, 10, 5, GrapeCity.Xaml.SpreadSheet.Data.TableStyles.Medium2) sTable.BandedColumns = True sTable.BandedRows = True
Target Platforms: Windows Server 2012, Windows RT