Table of Contents

Method Func

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Func(Func<int>)

Creates a Pos object that computes the position by executing the provided function. The function will be called every time the position is needed.

public static Pos Func(Func<int> function)

Parameters

function Func<int>

The function to be executed.

Returns

Pos

The Pos returned from the function.