MESCIUS SPREAD for ASP.NET 10.0J
Item プロパティ (TabInfo)

タブのインデックス
シート名タブのテキストを取得または設定します。
構文
'Declaration
 
Public Default Property Item( _
   ByVal index As Integer _
) As String
public string this[ 
   int index
]; {get; set;}

パラメータ

index
タブのインデックス

プロパティ値

タブのテキスト(シート名)を含むString
この例では、シート名タブの表示の設定方法を示します。
FpSpread1.Sheets.Count = 3; 
FpSpread1.Tab.ActiveTabBackColor = Color.Yellow; 
FpSpread1.Tab.ActiveTabBorderColor = Color.Red; 
FpSpread1.Tab.FirstVisibleTab = 1; 
FpSpread1.Tab[0] = "First"; 
FpSpread1.Tab[1] = "Second"; 
FpSpread1.Tab[2] = "Third"; 
FpSpread1.Tab.TextColor = Color.Red; 
FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always; 
FpSpread1.Tab.VisibleCount = 2; 
FpSpread1.Tab.ScrollIncrement = 2; 
ListBox1.Items.Add(FpSpread1.Tab.Count.ToString()); 
FpSpread1.Sheets.Count = 3
FpSpread1.Tab.ActiveTabBackColor = Color.Yellow
FpSpread1.Tab.ActiveTabBorderColor = Color.Red
FpSpread1.Tab.FirstVisibleTab = 1
FpSpread1.Tab.Item(0) = "First"
FpSpread1.Tab.Item(1) = "Second"
FpSpread1.Tab.Item(2) = "Third"
FpSpread1.Tab.TextColor = Color.Red
FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always
FpSpread1.Tab.VisibleCount = 2
FpSpread1.Tab.ScrollIncrement = 2
ListBox1.Items.Add(FpSpread1.Tab.Count) 
参照

TabInfo クラス
TabInfo メンバ

 

 


© MESCIUS inc. All rights reserved.