A newer version of this page is available. Switch to the current version.

ColumnView.MRUFilters Property

Provides access to the View’s most recently used filters.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty(XtraSerializationFlags.UseAssign | XtraSerializationFlags.DefaultValue, 1000)]
[XtraSerializablePropertyId(3)]
public MRUViewFilterCollection MRUFilters { get; }

Property Value

Type Description
DevExpress.XtraGrid.Views.Base.MRUViewFilterCollection

A DevExpress.XtraGrid.Views.Base.MRUViewFilterCollection object that stores the filters recently used on the View.

Remarks

The MRUFilters property maintains the unique filters which were recently applied to the View.

The recently used filters are displayed by the View’s MRU Filter List provided that the ColumnViewOptionsFilter.AllowMRUFilterList property is set to true. The capacity of the collection is controlled by the ColumnViewOptionsFilter.MRUFilterListCount property. As a result this property also controls the maximum number of items the MRU Filter List can display.

You can use the MRUFilters property to customize the collection if necessary. Elements in the collection are represented by ViewFilter objects.

See Also