ExpandCollapseRecursive(Func<TModel, Boolean>) Method

Definition

Namespace TreeDataGridCore
Assembly TreeDataGrid.Core.dll

Expands or collapses rows according to a condition.

public void ExpandCollapseRecursive(Func<TModel, bool> predicate)

Parameters

predicate
Func<TModel, Boolean>

A function which is passed a model instance and returns a boolean value representing the desired expanded state of the row.