Version

IsSummaryRow Property (UltraGridRow)

Indicates whether the row is a summary row.
Syntax
'Declaration
 
Public Overridable ReadOnly Property IsSummaryRow As Boolean
public virtual bool IsSummaryRow {get;}
Example
The following code demonstrates some of the properties available on the UltraGridRow and UltraGridCell object that identify the type of the cell and the row.

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;
			}
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also