SortEventArgs Class

 

Provides data for the Sort event.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      Microsoft.Reporting.WinForms.SortEventArgs

Syntax

[ComVisibleAttribute(false)]
public sealed class SortEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class SortEventArgs sealed : CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type SortEventArgs = 
    class
        inherit CancelEventArgs
    end
<ComVisibleAttribute(False)>
Public NotInheritable Class SortEventArgs
    Inherits CancelEventArgs

Constructors

Name Description
System_CAPS_pubmethod SortEventArgs(String, SortOrder, Boolean)

Constructs a SortEventArgs object.

Properties

Name Description
System_CAPS_pubproperty Cancel

(Inherited from CancelEventArgs.)

System_CAPS_pubproperty ClearSort

Indicates whether all other existing sorts should be cleared.

System_CAPS_pubproperty SortDirection

Gets an enumeration value that indicates the direction of the sort.

System_CAPS_pubproperty SortId

Gets the unique identifier of the sort action.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This is passed to the SortEventHandler delegate when a Sort event occurs.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Reporting.WinForms Namespace

Return to top