FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetSkin クラス > SheetSkin コンストラクタ : SheetSkin コンストラクタ(String,Color,Color,Color,Color,GridLines,Color,Color,Color,Color,Color,Color,Color,Color,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) |
'Declaration
Public Function New( _ ByVal name As String, _ ByVal backColor As Color, _ ByVal cellBackColor As Color, _ ByVal cellForeColor As Color, _ ByVal gridLineColor As Color, _ ByVal gridLines As GridLines, _ ByVal headerBackColor As Color, _ ByVal footerBackColor As Color, _ ByVal headerForeColor As Color, _ ByVal footerForeColor As Color, _ ByVal selectionBackColor As Color, _ ByVal selectionForeColor As Color, _ ByVal evenRowBackColor As Color, _ ByVal oddRowBackColor As Color, _ ByVal flatColumnHeader As Boolean, _ ByVal flatColumnFooter As Boolean, _ ByVal flatRowHeader As Boolean, _ ByVal headerFontBold As Boolean, _ ByVal footerFontBold As Boolean, _ ByVal showColumnHeader As Boolean, _ ByVal showColumnFooter As Boolean, _ ByVal showRowHeader As Boolean _ )
public SheetSkin( string name, Color backColor, Color cellBackColor, Color cellForeColor, Color gridLineColor, GridLines gridLines, Color headerBackColor, Color footerBackColor, Color headerForeColor, Color footerForeColor, Color selectionBackColor, Color selectionForeColor, Color evenRowBackColor, Color oddRowBackColor, bool flatColumnHeader, bool flatColumnFooter, bool flatRowHeader, bool headerFontBold, bool footerFontBold, bool showColumnHeader, bool showColumnFooter, bool showRowHeader )
FarPoint.Win.Spread.SheetSkin sk = new FarPoint.Win.Spread.SheetSkin("TestSkin", Color.BlanchedAlmond, Color.Blue, Color.Wheat, Color.Gray, FarPoint.Win.Spread.GridLines.Both, Color.DarkBlue, Color.LightBlue, Color.AliceBlue, Color.Yellow, Color.White, Color.Blue, false, false, true, true, true); FarPoint.Win.Spread.SheetSkin testskin = new FarPoint.Win.Spread.SheetSkin(sk); bool b; testskin.Apply(fpSpread1); b = sk.Equals(testskin); listBox1.Items.Add(b.ToString());
Dim sk As New FarPoint.Win.Spread.SheetSkin("TestSkin", Color.BlanchedAlmond, Color.Blue, Color.Wheat, Color.Gray, FarPoint.Win.Spread.GridLines.Both, Color.DarkBlue, Color.LightBlue, Color.AliceBlue, Color.Yellow, Color.White, Color.Blue, False, False, True, True, True) Dim testskin As New FarPoint.Win.Spread.SheetSkin(sk) Dim b As Boolean testskin.Apply(FpSpread1) b = sk.Equals(testskin) ListBox1.Items.Add(b.ToString())