Version

FilterDropDownButtonImage Property

Gets or sets the image that's used to draw the filter drop down buttons on the column headers.
Syntax
'Declaration
 
Public Property FilterDropDownButtonImage As Image
public Image FilterDropDownButtonImage {get; set;}
Remarks

Use FilterDropDownButtonImageActive to set the image for headers with active filters. FilterDropDownButtonImage will be used for headers that don't have any filters in effect.

Example
Following code shows how you can use custom images for icons that are shown on the column headers when row filtering and summary row features are enabled. Images will be scaled to fit.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button17_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button17.Click

      ' Enable row filtering and row summaries features
      Me.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = DefaultableBoolean.True
      Me.ultraGrid1.DisplayLayout.Override.AllowRowSummaries = AllowRowSummaries.BasedOnDataType

      ' Set the normal filter icon and the active filter icon which is what gets displayed
      ' when there are active filters for that column.
      Me.ultraGrid1.DisplayLayout.FilterDropDownButtonImage = Image.FromFile("d:\Filter Icon File.bmp")
      Me.ultraGrid1.DisplayLayout.FilterDropDownButtonImageActive = Image.FromFile("d:\Active Filter Icon File.bmp")

      ' Set the icon for summary rows icon.
      Me.ultraGrid1.DisplayLayout.SummaryButtonImage = Image.FromFile("d:\Summary Icon File.bmp")

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button17_Click(object sender, System.EventArgs e)
{

	// Enable row filtering and row summaries features
	this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = DefaultableBoolean.True;
	this.ultraGrid1.DisplayLayout.Override.AllowRowSummaries = AllowRowSummaries.BasedOnDataType;

	// Set the normal filter icon and the active filter icon which is what gets displayed
	// when there are active filters for that column.
	this.ultraGrid1.DisplayLayout.FilterDropDownButtonImage = Image.FromFile( "d:\\Filter Icon File.bmp" );
	this.ultraGrid1.DisplayLayout.FilterDropDownButtonImageActive = Image.FromFile( "d:\\Active Filter Icon File.bmp" );

	// Set the icon for summary rows icon.
	this.ultraGrid1.DisplayLayout.SummaryButtonImage = Image.FromFile( "d:\\Summary Icon File.bmp" );

}
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