Table of Contents

Method GetTopSuperView

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

GetTopSuperView(View?, View?)

Walks up the SuperView chain and returns the topmost ancestor of from (or of this View if from is null).

public View? GetTopSuperView(View? from = null, View? to = null)

Parameters

from View

The View whose ancestor chain to walk. If null, starts from this View's SuperView.

to View

If specified, traversal stops when this View is reached. Defaults to TopRunnableView.

Returns

View

The topmost ancestor found, to if encountered, or null if no ancestors exist.

See Also