Spread WPF Documentation
RangeGroupLineStroke Property (GcSpreadSheet)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : RangeGroupLineStroke Property
Gets or sets the stroke of the group line
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property RangeGroupLineStroke As System.Windows.Media.Brush
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Windows.Media.Brush
 
instance.RangeGroupLineStroke = value
 
value = instance.RangeGroupLineStroke
[System.ComponentModel.DefaultValue()]
public System.Windows.Media.Brush RangeGroupLineStroke {get; set;}
Example
This example sets the RangeGroupLineStroke property.
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 System.Windows.Media.SolidColorBrush(Color.FromArgb(200, 180, 50, 25));
GcSpreadSheet1.RangeGroupBorderBrush = new SolidColorBrush(Colors.Green);
GcSpreadSheet1.RangeGroupLineStroke = new SolidColorBrush(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 System.Windows.Media.SolidColorBrush(Color.FromArgb(200, 180, 50, 25))
GcSpreadSheet1.RangeGroupBorderBrush = new SolidColorBrush(Colors.Green)
GcSpreadSheet1.RangeGroupLineStroke = new SolidColorBrush(Colors.Blue)
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members