Spread for ASP.NET 9.0 Product Documentation
AllowTableCorner Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.