Table of Contents

Method HasInner

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

HasInner<TPos>(out TPos)

Searches nested Pos objects for the specified type. Override in subclasses that contain other Pos objects to enable Has<TPos>(out TPos) to find nested types.

protected virtual bool HasInner<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 any nested Pos is of type TPos; otherwise, false.

Type Parameters

TPos