Share via


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

  • clearSort
    Type: System.Boolean

    A 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