Spread Windows Forms 12.0 Product Documentation
ColumnFooterSheetCornerStyleName Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ColumnFooterSheetCornerStyleName Property
Gets or sets the name of the style for the sheet corner of the column footer.
Syntax
'Declaration
 
Public Property ColumnFooterSheetCornerStyleName As String
'Usage
 
Dim instance As SheetView
Dim value As String
 
instance.ColumnFooterSheetCornerStyleName = value
 
value = instance.ColumnFooterSheetCornerStyleName
public string ColumnFooterSheetCornerStyleName {get; set;}
Exceptions
ExceptionDescription
Specified NamedStyle object could not be found in the collection
Example
This example creates a style for the column footer corner.
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";
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"
See Also

Reference

SheetView Class
SheetView Members