Class
GroupHeaderContext

Represents the context that is passed to a ListViewGroupHeader control that represents a IDataGroup within a RadListView instance.

Definition

Namespace:Telerik.UI.Xaml.Controls.Data.ListView.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class GroupHeaderContext : ViewModelBase, INotifyPropertyChanged

Inheritance: objectViewModelBaseGroupHeaderContext

Implements: INotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.PropertyChangedOverride(string)ViewModelBase.PropertyChanged

Constructors

GroupHeaderContext()

Declaration

cs-api-definition
public GroupHeaderContext()

Properties

Descriptor

Gets the GroupDescriptorBase instance that provides the grouping information.

Declaration

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

Property Value

GroupDescriptorBase

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

Owner

Gets the RadListView instance that provides the grouping context.

Declaration

cs-api-definition
public RadListView Owner { get; }

Property Value

RadListView

Methods

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()