  | ToolsSetApplyInitialSorting Method  | 
 
            Sets a flag to enable the 'apply initial sorting' feature.
            
 
    Namespace: 
   DataGridExtensions
    Assembly:
   DataGridExtensions (in DataGridExtensions.dll)
Syntaxpublic static void SetApplyInitialSorting(
	this DataGrid dataGrid,
	bool value
)
<ExtensionAttribute>
Public Shared Sub SetApplyInitialSorting ( 
	dataGrid As DataGrid,
	value As Boolean
)
Parameters
- dataGrid
 - Type: System.Windows.ControlsDataGrid
The data grid. - value
 - Type: SystemBoolean
if set to true the initial sorting will be applied. 
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