Version

FilterRecordLocation Enumeration

Used for specifying FieldLayoutSettings.FilterRecordLocation property.
Syntax
'Declaration
 
Public Enum FilterRecordLocation 
   Inherits System.Enum
public enum FilterRecordLocation : System.Enum 
Members
MemberDescription
DefaultDefault is resolved to OnTopFixed.
OnBottomFilter record is displayed as the last record in a records collection. This record scrolls with its sibling records.
OnBottomFixedFilter record is displayed as the last record in a records collection. This record is fixed and does not scroll with its sibling records.
OnTopFilter record is displayed as the first record in a records collection. This record scrolls with its sibling records.
OnTopFixedFilter record is displayed as the first record in a records collection. This record is fixed and does not scroll with its sibling records.
Example
The following code snipet enables record filtering functionality.

Imports Infragistics.Windows
Imports Infragistics.Windows.Editors
Imports Infragistics.Windows.DataPresenter

    Private Sub Window1_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
        
        ' Set AllowRecordFiltering to enable record filter UI.
        _dp.FieldSettings.AllowRecordFiltering = True

        ' Use FilterUIType to specify what type of UI to use: Filter icons 
        ' in the field labels or the filter-record.
        _dp.FieldLayoutSettings.FilterUIType = FilterUIType.FilterRecord

        ' If using filter-record, use FilterRecordLocation to control the location of
        ' the filter record.
        _dp.FieldLayoutSettings.FilterRecordLocation = FilterRecordLocation.OnTopFixed

    End Sub
using Infragistics.Windows;
using Infragistics.Windows.Editors;
using Infragistics.Windows.DataPresenter;

		public void Window1_Loaded( object sender, RoutedEventArgs e )
		{
			// Set AllowRecordFiltering to enable record filter UI.
			_dp.FieldSettings.AllowRecordFiltering = true;

			// Use FilterUIType to specify what type of UI to use: Filter icons 
			// in the field labels or the filter-record.
			_dp.FieldLayoutSettings.FilterUIType = FilterUIType.FilterRecord;

			// If using filter-record, use FilterRecordLocation to control the location of
			// the filter record.
			_dp.FieldLayoutSettings.FilterRecordLocation = FilterRecordLocation.OnTopFixed;
		}
        <igDP:XamDataGrid x:Name="_dp" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >

            
<igDP:XamDataGrid.FieldSettings>
                
<igDP:FieldSettings
                    
AllowRecordFiltering="true"    
                
/>
            
</igDP:XamDataGrid.FieldSettings>
            
            
<igDP:XamDataGrid.FieldLayoutSettings>
                
<igDP:FieldLayoutSettings
                    
FilterUIType="FilterRecord"
                    
FilterRecordLocation="OnTopFixed"
                
/>
            
</igDP:XamDataGrid.FieldLayoutSettings>
            
        
</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