Class
GroupHeaderContext

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:

cs-api-definition
public class GroupHeaderContext : INotifyPropertyChanged

Inheritance: objectGroupHeaderContext

Implements: INotifyPropertyChanged

Constructors

GroupHeaderContext()

Declaration

cs-api-definition
public GroupHeaderContext()

Properties

AggregateValues

Gets the aggregate values of the IDataGroup per DataGridColumn.

Declaration

cs-api-definition
public IEnumerable<string> AggregateValues { get; }

Property Value

IEnumerable<string>

Descriptor

Gets the GroupDescriptorBase instance that provides the grouping information.

Declaration

cs-api-definition
public GroupDescriptorBase Descriptor { get; }

Property Value

GroupDescriptorBase

Grid

Gets the RadDataGrid instance that provides the grouping context.

Declaration

cs-api-definition
public RadDataGrid Grid { get; }

Property Value

RadDataGrid

Group

Gets the IDataGroup instance associated with the context.

Declaration

cs-api-definition
public IDataGroup Group { get; }

Property Value

IDataGroup

IsExpanded

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

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

Level

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

Declaration

cs-api-definition
public int Level { get; }

Property Value

int

Methods

OnPropertyChanged(string)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string changedPropertyName = "")

Parameters

changedPropertyName

string

PropertyChangedOverride(string)

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

Declaration

cs-api-definition
protected virtual void PropertyChangedOverride(string changedPropertyName)

Parameters

changedPropertyName

string

ToString()

Returns a string that represents this instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents this instance.

Overrides object.ToString()

Events

PropertyChanged

Occurs immediately after a property of this instance has changed.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged