FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : SetAppearance メソッド |
'Declaration Public Sub SetAppearance( _ ByVal appearance As Appearance _ )
'使用法 Dim instance As StyleInfo Dim appearance As Appearance instance.SetAppearance(appearance)
public void SetAppearance( Appearance appearance )
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); FarPoint.Win.Spread.Appearance appr = new FarPoint.Win.Spread.Appearance; appr.BackColor = Color.Yellow; si.SettAppearance(appr); fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo Dim appr As New FarPoint.Win.Spread.Appearance appr.BackColor = Color.Yellow si.SetAppearance(appr) FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si