ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / SortChanging Event

In This Topic
    SortChanging Event
    In This Topic
    Occurs before the sorting state of C1DataGrid is changed.
    Syntax
    'Declaration
     
    
    Public Event SortChanging As EventHandler(Of DataGridSortChangingEventArgs)
    Event Data

    The event handler receives an argument of type DataGridSortChangingEventArgs containing data related to this event. The following DataGridSortChangingEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the columns will be sorted if this event is not cancelled.  
    Remarks
    Sorting state changes when user click in a column header or when the SortBy method is called.
    See Also