Spread for ASP.NET 8.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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.