GrapeCity.Xaml.SpreadSheet.UI
Sheets Property (GcSpreadSheet)
Example 


Gets or sets the GrapeCity.Xaml.SpreadSheet.Data.Worksheet collection for the GcSpreadSheet control.
Syntax
'Declaration
 
<BrowsableAttribute()>
Public ReadOnly Property Sheets As WorksheetCollection
'Usage
 
Dim instance As GcSpreadSheet
Dim value As WorksheetCollection
 
value = instance.Sheets
[Browsable()]
public WorksheetCollection Sheets {get;}
Example
This example uses the Sheets property.
gcSpreadSheet1.ReferenceStyle = GrapeCity.Xaml.SpreadSheet.Data.ReferenceStyle.A1;
gcSpreadSheet1.SheetCount = 1;
//Or
//gcSpreadSheet1.Sheets.Count = 1;
gcSpreadSheet1.Sheets[0].RowRangeGroup.Group(0, 2);
gcSpreadSheet1.Sheets[0].ColumnRangeGroup.Group(3, 2);
gcSpreadSheet1.ShowColumnRangeGroup = true;
gcSpreadSheet1.ShowRowRangeGroup = true;
gcSpreadSheet1.ShowGridLine = true;
GcSpreadSheet1.ReferenceStyle = GrapeCity.Xaml.SpreadSheet.Data.ReferenceStyle.A1
GcSpreadSheet1.SheetCount = 1
'Or
'GcSpreadSheet1.Sheets.Count = 1
GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(0, 2)
GcSpreadSheet1.Sheets(0).ColumnRangeGroup.Group(3, 2)
GcSpreadSheet1.ShowColumnRangeGroup = True
GcSpreadSheet1.ShowRowRangeGroup = True
GcSpreadSheet1.ShowGridLine = True
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options