Table of Contents

Method CanExpand

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

CanExpand(T)

Override this method to return a rapid answer as to whether GetChildren(T) returns results. If you are implementing this method ensure you passed true in base constructor or set SupportsCanExpand.

public virtual bool CanExpand(T toExpand)

Parameters

toExpand T

The object to check for expandability.

Returns

bool

True if the object has children that can be expanded.