Spread Windows Forms 9.0 Product Documentation
ColumnFooterSheetCornerStyle Property
Example 


Gets or sets the style information for the sheet corner for the column footer.
Syntax
'Declaration
 
Public Property ColumnFooterSheetCornerStyle As StyleInfo
'Usage
 
Dim instance As SheetView
Dim value As StyleInfo
 
instance.ColumnFooterSheetCornerStyle = value
 
value = instance.ColumnFooterSheetCornerStyle
public StyleInfo ColumnFooterSheetCornerStyle {get; set;}
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"
Requirements

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

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.