SortEventArgs 類別

 

發行︰ 2016年7月

提供 Sort 事件的資料。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

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

語法

[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

建構函式

名稱 描述
System_CAPS_pubmethod SortEventArgs(String, SortOrder, Boolean)

建構 SortEventArgs 物件。

屬性

名稱 描述
System_CAPS_pubproperty Cancel

(繼承自 CancelEventArgs。)

System_CAPS_pubproperty ClearSort

指出是否應該清除所有其他現有的排序。

System_CAPS_pubproperty SortDirection

取得指出排序方向的列舉值。

System_CAPS_pubproperty SortId

取得排序動作的唯一識別碼。

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

註解

當發生 Sort 事件時,這會傳遞至 SortEventHandler 委派。

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首