Click or drag to resize

DataGridFilterSetIsAutoFilterEnabled Method

Sets if the default filters are automatically attached to each column. Set to false if you want to control filters by code.

Namespace:  DataGridExtensions
Assembly:  DataGridExtensions (in DataGridExtensions.dll)
Syntax
public static void SetIsAutoFilterEnabled(
	this DataGrid dataGrid,
	bool value
)

Parameters

dataGrid
Type: System.Windows.ControlsDataGrid
The data grid.
value
Type: SystemBoolean
The value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataGrid. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also