GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : RangeGroupBackground Property |
'Declaration <DefaultValueAttribute()> Public Property RangeGroupBackground As Brush
'Usage Dim instance As GcSpreadSheet Dim value As Brush instance.RangeGroupBackground = value value = instance.RangeGroupBackground
[DefaultValue()] public Brush RangeGroupBackground {get; set;}
GcSpreadSheet1.Sheets[0].ColumnCount = 7; GcSpreadSheet1.Sheets[0].RowCount = 34; GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Western"; GcSpreadSheet1.Sheets[0].Cells[0, 1].Text = "Western"; GcSpreadSheet1.Sheets[0].Cells[0, 2].Text = "Western"; GcSpreadSheet1.Sheets[0].Cells[1, 0].Text = "A"; GcSpreadSheet1.Sheets[0].Cells[1, 1].Text = "B"; GcSpreadSheet1.Sheets[0].Cells[1, 2].Text = "C"; GcSpreadSheet1.Sheets[0].Cells[2, 0].Text = "A"; GcSpreadSheet1.Sheets[0].Cells[2, 1].Text = "B"; GcSpreadSheet1.Sheets[0].Cells[2, 2].Text = "C"; GcSpreadSheet1.Sheets[0].RowRangeGroup.Group(0, 2); GcSpreadSheet1.RangeGroupBackground = new Windows.UI.Xaml.Media.SolidColorBrush(Windows.UI.Color.FromArgb(200, 180, 50, 25)); GcSpreadSheet1.RangeGroupBorderBrush = new SolidColorBrush(Windows.UI.Colors.Green); GcSpreadSheet1.RangeGroupLineStroke = new SolidColorBrush(Windows.UI.Colors.Blue);
GcSpreadSheet1.Sheets(0).ColumnCount = 7 GcSpreadSheet1.Sheets(0).RowCount = 34 GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Western" GcSpreadSheet1.Sheets(0).Cells(0, 1).Text = "Western" GcSpreadSheet1.Sheets(0).Cells(0, 2).Text = "Western" GcSpreadSheet1.Sheets(0).Cells(1, 0).Text = "A" GcSpreadSheet1.Sheets(0).Cells(1, 1).Text = "B" GcSpreadSheet1.Sheets(0).Cells(1, 2).Text = "C" GcSpreadSheet1.Sheets(0).Cells(2, 0).Text = "A" GcSpreadSheet1.Sheets(0).Cells(2, 1).Text = "B" GcSpreadSheet1.Sheets(0).Cells(2, 2).Text = "C" GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(0, 2) GcSpreadSheet1.RangeGroupBackground = new Windows.UI.Xaml.Media.SolidColorBrush(Windows.UI.Color.FromArgb(200, 180, 50, 25)) GcSpreadSheet1.RangeGroupBorderBrush = new SolidColorBrush(Windows.UI.Colors.Green) GcSpreadSheet1.RangeGroupLineStroke = new SolidColorBrush(Windows.UI.Colors.Blue)
Target Platforms: Windows Server 2012, Windows RT