Spread for ASP.NET 7.0 Product Documentation
AllowTableCorner Property
See Also  Example Support Options
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 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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.