Version

UltraGridFilterUIProvider Class

A Windows Forms component that provides an advanced filtering user interface for an Infragistics.Win.UltraWinGrid.
Syntax
'Declaration
 
Public Class UltraGridFilterUIProvider 
   Inherits Infragistics.Win.UltraStylableComponent
   Implements Infragistics.Shared.IUltraComponent, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.UltraWinGrid.IFilterUIProvider, Infragistics.Win.UltraWinGrid.IFilterUIProviderEx 
public class UltraGridFilterUIProvider : Infragistics.Win.UltraStylableComponent, Infragistics.Shared.IUltraComponent, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.UltraWinGrid.IFilterUIProvider, Infragistics.Win.UltraWinGrid.IFilterUIProviderEx  
Remarks

The UltraGridFilterUIProvider allows a user to make use of a more complex, customizable interface in order to manipulate how data is presented to them. This interface uses a familiar design for faster adaptation and comfort, in addition to allowing the developer to provide additional functionality beyond simple filtering.

Filtering is controlled through a series of FilterTool objects, each of which corresponds to different item that is shown on a menu. The standard types of tools that a user will deal with are FilterButtonTools, FilterOperandTools, FilterMenuTools, and a single instance of a FilterTreeTool that allows for a finer degree of control over which values should be presented in the associated grid.

Though the filter provider will generate a default list of items based on the underlying data type of the column, items can be added, removed, or repositioned through the BeforeMenuPopulate and AfterMenuPopulate events. This allows the ability to add functionality to the user that can meet the needs of a custom application, such as adding a new FilterButtonTool and handling the ButtonToolClick event in order to apply sorting to a column.

The appearances of all of the items on the provider can be customized through the ButtonSettings, MenuSettings, and TreeSettings properties. In addition, each of the tools can have appearances set indivually through the AfterMenuPopulate event; these settings will override any component-level properties.

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