Spread for ASP.NET 11 Product Documentation
AllowTableCorner Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : AllowTableCorner Property
Gets or sets whether to allow the sheet corner to be a structure table.
Syntax
'Declaration
 
Public Property AllowTableCorner As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.AllowTableCorner = value
 
value = instance.AllowTableCorner
public bool AllowTableCorner {get; set;}

Property Value

true if can use structure table corner; false otherwise
Example
This example enhances the appearance of the table corner.
FpSpread1.Sheets[0].AllowTableCorner = true;
FpSpread1.SheetCorner.DefaultStyle.Background.BackGroundImageUrl = FarPoint.Web.Spread.Background.DEFAULTGRADIENTMASKIMAGE;
FpSpread1.SheetCorner.RowCount = 6;
FpSpread1.SheetCorner.ColumnCount = 3;
FpSpread1.SheetCorner.AlternatingRows.Count = 3;
FpSpread1.SheetCorner.AlternatingRows.Item[1].BackColor = Drawing.Color.Crimson;
FpSpread1.SheetCorner.Cells[0, 1].BackColor = Drawing.Color.DarkOrange;
FpSpread1.SheetCorner.Columns[0].BackColor = Drawing.Color.Black;
FpSpread1.SheetCorner.Rows[4].BackColor = Drawing.Color.Chartreuse;
FpSpread1.Sheets(0).AllowTableCorner = True
FpSpread1.SheetCorner.DefaultStyle.Background.BackGroundImageUrl = FarPoint.Web.Spread.Background.DEFAULTGRADIENTMASKIMAGE
FpSpread1.SheetCorner.RowCount = 6
FpSpread1.SheetCorner.ColumnCount = 3
FpSpread1.SheetCorner.AlternatingRows.Count = 3
FpSpread1.SheetCorner.AlternatingRows.Item(1).BackColor = Drawing.Color.Crimson
FpSpread1.SheetCorner.Cells(0, 1).BackColor = Drawing.Color.DarkOrange
FpSpread1.SheetCorner.Columns(0).BackColor = Drawing.Color.Black
FpSpread1.SheetCorner.Rows(4).BackColor = Drawing.Color.Chartreuse
See Also

Reference

SheetView Class
SheetView Members