Name

DataGridSortCommandEventArgs

Synopsis

This class provides extra information for the DataGrid.SortCommand event. This information includes the CommandSource, which will always be the DataGridItem that represents the header row, and the SortExpression, which indicates the column (field) title. If you use a System.Data.DataView for your data source, you can assign this expression to the Sort property.

Public NotInheritable Class DataGridSortCommandEventArgs : Inherits EventArgs
' Public Constructors
   Public Sub New(ByVal commandSource As Object, 
        ByVal dce As DataGridCommandEventArgs) 
' Public Instance Properties
   Public ReadOnly Property CommandSource As Object  
   Public ReadOnly Property SortExpression As String  
End Class

Hierarchy

System.ObjectSystem.EventArgs DataGridSortCommandEventArgs

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.