PowerTools SPREAD for Windows Forms 10.0J
ColumnFooterSheetCornerStyle プロパティ


列フッタのシートコーナーのスタイル情報を取得または設定します。
構文
'Declaration
 
Public Property ColumnFooterSheetCornerStyle As StyleInfo
'使用法
 
Dim instance As SheetView
Dim value As StyleInfo
 
instance.ColumnFooterSheetCornerStyle = value
 
value = instance.ColumnFooterSheetCornerStyle
public StyleInfo ColumnFooterSheetCornerStyle {get; set;}
次のサンプルコードは、列フッタの隅のスタイルを作成します。
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"
参照

SheetView クラス
SheetView メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.