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

Expand and Collapse Items in .NET MAUI TreeDataGrid

Updated on Jun 23, 2026

The Telerik UI for .NET MAUI TreeDataGrid lets you expand and collapse items either through the UI—by tapping on the expand/collapse icon—or programmatically.

Expand and Collapse Specific Items

The TreeDataGrid exposes the following methods to expand and collapse the children of an item:

  • Expand(object item)—Expands the children of the item.
  • Collapse(object item)—Collapses the children of the item.

Use the IsExpanded (object item) method to get a value whether the item is currently expanded (has its children visible). Returns true if the item is expanded, otherwise false.

Additional Resources

See Also