FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > DefaultRowFilter クラス : GetColumnFilterIndexFromColumnIndex メソッド |
'Declaration Public Function GetColumnFilterIndexFromColumnIndex( _ ByVal columnIndex As Integer _ ) As Integer
'使用法 Dim instance As DefaultRowFilter Dim columnIndex As Integer Dim value As Integer value = instance.GetColumnFilterIndexFromColumnIndex(columnIndex)
public int GetColumnFilterIndexFromColumnIndex( int columnIndex )
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true; int i = fpSpread1.ActiveSheet.RowFilter.GetColumnFilterIndexFromColumnIndex(0); MessageBox.Show("The column filter index is " + i.ToString());
fpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True Dim i As Integer = fpSpread1.ActiveSheet.RowFilter.GetColumnFilterIndexFromColumnIndex(0) MessageBox.Show("The column filter index is " & i.ToString())