Table of Contents

Method Has

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

Has<TPos>(out TPos)

Indicates whether the specified type TPos is in the hierarchy of this Pos object.

public bool Has<TPos>(out TPos pos) where TPos : Pos

Parameters

pos TPos

When this method returns, contains the first instance of type TPos found, or null if no instance was found.

Returns

bool

true if this Pos or any nested Pos is of type TPos; otherwise, false.

Type Parameters

TPos