Table of Contents

Interface IAdornmentView

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

Defines the contract for the View-level backing object of an adornment layer. Implemented by AdornmentView (and its subclasses BorderView, MarginView, PaddingView), as well as by the existing Adornment class during the incremental migration.

public interface IAdornmentView

Remarks

View is typed as IAdornmentView rather than the concrete AdornmentView to allow alternative implementations (e.g., test doubles or custom renderers) without requiring inheritance from AdornmentView.

Properties

Adornment

Back-reference to the lightweight IAdornment that owns this View. AdornmentImpl is the single authoritative owner of Thickness. Set by GetOrCreateView() when the backing View is created.

Methods

OnParentFrameChanged(Rectangle)