Table of Contents

Class PaddingView

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

The View-backed rendering layer for the Padding adornment. Created lazily by Padding (via GetOrCreateView()) when SubViews are added or other View-level functionality is needed.

public class PaddingView : AdornmentView, IDisposable, ISupportInitializeNotification, ISupportInitialize, IAdornmentView, IDesignable
Inheritance
PaddingView
Implements
Inherited Members
Extension Methods

Remarks

See the AdornmentView class.

Constructors

PaddingView()

Parameter-less constructor required to support all views unit tests (e.g., AllViewsTester).

PaddingView(Padding)

Methods

GetSubViews(bool, bool, bool)

Gets all SubViews of this Padding, optionally including SubViews of the Padding's Parent.

OnMouseEvent(Mouse)

Called when a mouse event occurs within the Padding.

OnParentFrameChanged(Rectangle)