PowerTools SPREAD for ASP.NET 8.0J
GetAppearance メソッド (GroupInfo)

Appearance オブジェクト
外観設定をコピーします。
構文
'Declaration
 
Public Function GetAppearance( _
   ByVal appearance As Appearance _
) As Appearance
public Appearance GetAppearance( 
   Appearance appearance
)

パラメータ

appearance
Appearance オブジェクト

戻り値の型

外観設定を含むAppearanceオブジェクト
次のサンプル コードは、グループの外観を返します。
FpSpread1.ActiveSheetView.AllowColumnMove = true;
FpSpread1.ActiveSheetView.AllowGroup = true;
FpSpread1.ActiveSheetView.GroupBarVisible = true;

FarPoint.Web.Spread.GroupInfo gi = new FarPoint.Web.Spread.GroupInfo();
gi.BackColor = Color.Yellow;
FpSpread1.ActiveSheetView.GroupInfos.Add(gi);

string msg = "The backcolor of the group is " + app.BackColor.ToString(); 
Response.Write("alert('" + msg + "')"); 

FpSpread1.ActiveSheetView.AllowColumnMove = True
FpSpread1.ActiveSheetView.AllowGroup = True
FpSpread1.ActiveSheetView.GroupBarVisible = True

Dim gi As New FarPoint.Web.Spread.GroupInfo
gi.BackColor = Color.Yellow
Dim app As New FarPoint.Web.Spread.Appearance
gi.GetAppearance(app)
FpSpread1.ActiveSheetView.GroupInfos.Add(gi)

Dim msg As String = "The backcolor of the group is " + app.BackColor.ToString()
Response.Write("alert('" & msg & "')")
参照

GroupInfo クラス
GroupInfo メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.