Back to Devexpress

FilterControl.ApplyFilter() Method

windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-914b9afb.md

latest2.3 KB
Original Source

FilterControl.ApplyFilter() Method

Applies the filter criteria to the source control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void ApplyFilter()
vb
Public Sub ApplyFilter

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplyFilter() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-filtercontrol-implement-ifilteredcomponent/CS/Q200298/Form1.cs#L24

csharp
private void OnApplyFilterClick(object sender, EventArgs e) {
    filterControl1.ApplyFilter();
}

winforms-filtercontrol-implement-ifilteredcomponent/VB/Q200298/Form1.vb#L21

vb
Private Sub OnApplyFilterClick(ByVal sender As Object, ByVal e As EventArgs)
    filterControl1.ApplyFilter()
End Sub

See Also

FilterCriteria

FilterString

SourceControl

FilterControl Class

FilterControl Members

DevExpress.XtraEditors Namespace