windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-a57fcc3d.md
Contains a value which represents the handle of the Auto Filter Row. For more information on row handles refer to the Rows section.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public const int AutoFilterRowHandle = -2147483646
Public Const AutoFilterRowHandle As Integer = -2147483646
| Type |
|---|
| Int32 |
The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoFilterRowHandle field.
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-grid-highlight-cell-values-matching-text-in-autofilterrow/CS/CarsGridWinApp15/Main.cs#L30
string filterCellText = view.GetRowCellDisplayText(GridControl.AutoFilterRowHandle, e.Column);
if ( String.IsNullOrEmpty(filterCellText) )
winforms-grid-prevent-focusing-group-row/CS/Form1.cs#L28
int focusedRowHandle = -1;
if (e.FocusedRowHandle == GridControl.NewItemRowHandle || e.FocusedRowHandle == GridControl.AutoFilterRowHandle)
return;
winforms-grid-highlight-cell-values-matching-text-in-autofilterrow/VB/CarsGridWinApp15/Main.vb#L24
If Not view.OptionsView.ShowAutoFilterRow OrElse Not view.IsDataRow(e.RowHandle) Then Return
Dim filterCellText As String = view.GetRowCellDisplayText(GridControl.AutoFilterRowHandle, e.Column)
If String.IsNullOrEmpty(filterCellText) Then Return
winforms-grid-prevent-focusing-group-row/VB/Form1.vb#L28
Dim focusedRowHandle As Integer = -1
If e.FocusedRowHandle = GridControl.NewItemRowHandle OrElse e.FocusedRowHandle = GridControl.AutoFilterRowHandle Then Return
Dim view As GridView = CType(sender, GridView)
See Also