PowerTools SPREAD for Windows Forms 10.0J
GetAppearance メソッド (GroupInfo)


Appearance オブジェクト
外観設定をコピーします。
構文
'Declaration
 
Public Function GetAppearance( _
   ByVal appearance As Appearance _
) As Appearance
'使用法
 
Dim instance As GroupInfo
Dim appearance As Appearance
Dim value As Appearance
 
value = instance.GetAppearance(appearance)
public Appearance GetAppearance( 
   Appearance appearance
)

パラメータ

appearance
Appearance オブジェクト

戻り値の型

グループの外観設定を含む Appearance オブジェクト
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
fpSpread1.ActiveSheet.AllowGroup = true; 

FarPoint.Win.Spread.GroupInfo gi = new FarPoint.Win.Spread.GroupInfo();
gi.BackColor = Color.Yellow;

fpSpread1.ActiveSheet.GroupInfos.Add(gi);

FarPoint.Win.Spread.Appearance app = new FarPoint.Win.Spread.Appearance();
gi.GetAppearance(app);
MessageBox.Show(app.BackColor.ToString());
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
FpSpread1.ActiveSheet.AllowGroup = True

Dim gi As New FarPoint.Win.Spread.GroupInfo
gi.BackColor = Color.Yellow

FpSpread1.ActiveSheet.GroupInfos.Add(gi)

Dim app As New FarPoint.Win.Spread.Appearance
gi.GetAppearance(app)
MessageBox.Show(app.BackColor.ToString)
参照

GroupInfo クラス
GroupInfo メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.