FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > EnhancedColumnHeaderRenderer クラス > EnhancedColumnHeaderRenderer コンストラクタ : EnhancedColumnHeaderRenderer コンストラクタ() |
'Declaration Public Function New()
'使用法 Dim instance As New EnhancedColumnHeaderRenderer()
public EnhancedColumnHeaderRenderer()
FarPoint.Win.Spread.CellType.EnhancedColumnHeaderRenderer rend = new FarPoint.Win.Spread.CellType.EnhancedColumnHeaderRenderer();
rend.ActiveBackgroundColor = Color.Bisque;
rend.NormalBackgroundColor = Color.Crimson;
rend.NormalGridLineColor = Color.DarkRed;
rend.SelectedActiveBackgroundColor = Color.Tomato;
rend.SelectedBackgroundColor = Color.Plum;
rend.SelectedGridLineColor = Color.Firebrick;
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = rend;
Dim rend As New FarPoint.Win.Spread.CellType.EnhancedColumnHeaderRenderer rend.ActiveBackgroundColor = Color.Bisque rend.NormalBackgroundColor = Color.Crimson rend.NormalGridLineColor = Color.DarkRed rend.SelectedActiveBackgroundColor = Color.Tomato rend.SelectedBackgroundColor = Color.Plum rend.SelectedGridLineColor = Color.Firebrick FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = rend