バージョン

IsFilterRow プロパティ (UltraGridRow)

この行がフィルター行かどうかを示します。
シンタックス
'宣言
 
Public Overridable ReadOnly Property IsFilterRow As Boolean
public virtual bool IsFilterRow {get;}
解説

行コレクションに関連付けられたフィルター行を取得するには、RowsCollection の RowsCollection.FilterRow プロパティを使用します。

フィルター行機能を有効にするには、 を FilterRow に設定します。また、 が True に設定されていることを確認します。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid


    Private Sub UltraButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles UltraButton1.Click
        Dim row As UltraGridRow = Me.UltraGrid1.ActiveRow
        Dim cell As UltraGridCell = Me.UltraGrid1.ActiveCell

        If Not Nothing Is row Then
            Dim rowType As Type = row.GetType()

            Dim isDataRow As Boolean = row.IsDataRow
            Dim isGroupByRow As Boolean = row.IsGroupByRow
            Dim isFilterRow As Boolean = row.IsFilterRow
            Dim isSummaryRow As Boolean = row.IsSummaryRow
            Dim isTemplateAddRow As Boolean = row.IsTemplateAddRow

            System.Diagnostics.Debug.WriteLine("Row type = " & rowType.Name)
            System.Diagnostics.Debug.WriteLine("isDataRow = " & isDataRow)
            System.Diagnostics.Debug.WriteLine("isGroupByRow = " & isGroupByRow)
            System.Diagnostics.Debug.WriteLine("isFilterRow = " & isFilterRow)
            System.Diagnostics.Debug.WriteLine("isSummaryRow = " & isSummaryRow)
            System.Diagnostics.Debug.WriteLine("isTemplateAddRow = " & isTemplateAddRow)
        End If

        If Not Nothing Is cell Then
            Dim cellType As Type = cell.GetType()
            Dim isDataCell As Boolean = cell.IsDataCell
            Dim isFilterRowCell As Boolean = cell.IsFilterRowCell

            System.Diagnostics.Debug.WriteLine("Cell type = " & cellType.Name)
            System.Diagnostics.Debug.WriteLine("isDataCell = " & isDataCell)
            System.Diagnostics.Debug.WriteLine("isFilterRowCell  = " & isFilterRowCell)

            ' You can get the cell's row using the Row property.
            row = cell.Row
        End If
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;


		private void ultraButton1_Click(object sender, System.EventArgs e)
		{
			UltraGridRow row = this.UltraGrid1.ActiveRow;
			UltraGridCell cell = this.UltraGrid1.ActiveCell;

			if ( null != row )
			{
				Type rowType = row.GetType( );

				bool isDataRow = row.IsDataRow;
				bool isGroupByRow = row.IsGroupByRow;
				bool isFilterRow = row.IsFilterRow;
				bool isSummaryRow = row.IsSummaryRow;
				bool isTemplateAddRow = row.IsTemplateAddRow;

				System.Diagnostics.Debug.WriteLine( "Row type = " + rowType.Name );
				System.Diagnostics.Debug.WriteLine( "isDataRow = " + isDataRow );
				System.Diagnostics.Debug.WriteLine( "isGroupByRow = " + isGroupByRow );
				System.Diagnostics.Debug.WriteLine( "isFilterRow = " + isFilterRow );
				System.Diagnostics.Debug.WriteLine( "isSummaryRow = " + isSummaryRow );
				System.Diagnostics.Debug.WriteLine( "isTemplateAddRow = " + isTemplateAddRow );
			}

			if ( null != cell )
			{
				Type cellType = cell.GetType( );
				bool isDataCell = cell.IsDataCell;
				bool isFilterRowCell = cell.IsFilterRowCell;

				System.Diagnostics.Debug.WriteLine( "Cell type = " + cellType.Name );
				System.Diagnostics.Debug.WriteLine( "isDataCell = " + isDataCell );
				System.Diagnostics.Debug.WriteLine( "isFilterRowCell  = " + isFilterRowCell );

				// You can get the cell's row using the Row property.
				row = cell.Row;
			}
		}
参照