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" ); }
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