Table of Contents

Method ResizeFromTop

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

ResizeFromTop(int)

Resizes from the top edge by adjusting both Y position and height (for keyboard). Moves the view up/down while expanding/contracting from the top.

public bool ResizeFromTop(int delta)

Parameters

delta int

Amount to adjust (negative = up/expand, positive = down/contract).

Returns

bool

True if the resize was performed.