SortEventArgs Constructor (String, SortOrder, Boolean)
Constructs a SortEventArgs object.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public SortEventArgs(
string sortId,
SortOrder sortDirection,
bool clearSort
)
public:
SortEventArgs(
String^ sortId,
SortOrder sortDirection,
bool clearSort
)
new :
sortId:string *
sortDirection:SortOrder *
clearSort:bool -> SortEventArgs
Public Sub New (
sortId As String,
sortDirection As SortOrder,
clearSort As Boolean
)
Parameters
sortId
Type: System.StringThe ID of the sort action.
sortDirection
Type: Microsoft.Reporting.WinForms.SortOrderA SortOrder enumeration value that indicates the direction of the sort. The default value is None.
clearSort
Type: System.BooleanA Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
See Also
SortEventArgs Class
Microsoft.Reporting.WinForms Namespace
Return to top