Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / AttachSortChanged<T> Method
The data collection.
The event handler.

In This Topic
    AttachSortChanged<T> Method
    In This Topic
    Attaches the specified handler to the sort changed event.
    Syntax
    'Declaration
     
    
    Public Shared Sub AttachSortChanged(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal handler As EventHandler _
    ) 
    public static void AttachSortChanged<T>( 
       IDataCollection<T> dataCollection,
       EventHandler handler
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    handler
    The event handler.

    Type Parameters

    T
    See Also