Spread for ASP.NET 7.0 Product Documentation
SheetCornerStyleName Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SheetCornerStyleName Property


Glossary Item Box

Gets or sets the name of the style for the sheet corner.

Syntax

Visual Basic (Declaration) 
Public Property SheetCornerStyleName As String
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As String
 
instance.SheetCornerStyleName = value
 
value = instance.SheetCornerStyleName
C# 
public string SheetCornerStyleName {get; set;}

Property Value

String containing the name of the style for the sheet corner

Example

This example paints the sheet corner cell red.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
FarPoint.Web.Spread.NamedStyle ns = nw FarPoint.Web.Spread.NamedStyle();
ns.BackColor = Color.Red;
ns.Name = "mystyle";
FpSpread1.NamedStyles.Add(ns);
sv = FpSpread1.ActiveSheetView;
sv.SheetCornerStyleName = ns.Name;
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
Dim ns As New FarPoint.Web.Spread.NamedStyle
ns.BackColor = Color.Red
ns.Name = "mystyle"
FpSpread1.NamedStyles.Add(ns)
sv = FpSpread1.ActiveSheetView
sv.SheetCornerStyleName = ns.Name

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.