FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > ColumnHeader クラス : DefaultStyle プロパティ |
'Declaration Public Property DefaultStyle As StyleInfo
'使用法 Dim instance As ColumnHeader Dim value As StyleInfo instance.DefaultStyle = value value = instance.DefaultStyle
public StyleInfo DefaultStyle {get; set;}
FarPoint.Win.Spread.ColumnHeader ch;
FarPoint.Win.Spread.StyleInfo style = new FarPoint.Win.Spread.StyleInfo();
ch = fpSpread1.ActiveSheet.ColumnHeader;
ch.RowCount = 3;
style.BackColor = Color.Teal;
ch.DefaultStyle = style;
Dim ch As FarPoint.Win.Spread.ColumnHeader Dim style As New FarPoint.Win.Spread.StyleInfo() ch = FpSpread1.ActiveSheet.ColumnHeader ch.RowCount = 3 style.BackColor = Color.Teal ch.DefaultStyle = style