Table of Contents

Method Has

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

Has<TDim>(out TDim)

Indicates whether the specified type TDim is in the hierarchy of this Dim object.

public bool Has<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 this Dim or any nested Dim is of type TDim; otherwise, false.

Type Parameters

TDim