### YamlMime:ManagedReference items: - uid: Terminal.Gui.View id: View children: - Terminal.Gui.View.#ctor - Terminal.Gui.View.#ctor(Terminal.Gui.Rect) - Terminal.Gui.View.Add(Terminal.Gui.View) - Terminal.Gui.View.Add(Terminal.Gui.View[]) - Terminal.Gui.View.AddRune(System.Int32,System.Int32,System.Rune) - Terminal.Gui.View.Bounds - Terminal.Gui.View.ChildNeedsDisplay - Terminal.Gui.View.Clear - Terminal.Gui.View.Clear(Terminal.Gui.Rect) - Terminal.Gui.View.ClearNeedsDisplay - Terminal.Gui.View.ClipToBounds - Terminal.Gui.View.ColorScheme - Terminal.Gui.View.DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean) - Terminal.Gui.View.DrawHotString(NStack.ustring,System.Boolean,Terminal.Gui.ColorScheme) - Terminal.Gui.View.DrawHotString(NStack.ustring,Terminal.Gui.Attribute,Terminal.Gui.Attribute) - Terminal.Gui.View.Driver - Terminal.Gui.View.EnsureFocus - Terminal.Gui.View.Focused - Terminal.Gui.View.FocusFirst - Terminal.Gui.View.FocusLast - Terminal.Gui.View.FocusNext - Terminal.Gui.View.FocusPrev - Terminal.Gui.View.Frame - Terminal.Gui.View.GetEnumerator - Terminal.Gui.View.HasFocus - Terminal.Gui.View.Height - Terminal.Gui.View.Id - Terminal.Gui.View.LayoutStyle - Terminal.Gui.View.LayoutSubviews - Terminal.Gui.View.MostFocused - Terminal.Gui.View.Move(System.Int32,System.Int32) - Terminal.Gui.View.PositionCursor - Terminal.Gui.View.ProcessColdKey(Terminal.Gui.KeyEvent) - Terminal.Gui.View.ProcessHotKey(Terminal.Gui.KeyEvent) - Terminal.Gui.View.ProcessKey(Terminal.Gui.KeyEvent) - Terminal.Gui.View.Redraw(Terminal.Gui.Rect) - Terminal.Gui.View.Remove(Terminal.Gui.View) - Terminal.Gui.View.RemoveAll - Terminal.Gui.View.ScreenToView(System.Int32,System.Int32) - Terminal.Gui.View.SetClip(Terminal.Gui.Rect) - Terminal.Gui.View.SetFocus(Terminal.Gui.View) - Terminal.Gui.View.SetNeedsDisplay - Terminal.Gui.View.SetNeedsDisplay(Terminal.Gui.Rect) - Terminal.Gui.View.Subviews - Terminal.Gui.View.SuperView - Terminal.Gui.View.ToString - Terminal.Gui.View.WantMousePositionReports - Terminal.Gui.View.Width - Terminal.Gui.View.X - Terminal.Gui.View.Y langs: - csharp name: View nameWithType: View fullName: Terminal.Gui.View type: Class assemblies: - Terminal.Gui namespace: Terminal.Gui summary: View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views. remarks: "
\n The View defines the base functionality for user interface elements in Terminal/gui.cs. Views\n can contain one or more subviews, can respond to user input and render themselves on the screen.\n
\n\n Views can either be created with an absolute position, by calling the constructor that takes a\n Rect parameter to specify the absolute position and size (the Frame of the View) or by setting the\n X, Y, Width and Height properties on the view. Both approaches use coordinates that are relative \n to the container they are being added to.\n
\n\n When you do not specify a Rect frame you can use the more flexible \n Dim and Pos objects that can dynamically update the position of a view. \n The X and Y properties are of type
\n When you specify the Rect parameter to a view, you are setting the LayoutStyle to Absolute, and the \n view will always stay in the position that you placed it. To change the position change the \n Frame property to the new position.\n
\n\n Subviews can be added to a View by calling the Add method. The container of a view is the \n Superview.\n
\n\n Developers can call the SetNeedsDisplay method on the view to flag a region or the entire view\n as requiring to be redrawn.\n
\n\n Views have a ColorScheme property that defines the default colors that subviews\n should use for rendering. This ensures that the views fit in the context where\n they are being used, and allows for themes to be plugged in. For example, the\n default colors for windows and toplevels uses a blue background, while it uses \n a white background for dialog boxes and a red background for errors.\n
\n\n If a ColorScheme is not set on a view, the result of the ColorScheme is the\n value of the SuperView and the value might only be valid once a view has been\n added to a SuperView, so your subclasses should not rely on ColorScheme being\n set at construction time.\n
\n\n Using ColorSchemes has the advantage that your application will work both\n in color as well as black and white displays.\n
\n\n Views that are focusable should implement the PositionCursor to make sure that\n the cursor is placed in a location that makes sense. Unix terminals do not have\n a way of hiding the cursor, so it can be distracting to have the cursor left at \n the last focused view. So views should make sure that they place the cursor\n in a visually sensible place.\n
\n\n The metnod LayoutSubviews is invoked when the size or layout of a view has\n changed. The default processing system will keep the size and dimensions\n for views that use the LayoutKind.Absolute, and will recompute the\n frames for the vies that use LayoutKind.Computed.\n
" syntax: content: 'public class View : Terminal.Gui.Responder, System.Collections.IEnumerable' inheritance: - System.Object - Terminal.Gui.Responder derivedClasses: - Terminal.Gui.Button - Terminal.Gui.CheckBox - Terminal.Gui.FrameView - Terminal.Gui.HexView - Terminal.Gui.Label - Terminal.Gui.ListView - Terminal.Gui.MenuBar - Terminal.Gui.ProgressBar - Terminal.Gui.RadioGroup - Terminal.Gui.ScrollBarView - Terminal.Gui.ScrollView - Terminal.Gui.TextField - Terminal.Gui.TextView - Terminal.Gui.Toplevel implements: - System.Collections.IEnumerable inheritedMembers: - Terminal.Gui.Responder.CanFocus - Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent) - uid: Terminal.Gui.View.#ctor id: '#ctor' parent: Terminal.Gui.View langs: - csharp name: View() nameWithType: View.View() fullName: View.View() type: Constructor assemblies: - Terminal.Gui namespace: Terminal.Gui summary: "Initializes a new instance of theThis clears the entire region used by this view.
syntax: content: public void Clear (); parameters: [] overload: Terminal.Gui.View.Clear* exceptions: [] - uid: Terminal.Gui.View.Clear(Terminal.Gui.Rect) id: Clear(Terminal.Gui.Rect) parent: Terminal.Gui.View langs: - csharp name: Clear(Rect) nameWithType: View.Clear(Rect) fullName: View.Clear(Rect) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Clears the specfied rectangular region with the current color syntax: content: public void Clear (Terminal.Gui.Rect r); parameters: - id: r type: Terminal.Gui.Rect description: To be added. overload: Terminal.Gui.View.Clear* exceptions: [] - uid: Terminal.Gui.View.ClearNeedsDisplay id: ClearNeedsDisplay parent: Terminal.Gui.View langs: - csharp name: ClearNeedsDisplay() nameWithType: View.ClearNeedsDisplay() fullName: View.ClearNeedsDisplay() type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Removes the SetNeedsDisplay and the ChildNeedsDisplay setting on this view. syntax: content: protected void ClearNeedsDisplay (); parameters: [] overload: Terminal.Gui.View.ClearNeedsDisplay* exceptions: [] - uid: Terminal.Gui.View.ClipToBounds id: ClipToBounds parent: Terminal.Gui.View langs: - csharp name: ClipToBounds() nameWithType: View.ClipToBounds() fullName: View.ClipToBounds() type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Sets the Console driver's clip region to the current View's Bounds. syntax: content: public Terminal.Gui.Rect ClipToBounds (); parameters: [] return: type: Terminal.Gui.Rect description: The existing driver's Clip region, which can be then set by setting the Driver.Clip property. overload: Terminal.Gui.View.ClipToBounds* exceptions: [] - uid: Terminal.Gui.View.ColorScheme id: ColorScheme parent: Terminal.Gui.View langs: - csharp name: ColorScheme nameWithType: View.ColorScheme fullName: View.ColorScheme type: Property assemblies: - Terminal.Gui namespace: Terminal.Gui summary: >- The color scheme for this view, if it is not defined, it returns the parent's color scheme. syntax: content: public Terminal.Gui.ColorScheme ColorScheme { get; set; } return: type: Terminal.Gui.ColorScheme description: To be added. overload: Terminal.Gui.View.ColorScheme* exceptions: [] - uid: Terminal.Gui.View.DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean) id: DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean) parent: Terminal.Gui.View langs: - csharp name: DrawFrame(Rect, Int32, Boolean) nameWithType: View.DrawFrame(Rect, Int32, Boolean) fullName: View.DrawFrame(Rect, Int32, Boolean) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Draws a frame in the current view, clipped by the boundary of this view syntax: content: public void DrawFrame (Terminal.Gui.Rect rect, int padding = 0, bool fill = false); parameters: - id: rect type: Terminal.Gui.Rect description: Rectangular region for the frame to be drawn. - id: padding type: System.Int32 description: The padding to add to the drawn frame. - id: fill type: System.Boolean description: If set totrue
it fill will the contents.
overload: Terminal.Gui.View.DrawFrame*
exceptions: []
- uid: Terminal.Gui.View.DrawHotString(NStack.ustring,System.Boolean,Terminal.Gui.ColorScheme)
id: DrawHotString(NStack.ustring,System.Boolean,Terminal.Gui.ColorScheme)
parent: Terminal.Gui.View
langs:
- csharp
name: DrawHotString(ustring, Boolean, ColorScheme)
nameWithType: View.DrawHotString(ustring, Boolean, ColorScheme)
fullName: View.DrawHotString(ustring, Boolean, ColorScheme)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Utility function to draw strings that contains a hotkey using a colorscheme and the "focused" state.
syntax:
content: public void DrawHotString (NStack.ustring text, bool focused, Terminal.Gui.ColorScheme scheme);
parameters:
- id: text
type: NStack.ustring
description: String to display, the underscoore before a letter flags the next letter as the hotkey.
- id: focused
type: System.Boolean
description: If set to true
this uses the focused colors from the color scheme, otherwise the regular ones.
- id: scheme
type: Terminal.Gui.ColorScheme
description: The color scheme to use.
overload: Terminal.Gui.View.DrawHotString*
exceptions: []
- uid: Terminal.Gui.View.DrawHotString(NStack.ustring,Terminal.Gui.Attribute,Terminal.Gui.Attribute)
id: DrawHotString(NStack.ustring,Terminal.Gui.Attribute,Terminal.Gui.Attribute)
parent: Terminal.Gui.View
langs:
- csharp
name: DrawHotString(ustring, Attribute, Attribute)
nameWithType: View.DrawHotString(ustring, Attribute, Attribute)
fullName: View.DrawHotString(ustring, Attribute, Attribute)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Utility function to draw strings that contain a hotkey
syntax:
content: public void DrawHotString (NStack.ustring text, Terminal.Gui.Attribute hotColor, Terminal.Gui.Attribute normalColor);
parameters:
- id: text
type: NStack.ustring
description: String to display, the underscoore before a letter flags the next letter as the hotkey.
- id: hotColor
type: Terminal.Gui.Attribute
description: Hot color.
- id: normalColor
type: Terminal.Gui.Attribute
description: Normal color.
overload: Terminal.Gui.View.DrawHotString*
exceptions: []
- uid: Terminal.Gui.View.Driver
id: Driver
parent: Terminal.Gui.View
langs:
- csharp
name: Driver
nameWithType: View.Driver
fullName: View.Driver
type: Field
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Points to the current driver in use by the view, it is a convenience property
for simplifying the development of new views.
syntax:
content: public static Terminal.Gui.ConsoleDriver Driver;
return:
type: Terminal.Gui.ConsoleDriver
description: To be added.
exceptions: []
- uid: Terminal.Gui.View.EnsureFocus
id: EnsureFocus
parent: Terminal.Gui.View
langs:
- csharp
name: EnsureFocus()
nameWithType: View.EnsureFocus()
fullName: View.EnsureFocus()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing.
syntax:
content: public void EnsureFocus ();
parameters: []
overload: Terminal.Gui.View.EnsureFocus*
exceptions: []
- uid: Terminal.Gui.View.Focused
id: Focused
parent: Terminal.Gui.View
langs:
- csharp
name: Focused
nameWithType: View.Focused
fullName: View.Focused
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Returns the currently focused view inside this view, or null if nothing is focused.
syntax:
content: public Terminal.Gui.View Focused { get; }
return:
type: Terminal.Gui.View
description: The focused.
overload: Terminal.Gui.View.Focused*
exceptions: []
- uid: Terminal.Gui.View.FocusFirst
id: FocusFirst
parent: Terminal.Gui.View
langs:
- csharp
name: FocusFirst()
nameWithType: View.FocusFirst()
fullName: View.FocusFirst()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Focuses the first focusable subview if one exists.
syntax:
content: public void FocusFirst ();
parameters: []
overload: Terminal.Gui.View.FocusFirst*
exceptions: []
- uid: Terminal.Gui.View.FocusLast
id: FocusLast
parent: Terminal.Gui.View
langs:
- csharp
name: FocusLast()
nameWithType: View.FocusLast()
fullName: View.FocusLast()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Focuses the last focusable subview if one exists.
syntax:
content: public void FocusLast ();
parameters: []
overload: Terminal.Gui.View.FocusLast*
exceptions: []
- uid: Terminal.Gui.View.FocusNext
id: FocusNext
parent: Terminal.Gui.View
langs:
- csharp
name: FocusNext()
nameWithType: View.FocusNext()
fullName: View.FocusNext()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Focuses the next view.
syntax:
content: public bool FocusNext ();
parameters: []
return:
type: System.Boolean
description: true
, if next was focused, false
otherwise.
overload: Terminal.Gui.View.FocusNext*
exceptions: []
- uid: Terminal.Gui.View.FocusPrev
id: FocusPrev
parent: Terminal.Gui.View
langs:
- csharp
name: FocusPrev()
nameWithType: View.FocusPrev()
fullName: View.FocusPrev()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Focuses the previous view.
syntax:
content: public bool FocusPrev ();
parameters: []
return:
type: System.Boolean
description: true
, if previous was focused, false
otherwise.
overload: Terminal.Gui.View.FocusPrev*
exceptions: []
- uid: Terminal.Gui.View.Frame
id: Frame
parent: Terminal.Gui.View
langs:
- csharp
name: Frame
nameWithType: View.Frame
fullName: View.Frame
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Gets or sets the frame for the view.
remarks: "Altering the Frame of a view will trigger the redrawing of the \n view as well as the redrawing of the affected regions in the superview."
syntax:
content: public virtual Terminal.Gui.Rect Frame { get; set; }
return:
type: Terminal.Gui.Rect
description: The frame.
overload: Terminal.Gui.View.Frame*
exceptions: []
- uid: Terminal.Gui.View.GetEnumerator
id: GetEnumerator
parent: Terminal.Gui.View
langs:
- csharp
name: GetEnumerator()
nameWithType: View.GetEnumerator()
fullName: View.GetEnumerator()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Gets an enumerator that enumerates the subviews in this view.
syntax:
content: >-
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Terminal.Gui.View/true
if has focus; otherwise, false
.
overload: Terminal.Gui.View.HasFocus*
exceptions: []
- uid: Terminal.Gui.View.Height
id: Height
parent: Terminal.Gui.View
langs:
- csharp
name: Height
nameWithType: View.Height
fullName: View.Height
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Gets or sets the height for the view. This is only used when the LayoutStyle is Computed, if the
LayoutStyle is set to Absolute, this value is ignored.
syntax:
content: public Terminal.Gui.Dim Height { get; set; }
return:
type: Terminal.Gui.Dim
description: The height.
overload: Terminal.Gui.View.Height*
exceptions: []
- uid: Terminal.Gui.View.Id
id: Id
parent: Terminal.Gui.View
langs:
- csharp
name: Id
nameWithType: View.Id
fullName: View.Id
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Gets or sets an identifier for the view;
syntax:
content: public NStack.ustring Id { get; set; }
return:
type: NStack.ustring
description: The identifier.
overload: Terminal.Gui.View.Id*
exceptions: []
- uid: Terminal.Gui.View.LayoutStyle
id: LayoutStyle
parent: Terminal.Gui.View
langs:
- csharp
name: LayoutStyle
nameWithType: View.LayoutStyle
fullName: View.LayoutStyle
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Controls how the view's Frame is computed during the LayoutSubviews method, if Absolute, then
LayoutSubviews does not change the Frame properties, otherwise the Frame is updated from the
values in X, Y, Width and Height properties.
syntax:
content: public Terminal.Gui.LayoutStyle LayoutStyle { get; set; }
return:
type: Terminal.Gui.LayoutStyle
description: The layout style.
overload: Terminal.Gui.View.LayoutStyle*
exceptions: []
- uid: Terminal.Gui.View.LayoutSubviews
id: LayoutSubviews
parent: Terminal.Gui.View
langs:
- csharp
name: LayoutSubviews()
nameWithType: View.LayoutSubviews()
fullName: View.LayoutSubviews()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "This virtual method is invoked when a view starts executing or \n when the dimensions of the view have changed, for example in \n response to the container view or terminal resizing."
syntax:
content: public virtual void LayoutSubviews ();
parameters: []
overload: Terminal.Gui.View.LayoutSubviews*
exceptions: []
- uid: Terminal.Gui.View.MostFocused
id: MostFocused
parent: Terminal.Gui.View
langs:
- csharp
name: MostFocused
nameWithType: View.MostFocused
fullName: View.MostFocused
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Returns the most focused view in the chain of subviews (the leaf view that has the focus).
syntax:
content: public Terminal.Gui.View MostFocused { get; }
return:
type: Terminal.Gui.View
description: The most focused.
overload: Terminal.Gui.View.MostFocused*
exceptions: []
- uid: Terminal.Gui.View.Move(System.Int32,System.Int32)
id: Move(System.Int32,System.Int32)
parent: Terminal.Gui.View
langs:
- csharp
name: Move(Int32, Int32)
nameWithType: View.Move(Int32, Int32)
fullName: View.Move(Int32, Int32)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: This moves the cursor to the specified column and row in the view.
syntax:
content: public void Move (int col, int row);
parameters:
- id: col
type: System.Int32
description: Col.
- id: row
type: System.Int32
description: Row.
overload: Terminal.Gui.View.Move*
exceptions: []
- uid: Terminal.Gui.View.PositionCursor
id: PositionCursor
parent: Terminal.Gui.View
langs:
- csharp
name: PositionCursor()
nameWithType: View.PositionCursor()
fullName: View.PositionCursor()
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Positions the cursor in the right position based on the currently focused view in the chain.
syntax:
content: public virtual void PositionCursor ();
parameters: []
overload: Terminal.Gui.View.PositionCursor*
exceptions: []
- uid: Terminal.Gui.View.ProcessColdKey(Terminal.Gui.KeyEvent)
id: ProcessColdKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
langs:
- csharp
name: ProcessColdKey(KeyEvent)
nameWithType: View.ProcessColdKey(KeyEvent)
fullName: View.ProcessColdKey(KeyEvent)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
syntax:
content: public override bool ProcessColdKey (Terminal.Gui.KeyEvent keyEvent);
parameters:
- id: keyEvent
type: Terminal.Gui.KeyEvent
description: Contains the details about the key that produced the event.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Gui.View.ProcessColdKey*
exceptions: []
- uid: Terminal.Gui.View.ProcessHotKey(Terminal.Gui.KeyEvent)
id: ProcessHotKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
langs:
- csharp
name: ProcessHotKey(KeyEvent)
nameWithType: View.ProcessHotKey(KeyEvent)
fullName: View.ProcessHotKey(KeyEvent)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
syntax:
content: public override bool ProcessHotKey (Terminal.Gui.KeyEvent keyEvent);
parameters:
- id: keyEvent
type: Terminal.Gui.KeyEvent
description: Contains the details about the key that produced the event.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Gui.View.ProcessHotKey*
exceptions: []
- uid: Terminal.Gui.View.ProcessKey(Terminal.Gui.KeyEvent)
id: ProcessKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
langs:
- csharp
name: ProcessKey(KeyEvent)
nameWithType: View.ProcessKey(KeyEvent)
fullName: View.ProcessKey(KeyEvent)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
syntax:
content: public override bool ProcessKey (Terminal.Gui.KeyEvent keyEvent);
parameters:
- id: keyEvent
type: Terminal.Gui.KeyEvent
description: Contains the details about the key that produced the event.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Gui.View.ProcessKey*
exceptions: []
- uid: Terminal.Gui.View.Redraw(Terminal.Gui.Rect)
id: Redraw(Terminal.Gui.Rect)
parent: Terminal.Gui.View
langs:
- csharp
name: Redraw(Rect)
nameWithType: View.Redraw(Rect)
fullName: View.Redraw(Rect)
type: Method
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: Performs a redraw of this view and its subviews, only redraws the views that have been flagged for a re-display.
remarks: >-
Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globaly on the driver.
syntax: content: public virtual void Redraw (Terminal.Gui.Rect region); parameters: - id: region type: Terminal.Gui.Rect description: The region to redraw, this is relative to the view itself. overload: Terminal.Gui.View.Redraw* exceptions: [] - uid: Terminal.Gui.View.Remove(Terminal.Gui.View) id: Remove(Terminal.Gui.View) parent: Terminal.Gui.View langs: - csharp name: Remove(View) nameWithType: View.Remove(View) fullName: View.Remove(View) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Removes a widget from this container. syntax: content: public virtual void Remove (Terminal.Gui.View view); parameters: - id: view type: Terminal.Gui.View description: To be added. overload: Terminal.Gui.View.Remove* exceptions: [] - uid: Terminal.Gui.View.RemoveAll id: RemoveAll parent: Terminal.Gui.View langs: - csharp name: RemoveAll() nameWithType: View.RemoveAll() fullName: View.RemoveAll() type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Removes all the widgets from this container. syntax: content: public virtual void RemoveAll (); parameters: [] overload: Terminal.Gui.View.RemoveAll* exceptions: [] - uid: Terminal.Gui.View.ScreenToView(System.Int32,System.Int32) id: ScreenToView(System.Int32,System.Int32) parent: Terminal.Gui.View langs: - csharp name: ScreenToView(Int32, Int32) nameWithType: View.ScreenToView(Int32, Int32) fullName: View.ScreenToView(Int32, Int32) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Converts a point from screen coordinates into the view coordinate space. syntax: content: public Terminal.Gui.Point ScreenToView (int x, int y); parameters: - id: x type: System.Int32 description: X screen-coordinate point. - id: y type: System.Int32 description: Y screen-coordinate point. return: type: Terminal.Gui.Point description: The mapped point. overload: Terminal.Gui.View.ScreenToView* exceptions: [] - uid: Terminal.Gui.View.SetClip(Terminal.Gui.Rect) id: SetClip(Terminal.Gui.Rect) parent: Terminal.Gui.View langs: - csharp name: SetClip(Rect) nameWithType: View.SetClip(Rect) fullName: View.SetClip(Rect) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Sets the clipping region to the specified region, the region is view-relative syntax: content: public Terminal.Gui.Rect SetClip (Terminal.Gui.Rect rect); parameters: - id: rect type: Terminal.Gui.Rect description: Rectangle region to clip into, the region is view-relative. return: type: Terminal.Gui.Rect description: The previous clip region. overload: Terminal.Gui.View.SetClip* exceptions: [] - uid: Terminal.Gui.View.SetFocus(Terminal.Gui.View) id: SetFocus(Terminal.Gui.View) parent: Terminal.Gui.View langs: - csharp name: SetFocus(View) nameWithType: View.SetFocus(View) fullName: View.SetFocus(View) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Focuses the specified sub-view. syntax: content: public void SetFocus (Terminal.Gui.View view); parameters: - id: view type: Terminal.Gui.View description: View. overload: Terminal.Gui.View.SetFocus* exceptions: [] - uid: Terminal.Gui.View.SetNeedsDisplay id: SetNeedsDisplay parent: Terminal.Gui.View langs: - csharp name: SetNeedsDisplay() nameWithType: View.SetNeedsDisplay() fullName: View.SetNeedsDisplay() type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: >- Invoke to flag that this view needs to be redisplayed, by any code that alters the state of the view. syntax: content: public void SetNeedsDisplay (); parameters: [] overload: Terminal.Gui.View.SetNeedsDisplay* exceptions: [] - uid: Terminal.Gui.View.SetNeedsDisplay(Terminal.Gui.Rect) id: SetNeedsDisplay(Terminal.Gui.Rect) parent: Terminal.Gui.View langs: - csharp name: SetNeedsDisplay(Rect) nameWithType: View.SetNeedsDisplay(Rect) fullName: View.SetNeedsDisplay(Rect) type: Method assemblies: - Terminal.Gui namespace: Terminal.Gui summary: Flags the specified rectangle region on this view as needing to be repainted. syntax: content: public void SetNeedsDisplay (Terminal.Gui.Rect region); parameters: - id: region type: Terminal.Gui.Rect description: The region that must be flagged for repaint. overload: Terminal.Gui.View.SetNeedsDisplay* exceptions: [] - uid: Terminal.Gui.View.Subviews id: Subviews parent: Terminal.Gui.View langs: - csharp name: Subviews nameWithType: View.Subviews fullName: View.Subviews type: Property assemblies: - Terminal.Gui namespace: Terminal.Gui summary: This returns a list of the subviews contained by this view. syntax: content: public System.Collections.Generic.IListtrue
if want mouse position reports; otherwise, false
.
overload: Terminal.Gui.View.WantMousePositionReports*
exceptions: []
- uid: Terminal.Gui.View.Width
id: Width
parent: Terminal.Gui.View
langs:
- csharp
name: Width
nameWithType: View.Width
fullName: View.Width
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Gets or sets the width for the view. This is only used when the LayoutStyle is Computed, if the
LayoutStyle is set to Absolute, this value is ignored.
syntax:
content: public Terminal.Gui.Dim Width { get; set; }
return:
type: Terminal.Gui.Dim
description: The width.
overload: Terminal.Gui.View.Width*
exceptions: []
- uid: Terminal.Gui.View.X
id: X
parent: Terminal.Gui.View
langs:
- csharp
name: X
nameWithType: View.X
fullName: View.X
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Gets or sets the X position for the view (the column). This is only used when the LayoutStyle is Computed, if the
LayoutStyle is set to Absolute, this value is ignored.
syntax:
content: public Terminal.Gui.Pos X { get; set; }
return:
type: Terminal.Gui.Pos
description: The X Position.
overload: Terminal.Gui.View.X*
exceptions: []
- uid: Terminal.Gui.View.Y
id: Y
parent: Terminal.Gui.View
langs:
- csharp
name: Y
nameWithType: View.Y
fullName: View.Y
type: Property
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: >-
Gets or sets the Y position for the view (line). This is only used when the LayoutStyle is Computed, if the
LayoutStyle is set to Absolute, this value is ignored.
syntax:
content: public Terminal.Gui.Pos Y { get; set; }
return:
type: Terminal.Gui.Pos
description: The y position (line).
overload: Terminal.Gui.View.Y*
exceptions: []
references:
- uid: Terminal.Gui.Responder
parent: Terminal.Gui
isExternal: false
name: Responder
nameWithType: Responder
fullName: Terminal.Gui.Responder
- uid: Terminal.Gui.View.#ctor
parent: Terminal.Gui.View
isExternal: false
name: View()
nameWithType: View.View()
fullName: View.View()
- uid: Terminal.Gui.View.#ctor(Terminal.Gui.Rect)
parent: Terminal.Gui.View
isExternal: false
name: View(Rect)
nameWithType: View.View(Rect)
fullName: View.View(Rect)
- uid: Terminal.Gui.Rect
parent: Terminal.Gui
isExternal: false
name: Rect
nameWithType: Rect
fullName: Terminal.Gui.Rect
- uid: Terminal.Gui.View.Add(Terminal.Gui.View)
parent: Terminal.Gui.View
isExternal: false
name: Add(View)
nameWithType: View.Add(View)
fullName: View.Add(View)
- uid: Terminal.Gui.View
parent: Terminal.Gui
isExternal: false
name: View
nameWithType: View
fullName: Terminal.Gui.View
- uid: Terminal.Gui.View.Add(Terminal.Gui.View[])
parent: Terminal.Gui.View
isExternal: false
name: Add(View[])
nameWithType: View.Add(View[])
fullName: View.Add(View[])
- uid: Terminal.Gui.View[]
parent: Terminal.Gui
isExternal: false
name: View[]
nameWithType: View[]
fullName: Terminal.Gui.View[]
spec.csharp:
- uid: Terminal.Gui.View
name: View
nameWithType: View
fullName: Terminal.Gui.View
- name: '[]'
nameWithType: '[]'
fullName: '[]'
- uid: Terminal.Gui.View.AddRune(System.Int32,System.Int32,System.Rune)
parent: Terminal.Gui.View
isExternal: false
name: AddRune(Int32, Int32, Rune)
nameWithType: View.AddRune(Int32, Int32, Rune)
fullName: View.AddRune(Int32, Int32, Rune)
- uid: System.Int32
parent: System
isExternal: true
name: Int32
nameWithType: Int32
fullName: System.Int32
- uid: System.Rune
parent: System
isExternal: true
name: Rune
nameWithType: Rune
fullName: System.Rune
- uid: Terminal.Gui.View.Bounds
parent: Terminal.Gui.View
isExternal: false
name: Bounds
nameWithType: View.Bounds
fullName: View.Bounds
- uid: Terminal.Gui.View.ChildNeedsDisplay
parent: Terminal.Gui.View
isExternal: false
name: ChildNeedsDisplay()
nameWithType: View.ChildNeedsDisplay()
fullName: View.ChildNeedsDisplay()
- uid: Terminal.Gui.View.Clear
parent: Terminal.Gui.View
isExternal: false
name: Clear()
nameWithType: View.Clear()
fullName: View.Clear()
- uid: Terminal.Gui.View.Clear(Terminal.Gui.Rect)
parent: Terminal.Gui.View
isExternal: false
name: Clear(Rect)
nameWithType: View.Clear(Rect)
fullName: View.Clear(Rect)
- uid: Terminal.Gui.View.ClearNeedsDisplay
parent: Terminal.Gui.View
isExternal: false
name: ClearNeedsDisplay()
nameWithType: View.ClearNeedsDisplay()
fullName: View.ClearNeedsDisplay()
- uid: Terminal.Gui.View.ClipToBounds
parent: Terminal.Gui.View
isExternal: false
name: ClipToBounds()
nameWithType: View.ClipToBounds()
fullName: View.ClipToBounds()
- uid: Terminal.Gui.View.ColorScheme
parent: Terminal.Gui.View
isExternal: false
name: ColorScheme
nameWithType: View.ColorScheme
fullName: View.ColorScheme
- uid: Terminal.Gui.ColorScheme
parent: Terminal.Gui
isExternal: false
name: ColorScheme
nameWithType: ColorScheme
fullName: Terminal.Gui.ColorScheme
- uid: Terminal.Gui.View.DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean)
parent: Terminal.Gui.View
isExternal: false
name: DrawFrame(Rect, Int32, Boolean)
nameWithType: View.DrawFrame(Rect, Int32, Boolean)
fullName: View.DrawFrame(Rect, Int32, Boolean)
- uid: System.Boolean
parent: System
isExternal: true
name: Boolean
nameWithType: Boolean
fullName: System.Boolean
- uid: Terminal.Gui.View.DrawHotString(NStack.ustring,System.Boolean,Terminal.Gui.ColorScheme)
parent: Terminal.Gui.View
isExternal: false
name: DrawHotString(ustring, Boolean, ColorScheme)
nameWithType: View.DrawHotString(ustring, Boolean, ColorScheme)
fullName: View.DrawHotString(ustring, Boolean, ColorScheme)
- uid: NStack.ustring
parent: NStack
isExternal: true
name: ustring
nameWithType: ustring
fullName: NStack.ustring
- uid: Terminal.Gui.View.DrawHotString(NStack.ustring,Terminal.Gui.Attribute,Terminal.Gui.Attribute)
parent: Terminal.Gui.View
isExternal: false
name: DrawHotString(ustring, Attribute, Attribute)
nameWithType: View.DrawHotString(ustring, Attribute, Attribute)
fullName: View.DrawHotString(ustring, Attribute, Attribute)
- uid: Terminal.Gui.Attribute
parent: Terminal.Gui
isExternal: false
name: Attribute
nameWithType: Attribute
fullName: Terminal.Gui.Attribute
- uid: Terminal.Gui.View.Driver
parent: Terminal.Gui.View
isExternal: false
name: Driver
nameWithType: View.Driver
fullName: View.Driver
- uid: Terminal.Gui.ConsoleDriver
parent: Terminal.Gui
isExternal: false
name: ConsoleDriver
nameWithType: ConsoleDriver
fullName: Terminal.Gui.ConsoleDriver
- uid: Terminal.Gui.View.EnsureFocus
parent: Terminal.Gui.View
isExternal: false
name: EnsureFocus()
nameWithType: View.EnsureFocus()
fullName: View.EnsureFocus()
- uid: Terminal.Gui.View.Focused
parent: Terminal.Gui.View
isExternal: false
name: Focused
nameWithType: View.Focused
fullName: View.Focused
- uid: Terminal.Gui.View.FocusFirst
parent: Terminal.Gui.View
isExternal: false
name: FocusFirst()
nameWithType: View.FocusFirst()
fullName: View.FocusFirst()
- uid: Terminal.Gui.View.FocusLast
parent: Terminal.Gui.View
isExternal: false
name: FocusLast()
nameWithType: View.FocusLast()
fullName: View.FocusLast()
- uid: Terminal.Gui.View.FocusNext
parent: Terminal.Gui.View
isExternal: false
name: FocusNext()
nameWithType: View.FocusNext()
fullName: View.FocusNext()
- uid: Terminal.Gui.View.FocusPrev
parent: Terminal.Gui.View
isExternal: false
name: FocusPrev()
nameWithType: View.FocusPrev()
fullName: View.FocusPrev()
- uid: Terminal.Gui.View.Frame
parent: Terminal.Gui.View
isExternal: false
name: Frame
nameWithType: View.Frame
fullName: View.Frame
- uid: Terminal.Gui.View.GetEnumerator
parent: Terminal.Gui.View
isExternal: false
name: GetEnumerator()
nameWithType: View.GetEnumerator()
fullName: View.GetEnumerator()
- uid: System.Collections.IEnumerator
parent: System.Collections
isExternal: true
name: IEnumerator
nameWithType: IEnumerator
fullName: System.Collections.IEnumerator
- uid: Terminal.Gui.View.HasFocus
parent: Terminal.Gui.View
isExternal: false
name: HasFocus
nameWithType: View.HasFocus
fullName: View.HasFocus
- uid: Terminal.Gui.View.Height
parent: Terminal.Gui.View
isExternal: false
name: Height
nameWithType: View.Height
fullName: View.Height
- uid: Terminal.Gui.Dim
parent: Terminal.Gui
isExternal: false
name: Dim
nameWithType: Dim
fullName: Terminal.Gui.Dim
- uid: Terminal.Gui.View.Id
parent: Terminal.Gui.View
isExternal: false
name: Id
nameWithType: View.Id
fullName: View.Id
- uid: Terminal.Gui.View.LayoutStyle
parent: Terminal.Gui.View
isExternal: false
name: LayoutStyle
nameWithType: View.LayoutStyle
fullName: View.LayoutStyle
- uid: Terminal.Gui.LayoutStyle
parent: Terminal.Gui
isExternal: false
name: LayoutStyle
nameWithType: LayoutStyle
fullName: Terminal.Gui.LayoutStyle
- uid: Terminal.Gui.View.LayoutSubviews
parent: Terminal.Gui.View
isExternal: false
name: LayoutSubviews()
nameWithType: View.LayoutSubviews()
fullName: View.LayoutSubviews()
- uid: Terminal.Gui.View.MostFocused
parent: Terminal.Gui.View
isExternal: false
name: MostFocused
nameWithType: View.MostFocused
fullName: View.MostFocused
- uid: Terminal.Gui.View.Move(System.Int32,System.Int32)
parent: Terminal.Gui.View
isExternal: false
name: Move(Int32, Int32)
nameWithType: View.Move(Int32, Int32)
fullName: View.Move(Int32, Int32)
- uid: Terminal.Gui.View.PositionCursor
parent: Terminal.Gui.View
isExternal: false
name: PositionCursor()
nameWithType: View.PositionCursor()
fullName: View.PositionCursor()
- uid: Terminal.Gui.View.ProcessColdKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
isExternal: false
name: ProcessColdKey(KeyEvent)
nameWithType: View.ProcessColdKey(KeyEvent)
fullName: View.ProcessColdKey(KeyEvent)
- uid: Terminal.Gui.KeyEvent
parent: Terminal.Gui
isExternal: false
name: KeyEvent
nameWithType: KeyEvent
fullName: Terminal.Gui.KeyEvent
- uid: Terminal.Gui.View.ProcessHotKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
isExternal: false
name: ProcessHotKey(KeyEvent)
nameWithType: View.ProcessHotKey(KeyEvent)
fullName: View.ProcessHotKey(KeyEvent)
- uid: Terminal.Gui.View.ProcessKey(Terminal.Gui.KeyEvent)
parent: Terminal.Gui.View
isExternal: false
name: ProcessKey(KeyEvent)
nameWithType: View.ProcessKey(KeyEvent)
fullName: View.ProcessKey(KeyEvent)
- uid: Terminal.Gui.View.Redraw(Terminal.Gui.Rect)
parent: Terminal.Gui.View
isExternal: false
name: Redraw(Rect)
nameWithType: View.Redraw(Rect)
fullName: View.Redraw(Rect)
- uid: Terminal.Gui.View.Remove(Terminal.Gui.View)
parent: Terminal.Gui.View
isExternal: false
name: Remove(View)
nameWithType: View.Remove(View)
fullName: View.Remove(View)
- uid: Terminal.Gui.View.RemoveAll
parent: Terminal.Gui.View
isExternal: false
name: RemoveAll()
nameWithType: View.RemoveAll()
fullName: View.RemoveAll()
- uid: Terminal.Gui.View.ScreenToView(System.Int32,System.Int32)
parent: Terminal.Gui.View
isExternal: false
name: ScreenToView(Int32, Int32)
nameWithType: View.ScreenToView(Int32, Int32)
fullName: View.ScreenToView(Int32, Int32)
- uid: Terminal.Gui.Point
parent: Terminal.Gui
isExternal: false
name: Point
nameWithType: Point
fullName: Terminal.Gui.Point
- uid: Terminal.Gui.View.SetClip(Terminal.Gui.Rect)
parent: Terminal.Gui.View
isExternal: false
name: SetClip(Rect)
nameWithType: View.SetClip(Rect)
fullName: View.SetClip(Rect)
- uid: Terminal.Gui.View.SetFocus(Terminal.Gui.View)
parent: Terminal.Gui.View
isExternal: false
name: SetFocus(View)
nameWithType: View.SetFocus(View)
fullName: View.SetFocus(View)
- uid: Terminal.Gui.View.SetNeedsDisplay
parent: Terminal.Gui.View
isExternal: false
name: SetNeedsDisplay()
nameWithType: View.SetNeedsDisplay()
fullName: View.SetNeedsDisplay()
- uid: Terminal.Gui.View.SetNeedsDisplay(Terminal.Gui.Rect)
parent: Terminal.Gui.View
isExternal: false
name: SetNeedsDisplay(Rect)
nameWithType: View.SetNeedsDisplay(Rect)
fullName: View.SetNeedsDisplay(Rect)
- uid: Terminal.Gui.View.Subviews
parent: Terminal.Gui.View
isExternal: false
name: Subviews
nameWithType: View.Subviews
fullName: View.Subviews
- uid: System.Collections.Generic.IList`1
name: IList
nameWithType: IList
fullName: System.Collections.Generic.IList
- uid: System.Collections.Generic.IList{Terminal.Gui.View}
parent: System.Collections.Generic
isExternal: true
name: IList