Table of Contents

Method GetParent

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

GetParent(T?)

Returns the parent object of o in the tree. Returns null if the object is not exposed in the tree.

public T? GetParent(T? o)

Parameters

o T

An object in the tree.

Returns

T

The parent object, or null if the object is a root or not exposed.