Spread Silverlight Documentation
RangeGroupLineStroke Property (GcSpreadSheet)
Example 


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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.