Version

IsFilterRecord Property (RecordPresenter)

Returns true if this is a filter record (readonly)
Syntax
'Declaration
 
Public ReadOnly Property IsFilterRecord As Boolean
public bool IsFilterRecord {get;}
Example
The following code highlights filter-record as light-blue. It uses DataRecordCellArea's IsFilterRecord property in a trigger to accomplish this.

Imports Infragistics.Windows
Imports Infragistics.Windows.Controls
Imports Infragistics.Windows.Editors
Imports Infragistics.Windows.DataPresenter
Imports Infragistics.Windows.DataPresenter.Events
using Infragistics.Windows;
using Infragistics.Windows.Controls;
using Infragistics.Windows.Editors;
using Infragistics.Windows.DataPresenter;
using Infragistics.Windows.DataPresenter.Events;
        <igDP:XamDataGrid x:Name="_dp" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
            
            
<igDP:XamDataGrid.Resources>
                
<!--Create a style that targets DataRecordCellArea.-->
                
<Style x:Key="{x:Type igDP:DataRecordCellArea}" TargetType="{x:Type igDP:DataRecordCellArea}">
                    
<Style.Triggers>
                        
<!--Add a trigger that highlights filter record as light-blue.-->
                        
<Trigger Property="IsFilterRecord" Value="true">
                            
<Setter Property="Background" Value="LightBlue" />
                        
</Trigger>
                    
</Style.Triggers>
                
</Style>
            
</igDP:XamDataGrid.Resources>

            
<igDP:XamDataGrid.FieldSettings>
                
<!--Set AllowRecordFiltering to true to display the filter record.-->
                
<igDP:FieldSettings AllowRecordFiltering="true" />
            
</igDP:XamDataGrid.FieldSettings>
            
        
</igDP:XamDataGrid>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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