Table of Contents

Constructor DimFunc

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

DimFunc(Func<int>)

Represents a function Dim object that computes the dimension by executing the provided function.

public DimFunc(Func<int> Fn)

Parameters

Fn Func<int>

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

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.