FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : IsForeColorSet メソッド |
'Declaration
Public Overridable Function IsForeColorSet() As Boolean
public virtual bool IsForeColorSet()
ForeColorプロパティが設定されているかどうかを取得します。
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); bool b; si.ForeColor = Color.Red; fpSpread1.ActiveSheet.DefaultStyle = si; b = si.IsForeColorSet(); label1.Text = b.ToString();
Dim si As New FarPoint.Win.Spread.StyleInfo Dim b As Boolean si.ForeColor = Color.Red fpSpread1.ActiveSheet.DefaultStyle = si b = si.IsForeColorSet() Label1.Text = b.ToString()