Spread Windows Forms 11.0 Product Documentation
SheetCornerData Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView.DocumentModels Class : SheetCornerData Property
Gets or sets the sheet corner data model
Syntax
'Declaration
 
Public Property SheetCornerData As ISheetDataModel
'Usage
 
Dim instance As SheetView.DocumentModels
Dim value As ISheetDataModel
 
instance.SheetCornerData = value
 
value = instance.SheetCornerData
public ISheetDataModel SheetCornerData {get; set;}

Property Value

The sheet corner data.
Example
This example sets the SheetCornerData property.
fpSpread1.Sheets[0].RowHeader.ColumnCount = 2;
fpSpread1.Sheets[0].ColumnHeader.RowCount = 2;
FarPoint.Win.Spread.StyleInfo stylei = new FarPoint.Win.Spread.StyleInfo();
stylei.BackColor = Color.Bisque;
FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels();
dm = fpSpread1.ActiveSheet.Models;
dm.SheetCornerData.SetValue(0, 0, "Corner");
dm.SheetCornerSpan.Add(0, 0, 2, 2);
dm.SheetCornerStyle.SetDirectInfo(0, 0, stylei);
fpSpread1.Sheets(0).RowHeader.ColumnCount = 2
fpSpread1.Sheets(0).ColumnHeader.RowCount = 2
Dim stylei As New FarPoint.Win.Spread.StyleInfo()
stylei.BackColor = Color.Bisque
Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels()
dm = fpSpread1.ActiveSheet.Models
dm.SheetCornerData.SetValue(0, 0, "Corner")
dm.SheetCornerSpan.Add(0, 0, 2, 2)
dm.SheetCornerStyle.SetDirectInfo(0, 0, stylei)
See Also

Reference

SheetView.DocumentModels Class
SheetView.DocumentModels Members