PowerTools SPREAD for Windows Forms 8.0J
AutoFilterIndex プロパティ (Column)


列の自動フィルタインデックスを取得または設定します。
構文
'Declaration
 
Public Property AutoFilterIndex As Integer
'使用法
 
Dim instance As Column
Dim value As Integer
 
instance.AutoFilterIndex = value
 
value = instance.AutoFilterIndex
public int AutoFilterIndex {get; set;}
次のサンプルコードは、AutoFilterIndexプロパティを設定します。
FarPoint.Win.Spread.ColumnHeader ch;
ch = fpSpread1.ActiveSheet.ColumnHeader;
ch.RowCount = 3;
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
fpSpread1.ActiveSheet.Columns[1].AutoFilterIndex = 1;
Dim ch As FarPoint.Win.Spread.ColumnHeader
ch = FpSpread1.ActiveSheet.ColumnHeader
ch.RowCount = 3
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.Columns(1).AutoFilterIndex = 1
参照

Column クラス
Column メンバ

 

 


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