Spread ASP.NET 6.0 Product Documentation
AllowTableCorner Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : AllowTableCorner Property


Glossary Item Box

Gets or sets whether to allow the sheet corner to be a structure table.

Syntax

Visual Basic (Declaration) 
Public Property AllowTableCorner As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Boolean
 
instance.AllowTableCorner = value
 
value = instance.AllowTableCorner
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.