Table of Contents

Constructor DimFunc

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

DimFunc(Func<View?, int>, View?)

Represents a function Dim object that computes the dimension based on the passed view and by executing the provided function.

public DimFunc(Func<View?, int> Fn, View? View = null)

Parameters

Fn Func<View, int>

The function that computes the dimension. If this function throws LayoutException...

View View

The Dim returned from the function based on the passed view.

Remarks

This is a low-level API that is typically used internally by the layout system. Use the various static methods on the Dim class to create Dim objects instead.

DimFunc(DimFunc)

protected DimFunc(DimFunc original)

Parameters

original DimFunc