IsFilterRecord Property (DataRecordCellArea)

Returns true if this is a filter record (readonly)
Public ReadOnly Property IsFilterRecord As Boolean
public bool IsFilterRecord {get;}
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" >
<!--Create a style that targets DataRecordCellArea.-->
<Style x:Key="{x:Type igDP:DataRecordCellArea}" TargetType="{x:Type igDP:DataRecordCellArea}">
<!--Add a trigger that highlights filter record as light-blue.-->
<Trigger Property="IsFilterRecord" Value="true">
<Setter Property="Background" Value="LightBlue" />

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

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