SortEventArgs Constructor
Constructs a SortEventArgs object.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Sub New ( _
sortId As String, _
sortDirection As SortOrder, _
clearSort As Boolean _
)
'Usage
Dim sortId As String
Dim sortDirection As SortOrder
Dim clearSort As Boolean
Dim instance As New SortEventArgs(sortId, sortDirection, clearSort)
public SortEventArgs (
string sortId,
SortOrder sortDirection,
bool clearSort
)
public:
SortEventArgs (
String^ sortId,
SortOrder sortDirection,
bool clearSort
)
public SortEventArgs (
String sortId,
SortOrder sortDirection,
boolean clearSort
)
public function SortEventArgs (
sortId : String,
sortDirection : SortOrder,
clearSort : boolean
)
Parameters
- sortId
The ID of the sort action.
- sortDirection
A SortOrder enumeration value that indicates the direction of the sort. The default value is None.
- clearSort
A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
See Also
Reference
SortEventArgs Class
SortEventArgs Members
Microsoft.Reporting.WinForms Namespace