Table of Contents

Class FrameView

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows.

public class FrameView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
Inheritance
FrameView
Implements
Derived
Inherited Members

Constructors

FrameView()

Initializes a new instance of the FrameView class using Computed layout.

FrameView(ustring, Border)

Initializes a new instance of the FrameView class using Computed layout.

FrameView(Rect, ustring, View[], Border)

Initializes a new instance of the FrameView class using Absolute layout.

Properties

Border
Text

The text displayed by the Label.

TextAlignment

Controls the text-alignment property of the label, changing it will redisplay the Label.

Title

The title to be displayed for this FrameView.

Methods

Add(View)

Add the specified View to this container.

OnCanFocusChanged()

Method invoked when the CanFocus property from a view is changed.

OnEnter(View)

Method invoked when a view gets focus.

Redraw(Rect)

Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.

Remove(View)

Removes a View from this container.

RemoveAll()

Removes all Views from this container.