Table of Contents

Method GetOrCreateView

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

GetOrCreateView()

Returns the existing AdornmentView, creating it if not yet allocated. Calls BeginInit() and/or EndInit() on the new view to match the parent's current initialization state.

public AdornmentView GetOrCreateView()

Returns

AdornmentView

Remarks

Must be called on the UI thread. Internal to prevent eager allocation by consumers.