Table of Contents

Method HasInner

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

HasInner<TDim>(out TDim)

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

protected virtual bool HasInner<TDim>(out TDim dim) where TDim : Dim

Parameters

dim TDim

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

Returns

bool

true if any nested Dim is of type TDim; otherwise, false.

Type Parameters

TDim