PowerTools SPREAD for ASP.NET 8.0J
GroupBarVisible プロパティ

グループバーを表示するかどうかを取得または設定します。
構文
'Declaration
 
Public Property GroupBarVisible As Boolean
public bool GroupBarVisible {get; set;}

プロパティ値

グループ化領域を表示する場合は True、非表示にする場合は False
次のサンプル コードは、グループ項目がコレクションに属する場合、そのグループ項目を削除します。
FpSpread1.ActiveSheetView.AllowColumnMove = true;
FpSpread1.ActiveSheetView.GroupBarVisible = true;
FpSpread1.ActiveSheetView.AllowGroup = true;

FarPoint.Web.Spread.GroupInfo gi = new FarPoint.Web.Spread.GroupInfo();
gi.BackColor = Color.Yellow;
FarPoint.Web.Spread.GroupInfo gi2 = new FarPoint.Web.Spread.GroupInfo();
gi2.BackColor = Color.Green;
FarPoint.Web.Spread.GroupInfoCollection gic = new FarPoint.Web.Spread.GroupInfoCollection();
gic.AddRange(new FarPoint.Web.Spread.GroupInfo[] {gi, gi2});
FpSpread1.ActiveSheetView.GroupInfos.Add(gic[0]);
if (gic.Contains(gi)) {
    gic.Remove(gi);
}

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

Dim gi As New FarPoint.Web.Spread.GroupInfo
gi.BackColor = Color.Yellow
Dim gi2 As New FarPoint.Web.Spread.GroupInfo
gi2.BackColor = Color.Green
Dim gic As New FarPoint.Web.Spread.GroupInfoCollection()
gic.AddRange(New FarPoint.Web.Spread.GroupInfo() {gi, gi2})
FpSpread1.ActiveSheetView.GroupInfos.Add(gic(0))
If gic.Contains(gi) Then
gic.Remove(gi)
End If
参照

SheetView クラス
SheetView メンバ

開発者の手引き

グループ化

 

 


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