New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the GridViewGroupSortChanging event. It can be canceled. The event is fired upon chaning the sort order of a group by the end user.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewGroupSortChangedEventArgs : EventArgs

Inheritance: objectEventArgsGridViewGroupSortChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewGroupSortChangingEventArgs class.

C#
public GridViewGroupSortChangedEventArgs(GridViewTemplate template, GroupDescriptor groupDescriptor, ListSortDirection direction)
Parameters:templateGridViewTemplate

The GridViewTemplate

groupDescriptorGroupDescriptor

The GroupDescriptor

directionListSortDirection

The Direction

Properties

Gets the changed group sort order.

C#
public ListSortDirection Direction { get; }

Gets the descriptor creating the group which is about the be changed.

C#
public GroupDescriptor GroupDescriptor { get; }

Gets the GridViewTemplate where the event was fired.

C#
public GridViewTemplate Template { get; }