Table of Contents

Class TableViewGroupInfo

Namespace
WinUI.TableView
Assembly
WinUI.TableView.dll

Describes a single group header shown by a TableViewGroupHeaderRow - its display name, item count, nesting level, and expanded/collapsed state. This is the object bound as a WinUI.TableView.CollectionViewGroup's WinUI.TableView.CollectionViewGroup.Group.

[GeneratedBindableCustomProperty]
public class TableViewGroupInfo : DependencyObject, IWinRTObject
Inheritance
object
DependencyObject
TableViewGroupInfo
Implements
IWinRTObject

Fields

IsExpandedProperty

Identifies the IsExpanded dependency property.

public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

Properties

Count

Gets the number of items in this group (including all descendant subgroups/items, if any).

public int Count { get; init; }

Property Value

int

IsExpanded

Gets or sets a value indicating whether this group's items (and, for a non-leaf group, every descendant subgroup/item) are currently shown.

public bool IsExpanded { get; set; }

Property Value

bool

Key

Gets the group's key, e.g. the value of the column/property being grouped by.

public object? Key { get; init; }

Property Value

object

Methods

ToString()

Returns a string that represents the current object.

public override string? ToString()

Returns

string

A string that represents the current object.