Spread Windows Forms 7.0 Product Documentation
ColumnFooterSheetCornerStyleName Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ColumnFooterSheetCornerStyleName Property


Glossary Item Box

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

Syntax

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

Exceptions

ExceptionDescription
System.ArgumentException Specified NamedStyle object could not be found in the collection

Example

This example creates a style for the column footer corner.
C#Copy Code
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 15;
// Show the footer.
fpSpread1.Sheets[0].ColumnFooter.Visible = true;
fpSpread1.Sheets[0].ColumnFooter.RowCount = 2;

FarPoint.Win.Spread.NamedStyle nstyleheaders = new FarPoint.Win.Spread.NamedStyle("test");
nstyleheaders.BackColor = Color.Red;
fpSpread1.NamedStyles.Add(nstyleheaders);
fpSpread1.Sheets[0].ColumnFooterSheetCornerStyle = nstyleheaders;
fpSpread1.Sheets[0].ColumnFooterSheetCornerStyleName = "test";
Visual BasicCopy Code
FpSpread1.Sheets(0).RowCount = 10
FpSpread1.Sheets(0).ColumnCount = 15
' Show the footer.
FpSpread1.Sheets(0).ColumnFooter.Visible = True
FpSpread1.Sheets(0).ColumnFooter.RowCount = 2

Dim nstyleheaders As New FarPoint.Win.Spread.NamedStyle("test")
nstyleheaders.BackColor = Color.Red
FpSpread1.NamedStyles.Add(nstyleheaders)
FpSpread1.Sheets(0).ColumnFooterSheetCornerStyle = nstyleheaders
FpSpread1.Sheets(0).ColumnFooterSheetCornerStyleName = "test"

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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