Class FrameView
The FrameView is a container frame that draws a frame around the contents
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class FrameView : Terminal.Gui.View
Constructors
FrameView(ustring)
Initializes a new instance of the Terminal.Gui.Gui.FrameView class with a title and the result is suitable to have its X, Y, Width and Height properties computed.
Declaration
public FrameView (NStack.ustring title);
Parameters
Type | Name | Description |
---|---|---|
NStack.ustring | title | Title. |
FrameView(Rect, ustring)
Initializes a new instance of the Terminal.Gui.Gui.FrameView class with an absolute position and a title.
Declaration
public FrameView (Terminal.Gui.Rect frame, NStack.ustring title);
Parameters
Type | Name | Description |
---|---|---|
Rect | frame | Frame. |
NStack.ustring | title | Title. |
Properties
Title
The title to be displayed for this window.
Declaration
public NStack.ustring Title { get; set; }
Property Value
Type | Description |
---|---|
NStack.ustring | The title. |
Methods
Add(View)
Add the specified view to the ContentView.
Declaration
public override void Add (Terminal.Gui.View view);
Parameters
Type | Name | Description |
---|---|---|
View | view | View to add to the window. |
Redraw(Rect)
Declaration
public override void Redraw (Terminal.Gui.Rect bounds);
Parameters
Type | Name | Description |
---|---|---|
Rect | bounds | To be added. |
Remove(View)
Removes a widget from this container.
Declaration
public override void Remove (Terminal.Gui.View view);
Parameters
Type | Name | Description |
---|---|---|
View | view | To be added. |