New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the context that is passed to the header of DataGridColumn that represents a IDataGroup within a RadDataGrid instance.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class GroupHeaderContext : INotifyPropertyChanged

Inheritance: objectGroupHeaderContext

Implements: INotifyPropertyChanged

Constructors

C#
public GroupHeaderContext()

Properties

Gets the aggregate values of the IDataGroup per DataGridColumn.

C#
public IEnumerable<string> AggregateValues { get; }

Gets the GroupDescriptorBase instance that provides the grouping information.

C#
public GroupDescriptorBase Descriptor { get; }

Gets the RadDataGrid instance that provides the grouping context.

C#
public RadDataGrid Grid { get; }

Gets the IDataGroup instance associated with the context.

C#
public IDataGroup Group { get; }

Gets or sets a value indicating whether the IDataGroup, this context is associated with, is currently expanded (has its child items visible).

C#
public bool IsExpanded { get; set; }

Gets the zero-based level (or the depth) of the group.

C#
public int Level { get; }

Methods

Raises the PropertyChanged event.

C#
protected void OnPropertyChanged(string changedPropertyName = "")
Parameters:changedPropertyNamestring

Provides an entry point for inheritors to provide additional logic over the PropertyChanged routine.

C#
protected virtual void PropertyChangedOverride(string changedPropertyName)
Parameters:changedPropertyNamestring

Returns a string that represents this instance.

C#
public override string ToString()
Returns:

string

A string that represents this instance.

Overrides: object.ToString()

Events

Occurs immediately after a property of this instance has changed.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged