Version

RecordFilterDropDownPopulated Event

Raised after the filter drop-down is populated by the data presenter, giving you a chance to replace the filter drop-down with your own items or remove some of them.
Syntax
'Declaration
 
Public Event RecordFilterDropDownPopulated As EventHandler(Of RecordFilterDropDownPopulatedEventArgs)
public event EventHandler<RecordFilterDropDownPopulatedEventArgs> RecordFilterDropDownPopulated
Event Data

The event handler receives an argument of type RecordFilterDropDownPopulatedEventArgs containing data related to this event. The following RecordFilterDropDownPopulatedEventArgs properties provide information specific to this event.

PropertyDescription
DropDownItems Returns the items that will be displayed in the filter drop-down. You can modify the list to add new entries or remove existing entries from the filter drop-down.
Field Returns the associated Field (read-only).
Handled (Inherited from System.Windows.RoutedEventArgs)Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
ItemsType Returns an enumeration indicating whether the DropDownItems or MenuItems are used to populate the drop down.
MenuItems Returns the menu items that will be displayed in the filter drop-down. You can modify the list to add new entries or remove existing entries from the filter drop-down.
OriginalSource (Inherited from System.Windows.RoutedEventArgs)Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class.
RaisedForCustomFilterSelectionControl Returns true if this event is raised when the user drops down the filter drop-down in the custom filter selection control.
RecordManager Returns the associated RecordManager (read-only).
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance.
Source (Inherited from System.Windows.RoutedEventArgs)Gets or sets a reference to the object that raised the event.
Remarks

RecordFilterDropDownPopulated is raised whenever the user drops down the filter drop-down in a filter cell or via the filter icon of a field label (see FieldLayoutSettings.FilterUIType). You can manipulate the list of items that will be displayed in the filter drop-down using the Infragistics.Windows.DataPresenter.Events.RecordFilterDropDownPopulatingEventArgs.DropDownItems property of the event args.

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