Skip to main content

DataControlBase.CustomUniqueValues Event

Enables you to specify unique values displayed within a column's Filter Dropdown.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

public event CustomUniqueValuesEventHandler CustomUniqueValues

#Event Data

The CustomUniqueValues event's handler receives an argument of the CustomUniqueValuesEventArgs type. The following properties provide information specific to this event:

Property Description
AsyncCompleted Gets an AsyncCompletedHandler delegate referencing a method that should be executed after the operation is completed.
Column Gets a column for which a drop-down filter is shown.
Filter Gets the current filter.
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
IncludeFilteredOut Gets whether a drop-down filter's values are displayed with ignoring filters by other columns.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoundDateTime Gets or sets whether to ignore time values when you filter by DateTime values.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets a control (GridControl or TreeListControl) that raised the event.
UniqueValues Gets or sets unique values.
UniqueValuesAndCounts Gets or sets unique values and their counts.
UniqueValuesAndCountsAsync Gets or sets a task that allows you to asynchronously return unique values and their counts.
UniqueValuesAsync Gets or sets a task that allows you to asynchronously return unique values.

#Remarks

The CustomUniqueValues event fires before a column's filter dropdown is populated with unique column values, allowing you to manually specify filter values.

See Also