New to Telerik UI for WinForms? Start a free 30-day trial

Provides the item being grouped and lets a handler supply its group key or request the default grouping predicate.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PropertyGridCustomGroupingEventArgs : EventArgs

Inheritance: objectEventArgsPropertyGridCustomGroupingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes grouping event data for the specified table and item.

C#
public PropertyGridCustomGroupingEventArgs(PropertyGridTableElement table, PropertyGridItem item)
Parameters:tablePropertyGridTableElement

The table element evaluating the item's group.

itemPropertyGridItem

The item being grouped.

Properties

Gets or sets the GroupKey. The GroupKey is a unique identifier for a group.

C#
public object GroupKey { get; set; }

Gets or sets a value indicating whether this PropertyGridCustomGroupingEventArgs is handled.

C#
public bool Handled { get; set; }
Property Value:

true if handled; otherwise, false.

When true, the table uses GroupKey; when false, it uses the collection view's default grouping predicate. The initial value is true.

Gets the item tha is being processed.

C#
public PropertyGridItem Item { get; }

Gets the PropertyGridTableElement.

C#
public PropertyGridTableElement PropertyGridTable { get; }