diff --git a/README.md b/README.md index abef94d7d..356c4e306 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ A toolkit for building console GUI apps for .NET, .NET Core, and Mono that works * [Button](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.Button.html) * [CheckBox](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.CheckBox.html) +* [ColorPicker](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html) * [ComboBox](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.ComboBox.html) * [Dialog](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.Dialog.html) * [OpenDialog](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html) diff --git a/Terminal.Gui/Views/ColorPicker.cs b/Terminal.Gui/Views/ColorPicker.cs new file mode 100644 index 000000000..07472279a --- /dev/null +++ b/Terminal.Gui/Views/ColorPicker.cs @@ -0,0 +1,249 @@ +using System; +using NStack; + +namespace Terminal.Gui { + + /// + /// The Color picker. + /// + public class ColorPicker : View { + /// + /// Number of colors on a line. + /// + private static readonly int colorsPerLine = 8; + + /// + /// Number of color lines. + /// + private static readonly int lineCount = 2; + + /// + /// Horizontal zoom. + /// + private static readonly int horizontalZoom = 4; + + /// + /// Vertical zoom. + /// + private static readonly int verticalZoom = 2; + + // Cursor runes. + private static readonly Rune [] cursorRunes = new Rune [] + { + 0x250C, 0x2500, 0x2500, 0x2510, + 0x2514, 0x2500, 0x2500, 0x2518 + }; + + /// + /// Cursor for the selected color. + /// + public Point Cursor { + get { + return new Point (selectColorIndex % colorsPerLine, selectColorIndex / colorsPerLine); + } + + set { + var colorIndex = value.Y * colorsPerLine + value.X; + SelectedColor = (Color)colorIndex; + } + } + + /// + /// Fired when a color is picked. + /// + public event Action ColorChanged; + + private int selectColorIndex = (int)Color.Black; + + /// + /// Selected color. + /// + public Color SelectedColor { + get { + return (Color)selectColorIndex; + } + + set { + selectColorIndex = (int)value; + ColorChanged?.Invoke (); + SetNeedsDisplay (); + } + } + + /// + /// Initializes a new instance of . + /// + public ColorPicker () : base ("Color Picker") + { + Initialize (); + } + + /// + /// Initializes a new instance of . + /// + /// Title. + public ColorPicker (ustring title) : base (title) + { + Initialize (); + } + + /// + /// Initializes a new instance of . + /// + /// Location point. + /// Title. + public ColorPicker (Point point, ustring title) : this (point.X, point.Y, title) + { + } + + /// + /// Initializes a new instance of . + /// + /// X location. + /// Y location. + /// Title + public ColorPicker (int x, int y, ustring title) : base (x, y, title) + { + Initialize (); + } + + private void Initialize() + { + CanFocus = true; + Width = colorsPerLine * horizontalZoom; + Height = lineCount * verticalZoom + 1; + + AddCommands (); + AddKeyBindings (); + } + + /// + /// Add the commands. + /// + private void AddCommands () + { + AddCommand (Command.Left, () => MoveLeft ()); + AddCommand (Command.Right, () => MoveRight ()); + AddCommand (Command.LineUp, () => MoveUp ()); + AddCommand (Command.LineDown, () => MoveDown ()); + } + + /// + /// Add the KeyBindinds. + /// + private void AddKeyBindings () + { + AddKeyBinding (Key.CursorLeft, Command.Left); + AddKeyBinding (Key.CursorRight, Command.Right); + AddKeyBinding (Key.CursorUp, Command.LineUp); + AddKeyBinding (Key.CursorDown, Command.LineDown); + } + + /// + public override void Redraw (Rect bounds) + { + base.Redraw (bounds); + + Driver.SetAttribute (HasFocus ? ColorScheme.Focus : GetNormalColor ()); + var colorIndex = 0; + + for (var y = 0; y < (Height.Anchor (0) - 1) / verticalZoom; y++) { + for (var x = 0; x < Width.Anchor (0) / horizontalZoom; x++) { + var foregroundColorIndex = y == 0 ? colorIndex + colorsPerLine : colorIndex - colorsPerLine; + Driver.SetAttribute (Driver.MakeAttribute ((Color)foregroundColorIndex, (Color)colorIndex)); + var selected = x == Cursor.X && y == Cursor.Y; + DrawColorBox (x, y, selected); + colorIndex++; + } + } + } + + /// + /// Draw a box for one color. + /// + /// X location. + /// Y location + /// + private void DrawColorBox (int x, int y, bool selected) + { + var index = 0; + + for (var zommedY = 0; zommedY < verticalZoom; zommedY++) { + for (var zommedX = 0; zommedX < horizontalZoom; zommedX++) { + Move (x * horizontalZoom + zommedX, y * verticalZoom + zommedY + 1); + + if (selected) { + var character = cursorRunes [index]; + Driver.AddRune (character); + } else { + Driver.AddRune (' '); + } + + index++; + } + } + } + + /// + /// Moves the selected item index to the previous column. + /// + /// + public virtual bool MoveLeft () + { + if (Cursor.X > 0) SelectedColor--; + return true; + } + + /// + /// Moves the selected item index to the next column. + /// + /// + public virtual bool MoveRight () + { + if (Cursor.X < colorsPerLine - 1) SelectedColor++; + return true; + } + + /// + /// Moves the selected item index to the previous row. + /// + /// + public virtual bool MoveUp () + { + if (Cursor.Y > 0) SelectedColor -= colorsPerLine; + return true; + } + + /// + /// Moves the selected item index to the next row. + /// + /// + public virtual bool MoveDown () + { + if (Cursor.Y < lineCount - 1) SelectedColor += colorsPerLine; + return true; + } + + /// + public override bool ProcessKey (KeyEvent kb) + { + var result = InvokeKeybindings (kb); + if (result != null) + return (bool)result; + + return false; + } + + /// + public override bool MouseEvent (MouseEvent me) + { + if (!me.Flags.HasFlag (MouseFlags.Button1Clicked) || !CanFocus) + return false; + + SetFocus (); + Cursor = new Point (me.X / horizontalZoom, (me.Y - 1) / verticalZoom); + + return true; + } + } +} diff --git a/UICatalog/Scenarios/ColorPicker.cs b/UICatalog/Scenarios/ColorPicker.cs new file mode 100644 index 000000000..29ead81ae --- /dev/null +++ b/UICatalog/Scenarios/ColorPicker.cs @@ -0,0 +1,112 @@ +using Terminal.Gui; +using System; + +namespace UICatalog.Scenarios { + [ScenarioMetadata (Name: "Color Picker", Description: "Color Picker.")] + [ScenarioCategory ("Colors")] + [ScenarioCategory ("Controls")] + public class ColorPickers : Scenario { + /// + /// Foreground ColorPicker. + /// + private ColorPicker foregroundColorPicker; + + /// + /// Background ColorPicker. + /// + private ColorPicker backgroundColorPicker; + + /// + /// Foreground color label. + /// + private Label foregroundColorLabel; + + /// + /// Background color Label. + /// + private Label backgroundColorLabel; + + /// + /// Demo label. + /// + private Label demoLabel; + + /// + /// Setup the scenario. + /// + public override void Setup () + { + // Scenario Window's. + Win.Title = this.GetName (); + + // Forground ColorPicker. + foregroundColorPicker = new ColorPicker ("Foreground Color"); + foregroundColorPicker.X = 0; + foregroundColorPicker.Y = 0; + foregroundColorPicker.ColorChanged += ForegroundColor_ColorChanged; + Win.Add (foregroundColorPicker); + + foregroundColorLabel = new Label (); + foregroundColorLabel.X = Pos.Left(foregroundColorPicker); + foregroundColorLabel.Y = Pos.Bottom (foregroundColorPicker) + 1; + Win.Add (foregroundColorLabel); + + // Background ColorPicker. + backgroundColorPicker = new ColorPicker (); + backgroundColorPicker.Text = "Background Color"; + backgroundColorPicker.X = Pos.AnchorEnd () - (Pos.Right (backgroundColorPicker) - Pos.Left (backgroundColorPicker)); + backgroundColorPicker.Y = 0; + backgroundColorPicker.ColorChanged += BackgroundColor_ColorChanged; + Win.Add (backgroundColorPicker); + + backgroundColorLabel = new Label (); + backgroundColorLabel.X = Pos.AnchorEnd () - (Pos.Right (backgroundColorLabel) - Pos.Left (backgroundColorLabel)); + backgroundColorLabel.Y = Pos.Bottom (backgroundColorPicker) + 1; + Win.Add (backgroundColorLabel); + + // Demo Label. + demoLabel = new Label ("Lorem Ipsum"); + demoLabel.X = Pos.Center (); + demoLabel.Y = 1; + Win.Add (demoLabel); + + // Set default colors. + backgroundColorPicker.SelectedColor = demoLabel.SuperView.ColorScheme.Normal.Background; + foregroundColorPicker.SelectedColor = demoLabel.SuperView.ColorScheme.Normal.Foreground; + } + + /// + /// Fired when foreground color is changed. + /// + private void ForegroundColor_ColorChanged () + { + UpdateColorLabel (foregroundColorLabel, foregroundColorPicker); + UpdateDemoLabel (); + } + + /// + /// Fired when background color is changed. + /// + private void BackgroundColor_ColorChanged () + { + UpdateColorLabel (backgroundColorLabel, backgroundColorPicker); + UpdateDemoLabel (); + } + + /// + /// Update a color label from his ColorPicker. + /// + private void UpdateColorLabel (Label label, ColorPicker colorPicker) + { + label.Clear (); + label.Text = $"{colorPicker.SelectedColor} - {(int)colorPicker.SelectedColor}"; + } + + /// + /// Update Demo Label. + /// + private void UpdateDemoLabel () => demoLabel.ColorScheme = new ColorScheme () { + Normal = new Terminal.Gui.Attribute (foregroundColorPicker.SelectedColor, backgroundColorPicker.SelectedColor) + }; + } +} \ No newline at end of file diff --git a/UnitTests/ColorPickerTests.cs b/UnitTests/ColorPickerTests.cs new file mode 100644 index 000000000..8a33df60b --- /dev/null +++ b/UnitTests/ColorPickerTests.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Xunit; + +namespace Terminal.Gui.Views { + public class ColorPickerTests { + [Fact] + public void Constructors () + { + var colorPicker = new ColorPicker (); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + Assert.Equal (new Point (0, 0), colorPicker.Cursor); + Assert.True (colorPicker.CanFocus); + Assert.Equal (new Rect (0, 0, 32, 5), colorPicker.Frame); + + colorPicker = new ColorPicker (5, 10, "Title"); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + Assert.Equal (new Point (0, 0), colorPicker.Cursor); + Assert.True (colorPicker.CanFocus); + Assert.Equal (new Rect (5, 10, 32, 5), colorPicker.Frame); + + colorPicker = new ColorPicker (new Point (10, 15), "Title"); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + Assert.Equal (new Point (0, 0), colorPicker.Cursor); + Assert.True (colorPicker.CanFocus); + Assert.Equal (new Rect (10, 15, 32, 5), colorPicker.Frame); + } + + [Fact] + [AutoInitShutdown] + public void KeyBindings_Command () + { + var colorPicker = new ColorPicker (); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorRight, new KeyModifiers ()))); + Assert.Equal (Color.Blue, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal (Color.BrightBlue, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorLeft, new KeyModifiers ()))); + Assert.Equal (Color.DarkGray, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorUp, new KeyModifiers ()))); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorLeft, new KeyModifiers ()))); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + + Assert.True (colorPicker.ProcessKey (new KeyEvent (Key.CursorUp, new KeyModifiers ()))); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + } + + [Fact] + [AutoInitShutdown] + public void MouseEvents () + { + var colorPicker = new ColorPicker (); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + + Assert.False (colorPicker.MouseEvent (new MouseEvent ())); + + Assert.True (colorPicker.MouseEvent (new MouseEvent () { Flags = MouseFlags.Button1Clicked, X = 4, Y = 0 })); + Assert.Equal (Color.Blue, colorPicker.SelectedColor); + } + + [Fact] + [AutoInitShutdown] + public void SelectedColorAndCursor () + { + var colorPicker = new ColorPicker (); + colorPicker.SelectedColor = Color.White; + Assert.Equal (7, colorPicker.Cursor.X); + Assert.Equal (1, colorPicker.Cursor.Y); + + colorPicker.SelectedColor = Color.Black; + Assert.Equal (0, colorPicker.Cursor.X); + Assert.Equal (0, colorPicker.Cursor.Y); + + colorPicker.Cursor = new Point (7, 1); + Assert.Equal (Color.White, colorPicker.SelectedColor); + + colorPicker.Cursor = new Point (0, 0); + Assert.Equal (Color.Black, colorPicker.SelectedColor); + } + } +} diff --git a/docs/README.html b/docs/README.html index 79c32d0b2..04a9f6cae 100644 --- a/docs/README.html +++ b/docs/README.html @@ -8,7 +8,7 @@ To Generate the Docs - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html index ccd653cde..1496b5097 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html index 637fbc281..fc791fe47 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.html index 9fbeabe6c..88d31a1c1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html b/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html index f00deae33..b201a828e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html index 6bd0b87db..2459a4a89 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html b/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html index 0a593b7f2..bb8d12213 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html @@ -10,7 +10,7 @@ - + @@ -325,6 +325,9 @@ border line or spacing around.
View.Height
+
+ View.TextFormatter +
View.SuperView
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Border.html b/docs/api/Terminal.Gui/Terminal.Gui.Border.html index 0309a3fa5..8da172cf4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Border.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Border.html @@ -10,7 +10,7 @@ - + @@ -478,7 +478,7 @@ Gets the parent Methods -

DrawContent(View)

+

DrawContent(View, Boolean)

Drawn the BorderThickness more the Padding more the BorderStyle and the Effect3D. @@ -486,7 +486,7 @@ more the
Declaration
-
public void DrawContent(View view = null)
+
public void DrawContent(View view = null, bool fill = true)
Parameters
@@ -501,14 +501,19 @@ more the View - + + + + + +
viewThe view to draw.
System.BooleanfillIf it will clear or not the content area.

DrawFullContent()

-Same as DrawContent(View) but drawing full frames for all borders. +Same as DrawContent(View, Boolean) but drawing full frames for all borders.
Declaration
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html index 3f9c181e7..b0bfec740 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Button.html b/docs/api/Terminal.Gui/Terminal.Gui.Button.html index 8bb24fbe2..ec75be1d7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Button.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Button.html @@ -10,7 +10,7 @@ - + @@ -198,6 +198,9 @@ Button is a View that provides
View.Height
+
+ View.TextFormatter +
View.SuperView
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html index aeaf6ac29..a85a90212 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ The CheckBox View.Height +
+ View.TextFormatter +
View.SuperView
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html b/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html index df3973d6b..3c21e8f0f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html b/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html index d24208714..e3d65234f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Color.html b/docs/api/Terminal.Gui/Terminal.Gui.Color.html index b37f057da..1c8f96e22 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Color.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Color.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html b/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html new file mode 100644 index 000000000..3f312369c --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html @@ -0,0 +1,949 @@ + + + + + + + + Class ColorPicker + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
Search Results for
+
+

+
+
    +
    +
    + + + +
    + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html b/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html index aa00606ea..b9393c42a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Colors.html b/docs/api/Terminal.Gui/Terminal.Gui.Colors.html index 02fe11eb7..71d845cf2 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Colors.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Colors.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html index 4047a0b07..c1621dbb5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ ComboBox control
    View.Height
    +
    + View.TextFormatter +
    View.SuperView
    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Command.html b/docs/api/Terminal.Gui/Terminal.Gui.Command.html index 61cf5154f..c923f97a6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Command.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Command.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html index 5387669ba..494c95933 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html index 2c536322b..a091dc472 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html @@ -10,7 +10,7 @@ - + @@ -1670,6 +1670,58 @@ Initializes the driver + +

    IsValidContent(Int32, Int32, Rect)

    +
    +Ensures that the column and line are in a valid range from the size of the driver. +
    +
    +
    Declaration
    +
    +
    public bool IsValidContent(int col, int row, Rect clip)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Int32colThe column.
    System.Int32rowThe row.
    RectclipThe clip.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Booleantrueif it's a valid range,falseotherwise.

    MakeAttribute(Color, Color)

    @@ -2107,6 +2159,16 @@ Updates the location of the cursor position
    public abstract void UpdateCursor()
    + +

    UpdateOffScreen()

    +
    +Reset and recreate the contents and the driver buffer. +
    +
    +
    Declaration
    +
    +
    public abstract void UpdateOffScreen()
    +

    UpdateScreen()

    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html b/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html index d98777866..b7d866ccf 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html @@ -10,7 +10,7 @@ - + @@ -337,15 +337,15 @@ Gets the MenuBar that is ho - -

    MenuItens

    + +

    MenuItems

    Gets or sets the menu items for this context menu.
    Declaration
    -
    public MenuBarItem MenuItens { get; set; }
    +
    public MenuBarItem MenuItems { get; set; }
    Property Value
    @@ -450,7 +450,7 @@ Gets or sets if the sub-menus must be displayed in a single or multiple frames.

    Hide()

    -Close the MenuItens menu items. +Close the MenuItems menu items.
    Declaration
    @@ -460,7 +460,7 @@ Close the

    Show()

    -Open the MenuItens menu items. +Open the MenuItems menu items.
    Declaration
    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html b/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html index 8854a48b7..12b89aa48 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html index 789d8dd74..43c80121a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html @@ -10,7 +10,7 @@ - + @@ -295,6 +295,9 @@ Simple Date editing View + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html b/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html index 6def4397f..8c74b6b0a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html index e204288b5..b8320f3a0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html @@ -10,7 +10,7 @@ - + @@ -349,6 +349,9 @@ or more Buttons. It defaults + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dim.html b/docs/api/Terminal.Gui/Terminal.Gui.Dim.html index 0d425ed64..82fc7f33b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dim.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dim.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html b/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html index 8beb41a51..82f0d9506 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html index c35431763..13c41113a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html index 25eb596a4..75306c865 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html @@ -10,7 +10,7 @@ - + @@ -101,6 +101,9 @@ Implements a mock ConsoleDriver for unit testing + @@ -1126,6 +1129,16 @@ Implements a mock ConsoleDriver for unit testing
    Overrides
    + +

    UpdateOffScreen()

    +
    +
    +
    Declaration
    +
    +
    public override void UpdateOffScreen()
    +
    +
    Overrides
    +

    UpdateScreen()

    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html index d197e59ab..78672a349 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html index 9e66c5e6c..76cb966b4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html @@ -10,7 +10,7 @@ - + @@ -353,6 +353,9 @@ Base class for the OpenDialo + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html index e3a56ddea..bbdbad63d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html @@ -10,7 +10,7 @@ - + @@ -205,6 +205,9 @@ a GroupBox in Windows. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html index 7132afbeb..abe6a8231 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ Control for rendering graphs (bar, scatter etc) + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html index fe56e989e..a6b2a2780 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html index 251bc51ce..040722fb5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html index 56ee53c61..2c8a32a8d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html index 12f522baf..6e17ac552 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html index c8a626fbf..9d8d21d4b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html index 35366f794..d7cb3cc43 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html index 236610bfc..3975c4fb3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html index beee7c639..a96dbaf88 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html index b2c3e0d87..5d74f034c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html index 34abc808b..698bcb174 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html index c998acee3..5621303ff 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html index 5d40a3da4..8d8aa42c4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html index f874e5e81..6283e9494 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html index 189ad52fc..4cbe91d35 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html index dba938021..504b85afb 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html index 595a53931..c40551ffe 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html index e58f3be8d..e60f3e3e9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html index e8391fd64..08c9af54c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html index 8c0da3a4d..24627a456 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html index c4600f605..03078661f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html @@ -10,7 +10,7 @@ - + @@ -201,6 +201,9 @@ An hex viewer and editor View + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html index fab004d20..e08be4680 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html b/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html index b752861d7..af213e9ef 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html b/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html index ed5e19198..e18fbee3f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html index c7c28c253..7615c2d67 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html b/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html index 4cefca4ff..fae120c58 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Key.html b/docs/api/Terminal.Gui/Terminal.Gui.Key.html index de2f5a4b1..02aba1cb0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Key.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Key.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html b/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html index 0d5ecd358..3e8dd6df8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html b/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html index 305b5e207..bb822667d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Label.html b/docs/api/Terminal.Gui/Terminal.Gui.Label.html index 33f4fc7c5..e2b1bd42f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Label.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Label.html @@ -10,7 +10,7 @@ - + @@ -205,6 +205,9 @@ Multi-line Labels support word wrap. + @@ -521,12 +524,12 @@ The Label view is functionali
    public Label()
    -

    Label(ustring)

    +

    Label(ustring, Boolean)

    Declaration
    -
    public Label(ustring text)
    +
    public Label(ustring text, bool autosize = true)
    Parameters
    @@ -543,15 +546,20 @@ The Label view is functionali + + + + +
    text
    System.Booleanautosize
    -

    Label(ustring, TextDirection)

    +

    Label(ustring, TextDirection, Boolean)

    Declaration
    -
    public Label(ustring text, TextDirection direction)
    +
    public Label(ustring text, TextDirection direction, bool autosize = true)
    Parameters
    @@ -573,15 +581,20 @@ The Label view is functionali + + + + +
    direction
    System.Booleanautosize
    -

    Label(Int32, Int32, ustring)

    +

    Label(Int32, Int32, ustring, Boolean)

    Declaration
    -
    public Label(int x, int y, ustring text)
    +
    public Label(int x, int y, ustring text, bool autosize = true)
    Parameters
    @@ -608,40 +621,20 @@ The Label view is functionali - -
    text
    - -

    Label(Rect)

    -
    -
    -
    Declaration
    -
    -
    public Label(Rect frame)
    -
    -
    Parameters
    - - - - - - - - - - - + +
    TypeNameDescription
    RectframeSystem.Booleanautosize
    -

    Label(Rect, ustring)

    +

    Label(Rect, ustring, Boolean)

    Declaration
    -
    public Label(Rect rect, ustring text)
    +
    public Label(Rect rect, ustring text, bool autosize = false)
    Parameters
    @@ -663,6 +656,41 @@ The Label view is functionali + + + + + + +
    text
    System.Booleanautosize
    + +

    Label(Rect, Boolean)

    +
    +
    +
    Declaration
    +
    +
    public Label(Rect frame, bool autosize = false)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    Rectframe
    System.Booleanautosize

    Methods diff --git a/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html index 41f1bec1a..5a4a389f7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Views.LineView.html b/docs/api/Terminal.Gui/Terminal.Gui.LineView.html similarity index 92% rename from docs/api/Terminal.Gui/Terminal.Gui.Views.LineView.html rename to docs/api/Terminal.Gui/Terminal.Gui.LineView.html index dc73b9f38..f2c3ce3c3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Views.LineView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.LineView.html @@ -10,7 +10,7 @@ - + @@ -78,10 +78,10 @@

    -
    +
    -

    Class LineView +

    Class LineView

    A straight line control either horizontal or vertical @@ -204,6 +204,9 @@ A straight line control either horizontal or vertical + @@ -502,16 +505,16 @@ A straight line control either horizontal or vertical System.Object.ReferenceEquals(System.Object, System.Object)
    -
    Namespace: Terminal.Gui.Views
    +
    Namespace: Terminal.Gui
    Assembly: Terminal.Gui.dll
    -
    Syntax
    +
    Syntax
    public class LineView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize

    Constructors

    - -

    LineView()

    + +

    LineView()

    Creates a horizontal line
    @@ -520,8 +523,8 @@ Creates a horizontal line
    public LineView()
    - -

    LineView(Orientation)

    + +

    LineView(Orientation)

    Creates a horizontal or vertical line based on orientation
    @@ -549,11 +552,11 @@ Creates a horizontal or vertical line based on Properties - -

    EndingAnchor

    + +

    EndingAnchor

    The rune to display at the end of the line (right end of horizontal line or bottom end of vertical). -If not specified then LineRune is used +If not specified then LineRune is used
    Declaration
    @@ -575,8 +578,8 @@ If not specified then -

    LineRune

    + +

    LineRune

    The symbol to use for drawing the line
    @@ -600,8 +603,8 @@ The symbol to use for drawing the line - -

    Orientation

    + +

    Orientation

    The direction of the line. If you change this you will need to manually update the Width/Height of the control to cover a relevant area based on the new direction. @@ -626,11 +629,11 @@ of the control to cover a relevant area based on the new direction. - -

    StartingAnchor

    + +

    StartingAnchor

    The rune to display at the start of the line (left end of horizontal line or top end of vertical) -If not specified then LineRune is used +If not specified then LineRune is used
    Declaration
    @@ -654,8 +657,8 @@ If not specified then Methods - -

    Redraw(Rect)

    + +

    Redraw(Rect)

    Draws the line including any starting/ending anchors
    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html index 62e1c446c..2a772a441 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ ListView View renders a scroll + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html index f9e999494..60a5b7dab 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html index 252307d5a..bfb4357b7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html b/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html index 85349ac77..a249c377a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html index 2ab3977b4..370faecf3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html index 321b8c840..1e04e3d11 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html @@ -10,7 +10,7 @@ - + @@ -201,6 +201,9 @@ The MenuBar provides a menu for Terminal.Gui applications. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html index 155510a51..f5e104588 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html @@ -10,7 +10,7 @@ - + @@ -95,6 +95,9 @@ A MenuBarItem contains
    Inherited Members
    + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html index f9d90dd4c..aad50fe2e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html index 21000b5dc..0e495ab55 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html @@ -10,7 +10,7 @@ - + @@ -334,6 +334,33 @@ Sets or gets the type selection indicator the menu item will be displayed with. + +

    Data

    +
    +Gets or sets arbitrary data for the menu item. +
    +
    +
    Declaration
    +
    +
    public object Data { get; set; }
    +
    +
    Property Value
    + + + + + + + + + + + + + +
    TypeDescription
    System.Object
    +
    Remarks
    +
    This property is not used internally.

    Help

    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html index b07e1d074..1426d2ed7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html index bde19d30d..ecb391c31 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html b/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html index b47f9f765..0733d3b38 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html b/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html index e95212031..f1b9e7e84 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html b/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html index 6e8cf0a00..67cb667ed 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html index b80062ff6..d9d77e5fb 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html index 418500786..ff436a00f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html @@ -10,7 +10,7 @@ - + @@ -388,6 +388,9 @@ The OpenDialogprovides a + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html b/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html index 361c42f1d..d11e0a77f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html @@ -10,7 +10,7 @@ - + @@ -206,6 +206,9 @@ panel size, otherwise the panel will be resized based on the child and borders t + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Point.html b/docs/api/Terminal.Gui/Terminal.Gui.Point.html index 5ba1f37a3..f43348c31 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Point.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Point.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.PointF.html b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html index 693302ce9..341324393 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.PointF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Pos.html b/docs/api/Terminal.Gui/Terminal.Gui.Pos.html index d6c179a00..b1e4062e7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Pos.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Pos.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html index 816335510..3922ee242 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ A Progress Bar view that can indicate progress of an activity visually. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html index aaed99fc6..dbfda4f40 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html index cfb95cd55..2e8743736 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html index 8fc671221..99f3f1c3a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Rect.html b/docs/api/Terminal.Gui/Terminal.Gui.Rect.html index 332a7b37c..652213ac9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Rect.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Rect.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html index 826d75281..2224eb595 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Responder.html b/docs/api/Terminal.Gui/Terminal.Gui.Responder.html index 2e13ab4bc..ade6d6933 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Responder.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Responder.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html index 1849cdf9f..4b93d4100 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html @@ -10,7 +10,7 @@ - + @@ -389,6 +389,9 @@ save. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html index a69919df5..3b0a88787 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ ScrollBarViews are views that display a 1-character scrollbar, either horizontal + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html index 1e2bd6a3a..4eb12f55d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ Scrollviews are views that present a window into a virtual space where subviews + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html index 1ad077f8e..22e481e85 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html b/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html index 8dfd37e2a..649d57894 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Size.html b/docs/api/Terminal.Gui/Terminal.Gui.Size.html index e76af68d8..fa0e2bdbe 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Size.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Size.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html index 59ea24747..cff584e6c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html b/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html index ad9081fe6..85cca51d5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html index 2e405eeee..9ed38db27 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html @@ -10,7 +10,7 @@ - + @@ -207,6 +207,9 @@ So for each context must be a new instance of a statusbar. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html b/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html index 4264011b3..a6606443a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html index de7e322a6..b35eab4d4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html index 1c6f8f06e..ad1146f78 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html index 219eb5444..9329ab78e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html index afbc4d8a9..83d536e2f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ Control that hosts multiple sub views, presenting a single one at once + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html index 867b61481..f26c89c46 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html index 8bd594445..1979f0bde 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html index 44628a616..ba0e43bfd 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html index d0282ddfd..58c834175 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html index f67507d83..9d14e5947 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html index 6f3b48de4..2a0c22d77 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html index 41adb9542..385e57903 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html index 6e04e0038..d0a200458 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html index f9ef83162..47cb3b7b1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html index b65254d2d..582fc36e7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html @@ -10,7 +10,7 @@ - + @@ -206,6 +206,9 @@ View for tabular data based on a System.Data.DataTable + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html b/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html index ea8a464ff..1016d5df1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html index cc2282658..3326e61cf 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html b/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html index d142fa5bc..eb4774b49 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html index cf95c2e6d..fbd7e9ae6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html @@ -10,7 +10,7 @@ - + @@ -200,6 +200,9 @@ Single-line text entry View + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html index 56bbe9e94..d77139455 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html index 51c59d29d..06d4dc5f1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html @@ -10,7 +10,7 @@ - + @@ -357,13 +357,13 @@ Gets the formatted lines.

    Upon a 'get' of this property, if the text needs to be formatted (if NeedsFormat is true) -Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) will be called internally. +Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection) will be called internally.

    NeedsFormat

    -Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute) is called. +Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute, Rect) is called. If it is false when Draw is called, the Draw call will be faster.
    @@ -527,14 +527,14 @@ Calculates the rectangle required to hold text, assuming no word wrapping. -

    ClipAndJustify(ustring, Int32, Boolean)

    +

    ClipAndJustify(ustring, Int32, Boolean, TextDirection)

    Justifies text within a specified width.
    Declaration
    -
    public static ustring ClipAndJustify(ustring text, int width, bool justify)
    +
    public static ustring ClipAndJustify(ustring text, int width, bool justify, TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -561,6 +561,11 @@ Justifies text within a specified width. + + + + +
    justify Justify.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -579,14 +584,14 @@ Justifies text within a specified width. -

    ClipAndJustify(ustring, Int32, TextAlignment)

    +

    ClipAndJustify(ustring, Int32, TextAlignment, TextDirection)

    Justifies text within a specified width.
    Declaration
    -
    public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign)
    +
    public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign, TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -613,6 +618,11 @@ Justifies text within a specified width. + + + + +
    talign Alignment.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -680,14 +690,14 @@ Note that some unicode characters take 2+ columns -

    Draw(Rect, Attribute, Attribute)

    +

    Draw(Rect, Attribute, Attribute, Rect)

    Draws the text held by TextFormatter to Driver using the colors specified.
    Declaration
    -
    public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor)
    +
    public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default(Rect))
    Parameters
    @@ -714,6 +724,11 @@ Draws the text held by Te + + + + +
    hotColor The color to use to draw the hotkey
    RectcontainerBoundsSpecifies the screen-relative location and maximum container size.
    @@ -780,14 +795,14 @@ Regardless of the value of this parameter, hotKeySpecifier takes pr -

    Format(ustring, Int32, Boolean, Boolean, Boolean, Int32)

    +

    Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection)

    Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries.
    Declaration
    -
    public static List<ustring> Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0)
    +
    public static List<ustring> Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -829,6 +844,11 @@ Reformats text into lines, applying text alignment and optionally wrapping text + + + + +
    tabWidth The tab width.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -846,7 +866,7 @@ Reformats text into lines, applying text alignment and optionally wrapping text -
    Remarks
    +
    Remarks

    An empty text string will result in one empty line. @@ -859,14 +879,14 @@ If width is int.MaxValue, the text will be formatted to the maximum

    -

    Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32)

    +

    Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32, TextDirection)

    Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries.
    Declaration
    -
    public static List<ustring> Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0)
    +
    public static List<ustring> Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -908,6 +928,11 @@ Reformats text into lines, applying text alignment and optionally wrapping text + + + + +
    tabWidth The tab width.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -925,7 +950,7 @@ Reformats text into lines, applying text alignment and optionally wrapping text -
    Remarks
    +
    Remarks

    An empty text string will result in one empty line. @@ -937,6 +962,248 @@ If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible.

    + +

    GetMaxLengthForWidth(ustring, Int32)

    +
    +Gets the index position from the text based on the width. +
    +
    +
    Declaration
    +
    +
    public static int GetMaxLengthForWidth(ustring text, int width)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    NStack.ustringtextThe text.
    System.Int32widthThe width.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The index of the text that fit the width.
    + +

    GetMaxLengthForWidth(List<Rune>, Int32)

    +
    +Gets the index position from the list based on the width. +
    +
    +
    Declaration
    +
    +
    public static int GetMaxLengthForWidth(List<Rune> runes, int width)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>runesThe runes.
    System.Int32widthThe width.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The index of the list that fit the width.
    + +

    GetSumMaxCharWidth(ustring, Int32, Int32)

    +
    +Gets the maximum characters width from the text based on the startIndex +and the length. +
    +
    +
    Declaration
    +
    +
    public static int GetSumMaxCharWidth(ustring text, int startIndex = -1, int length = -1)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    NStack.ustringtextThe text.
    System.Int32startIndexThe start index.
    System.Int32lengthThe length.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The maximum characters width.
    + +

    GetSumMaxCharWidth(List<ustring>, Int32, Int32)

    +
    +Gets the maximum characters width from the list based on the startIndex +and the length. +
    +
    +
    Declaration
    +
    +
    public static int GetSumMaxCharWidth(List<ustring> lines, int startIndex = -1, int length = -1)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<NStack.ustring>linesThe lines.
    System.Int32startIndexThe start index.
    System.Int32lengthThe length.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The maximum characters width.
    + +

    GetTextWidth(ustring)

    +
    +Gets the total width of the passed text. +
    +
    +
    Declaration
    +
    +
    public static int GetTextWidth(ustring text)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    NStack.ustringtext
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The text width.

    IsHorizontalDirection(TextDirection)

    @@ -1106,7 +1373,7 @@ Check if it is a vertical direction -

    Justify(ustring, Int32, Char)

    +

    Justify(ustring, Int32, Char, TextDirection)

    Justifies the text to fill the width provided. Space will be added between words (demarked by spaces and tabs) to make the text just fit width. Spaces will not be added to the ends. @@ -1114,7 +1381,7 @@ make the text just fit width. Spaces will not be added to the ends.
    Declaration
    -
    public static ustring Justify(ustring text, int width, char spaceChar = ' ')
    +
    public static ustring Justify(ustring text, int width, char spaceChar = ' ', TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -1141,6 +1408,11 @@ make the text just fit width. Spaces will not be added to the ends. + + + + +
    spaceChar Character to replace whitespace and pad with. For debugging purposes.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -1358,14 +1630,14 @@ The returned string will not render correctly without first un-doing the tag. To Runes with a bitmask of otKeyTagMask and remove that bitmask.
    -

    WordWrap(ustring, Int32, Boolean, Int32)

    +

    WordWrap(ustring, Int32, Boolean, Int32, TextDirection)

    Formats the provided text to fit within the width provided using word wrapping.
    Declaration
    -
    public static List<ustring> WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0)
    +
    public static List<ustring> WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom)
    Parameters
    @@ -1398,6 +1670,11 @@ Formats the provided text to fit within the width provided using word wrapping. + + + + +
    tabWidth The tab width.
    TextDirectiontextDirectionThe text direction.
    Returns
    @@ -1415,7 +1692,7 @@ Formats the provided text to fit within the width provided using word wrapping. -
    Remarks
    +
    Remarks

    This method does not do any justification. diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html index 64a350c6e..79c68060d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html @@ -10,7 +10,7 @@ - + @@ -204,6 +204,9 @@ Text field that validates input through a View.Height

    + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html index f8c7a5502..cb26a66f8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html index 6c40136e1..9723eea7f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html index ceaa83af0..676a31bda 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html index 26f86e293..10e443659 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html index 2dc6360d7..65a3c28c8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html @@ -10,7 +10,7 @@ - + @@ -198,6 +198,9 @@ Multi-line text editing View + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html index 95700dc7a..f6fe602c4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html b/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html index 8d4c45310..c881ac25b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html index ab93cfd6d..02c55371e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html @@ -10,7 +10,7 @@ - + @@ -295,6 +295,9 @@ Time editing View + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html index 81f2e9f91..54a147614 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html @@ -10,7 +10,7 @@ - + @@ -203,6 +203,9 @@ Toplevel views can be modally executed. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html index ead1670b7..a7ac4f462 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html index 214912524..1ddecaeef 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html index 16a3cc231..3659548d6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html index 43c530faf..8061e248b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html @@ -10,7 +10,7 @@ - + @@ -209,6 +209,9 @@ when expanded using a user defined View.Height
    + @@ -640,6 +643,32 @@ implementation is to call System.Object.ToString() + +

    ColorGetter

    +
    +Delegate for multi colored tree views. Return the ColorScheme to use +for each passed object or null to use the default. +
    +
    +
    Declaration
    +
    +
    public Func<T, ColorScheme> ColorGetter { get; set; }
    +
    +
    Property Value
    + + + + + + + + + + + + + +
    TypeDescription
    System.Func<T, ColorScheme>

    ContentHeight

    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html b/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html index 7719378dc..9c033b3a7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html @@ -10,7 +10,7 @@ - + @@ -131,6 +131,9 @@ implement ITreeNode + @@ -395,6 +398,9 @@ implement ITreeNode + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html index 1f3bc2993..80d54f413 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html index e8bb1e2c7..537dcfb47 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html index e642e5789..4fcc432e4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html index 2d70fc63c..ecd34d746 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html index 18a14a7d0..4ec5c67a2 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html index dae081d18..6635b6b5e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html index 11548c584..359d72db1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html index e31800ca9..0c3b5daae 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html index be3dea6fa..95140872a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html index 2b9eb04d3..70272deb6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.html index f514eed47..005e4ba45 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html b/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html index 0985aaa31..d2fc947d4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html index 56e012d2f..6957b3cd5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html index 16534b3bd..2029d9921 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html index 34f76c6e6..f2dbed492 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html index 0995e094e..c4ce0c8aa 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.html b/docs/api/Terminal.Gui/Terminal.Gui.View.html index 91d1941b3..96b06cd20 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.html @@ -10,7 +10,7 @@ - + @@ -94,11 +94,13 @@ View is the base class for all views on the screen and represents a visible elem
    View
    + + @@ -114,7 +116,6 @@ View is the base class for all views on the screen and represents a visible elem -
    Implements
    @@ -1233,6 +1234,31 @@ Gets or sets the direction of the View's +

    TextFormatter

    +
    +Gets or sets the TextFormatter which can be handled differently by any derived class. +
    +
    +
    Declaration
    +
    +
    public TextFormatter TextFormatter { get; set; }
    +
    +
    Property Value
    + + + + + + + + + + + + + +
    TypeDescription
    TextFormatter

    VerticalTextAlignment

    diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Views.html b/docs/api/Terminal.Gui/Terminal.Gui.Views.html deleted file mode 100644 index 38ceb4905..000000000 --- a/docs/api/Terminal.Gui/Terminal.Gui.Views.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - Namespace Terminal.Gui.Views - - - - - - - - - - - - - - - - -
    -
    - - - - -
    -
    - -
    -
    Search Results for
    -
    -

    -
    -
      -
      -
      - - - -
      - - - - - - diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Window.html b/docs/api/Terminal.Gui/Terminal.Gui.Window.html index 05cd4e7b8..c0dc02435 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Window.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Window.html @@ -10,7 +10,7 @@ - + @@ -323,6 +323,9 @@ A Toplevel View.Height
      + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.html b/docs/api/Terminal.Gui/Terminal.Gui.html index 4d90fed1c..0a3c826af 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.html @@ -10,7 +10,7 @@ - + @@ -130,6 +130,10 @@ Provides cut, copy, and paste support for the clipboard with OS interaction.

      ClipboardBase

      Shared abstract class to enforce rules from the implementation of the IClipboard interface. +
      +

      ColorPicker

      +
      +The ColorPicker View Color picker.

      Colors

      @@ -219,6 +223,10 @@ Identifies the state of the "shift"-keys within a event.
      The Label View displays a string at a given position and supports multiple lines separated by newline characters. Multi-line Labels support word wrap. +
      +

      LineView

      +
      +A straight line control either horizontal or vertical

      ListView

      diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html index 76ed636e9..0c3b62c63 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html index 2dbc1f324..9ce211d15 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html index 8cc45ebe3..5d195de31 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.html index b5cc47f8b..03b062733 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.html @@ -10,7 +10,7 @@ - + @@ -4336,6 +4336,106 @@ + +

      mvaddch(Int32, Int32, Int32)

      +
      +
      +
      Declaration
      +
      +
      public static int mvaddch(int y, int x, int ch)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + + + + + + + +
      TypeNameDescription
      System.Int32y
      System.Int32x
      System.Int32ch
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      System.Int32
      + +

      mvaddwstr(Int32, Int32, String)

      +
      +
      +
      Declaration
      +
      +
      public static int mvaddwstr(int y, int x, string s)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + + + + + + + +
      TypeNameDescription
      System.Int32y
      System.Int32x
      System.Strings
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      System.Int32

      mvgetch(Int32, Int32)

      diff --git a/docs/api/Terminal.Gui/Unix.Terminal.html b/docs/api/Terminal.Gui/Unix.Terminal.html index 07b632615..3aaa22d0f 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/Terminal.Gui/toc.html b/docs/api/Terminal.Gui/toc.html index 192fe676a..2555e0137 100644 --- a/docs/api/Terminal.Gui/toc.html +++ b/docs/api/Terminal.Gui/toc.html @@ -56,6 +56,9 @@
    • Color
    • +
    • + ColorPicker +
    • Colors
    • @@ -149,6 +152,9 @@
    • LayoutStyle
    • +
    • + LineView +
    • ListView
    • @@ -487,16 +493,6 @@ -
    • - - Terminal.Gui.Views - - -
    • Unix.Terminal diff --git a/docs/api/UICatalog/UICatalog.NumberToWords.html b/docs/api/UICatalog/UICatalog.NumberToWords.html index 4e53f2dfe..b2a6763e7 100644 --- a/docs/api/UICatalog/UICatalog.NumberToWords.html +++ b/docs/api/UICatalog/UICatalog.NumberToWords.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html b/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html index db7839aab..51dba7d04 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html +++ b/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html b/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html index a74690f92..ee7250c21 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html +++ b/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenario.html b/docs/api/UICatalog/UICatalog.Scenario.html index 458a57d04..bd9f0dee5 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.html +++ b/docs/api/UICatalog/UICatalog.Scenario.html @@ -10,7 +10,7 @@ - + @@ -111,6 +111,7 @@ ListViews. Press ENTER to run the selected scenario. Press CTRL-Q to exit it. + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html b/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html index 5d6776748..7cd5aecfb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html b/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html index 3c7e59c63..f6a19df61 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html b/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html index a593540e6..25ba635af 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html b/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html index 10f0628d5..b657594ba 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Borders.html b/docs/api/UICatalog/UICatalog.Scenarios.Borders.html index dba274ac8..cc170684e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Borders.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Borders.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html index 9b24f30f5..f67ba8dae 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html index c5a527fb4..68fd59bf9 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html index 27e74b9a9..142960b59 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html index 1da2313ac..3f04ea1f5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html b/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html index b3691d352..be2c0c993 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html b/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html index 9be77a878..a5c9998cc 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html b/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html index bdeeaee93..7d9d8df3c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html b/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html index 5d46b956c..d0b7daf5b 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html b/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html new file mode 100644 index 000000000..d4d6d4afe --- /dev/null +++ b/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html @@ -0,0 +1,213 @@ + + + + + + + + Class ColorPickers + + + + + + + + + + + + + + + + +
      +
      + + + + +
      +
      + +
      +
      Search Results for
      +
      +

      +
      +
        +
        +
        + + + +
        + + + + + + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html b/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html index 8a294642f..a0435e6e1 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html b/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html index a3a5530d6..6ec6f5e5e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html b/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html index 00d0d6996..9a23b044e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html index d3d7fa32c..8b34b87dc 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html b/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html index fbe39ac4c..0045e602c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html index 967eea288..9be42420d 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html index a980566be..49c8efa28 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html @@ -10,7 +10,7 @@ - + @@ -233,6 +233,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html index 5222851e8..60bdd9771 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html @@ -10,7 +10,7 @@ - + @@ -348,6 +348,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html index 94be55a03..da7e3cce4 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html index 37d79a901..0209bbbd2 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html index e28a95c10..2ec1de01a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html index 8f4dc2339..c5f4da4df 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html index 068c5eb37..458c47322 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html index 6aca3c345..1957b3d3f 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html index 60e7984ad..575cea9af 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html index 1778e6846..70677668e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html index 4a227192b..49e4a8f14 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html @@ -10,7 +10,7 @@ - + @@ -233,6 +233,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html index 895bf56ba..6eef9c941 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html @@ -10,7 +10,7 @@ - + @@ -348,6 +348,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html index bf64a27e4..ebf83a492 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html index 3c65642ed..79a4f28cb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html index 967345445..543b1aaf5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html index 87e0439fd..95dea864b 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html index da7b63d8a..a65eb81ad 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html index 01929203b..7540814e5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html index 06dc1159b..bc0df5015 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Editor.html b/docs/api/UICatalog/UICatalog.Scenarios.Editor.html index 768f5436d..5903fc0ac 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Editor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Editor.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html index 05207af1f..288d50d55 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html index db2cb3707..c3c618f0a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html b/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html index 902fd9fb8..f53cfc7bb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html b/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html index b342acaaa..4267033f9 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Keys.html b/docs/api/UICatalog/UICatalog.Scenarios.Keys.html index 07fd850a6..19af8fb88 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Keys.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Keys.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html b/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html index dda27bdb2..88cbca8dc 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html index 95b29c96d..a7456d09b 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html b/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html index 78e2d8716..927111603 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html b/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html index 7b20836c8..2ad79e79a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html b/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html index f6c745db0..639bdc313 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html b/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html index 75effcf8a..98b3ccba1 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html b/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html index 2d54a0c0a..b622cbd42 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html b/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html index 33becffb9..1ff267f01 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html b/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html index 14a89333f..2e47ef44c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Progress.html b/docs/api/UICatalog/UICatalog.Scenarios.Progress.html index 6f1430092..c03a4f1cf 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Progress.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Progress.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html b/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html index ba26d920b..0a0d4f348 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html b/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html index c33b52db5..41237d40f 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html b/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html index a2705efae..d319287d4 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html index 1013e63f5..5dfc4dcfe 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html @@ -10,7 +10,7 @@ - + @@ -332,6 +332,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html index c7d8ede43..dcaa32c8c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html @@ -10,7 +10,7 @@ - + @@ -348,6 +348,9 @@ + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html index 09b651647..caed7a7b3 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html b/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html index f385a71f6..6542d2e6a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html index 2b3e6e9db..34edb73fa 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html index f15acdec1..240ac2ef3 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Text.html b/docs/api/UICatalog/UICatalog.Scenarios.Text.html index bfd0278e3..d3cd2844c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Text.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Text.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html index da0b2018e..1de4b4ebd 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html index a02c9f706..1de50b164 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html b/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html index d8ffcbe7f..85d346cb7 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html b/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html index 25d4494df..90e956653 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Threading.html b/docs/api/UICatalog/UICatalog.Scenarios.Threading.html index 0438f3ae1..071ae844e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Threading.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Threading.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html b/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html index d243c6ecd..c8e0ea4d9 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html b/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html index fbc5da2af..80d58439c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html b/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html index 833d036bd..575b26ca6 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html b/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html index f02e83951..5bc42bf22 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html b/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html index 44f64cb70..4968bb6ec 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.Scenarios.html b/docs/api/UICatalog/UICatalog.Scenarios.html index a3e4944db..65ef19c60 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.html @@ -10,7 +10,7 @@ - + @@ -119,6 +119,8 @@

        Clipping

        +

        ColorPickers

        +

        ComboBoxIteration

        ComputedLayout

        diff --git a/docs/api/UICatalog/UICatalog.UICatalogApp.html b/docs/api/UICatalog/UICatalog.UICatalogApp.html index d2b1ab2b2..93f0f0525 100644 --- a/docs/api/UICatalog/UICatalog.UICatalogApp.html +++ b/docs/api/UICatalog/UICatalog.UICatalogApp.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/UICatalog.html b/docs/api/UICatalog/UICatalog.html index d87242523..df4933886 100644 --- a/docs/api/UICatalog/UICatalog.html +++ b/docs/api/UICatalog/UICatalog.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UICatalog/toc.html b/docs/api/UICatalog/toc.html index 571b3c426..b7fd33850 100644 --- a/docs/api/UICatalog/toc.html +++ b/docs/api/UICatalog/toc.html @@ -78,6 +78,9 @@
      • Clipping
      • +
      • + ColorPickers +
      • ComboBoxIteration
      • diff --git a/docs/articles/index.html b/docs/articles/index.html index 37aad5d7d..d3b0869de 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -8,7 +8,7 @@ Conceptual Documentation - + diff --git a/docs/articles/keyboard.html b/docs/articles/keyboard.html index 83020e430..e4b5291c4 100644 --- a/docs/articles/keyboard.html +++ b/docs/articles/keyboard.html @@ -8,7 +8,7 @@ Keyboard Event Processing - + diff --git a/docs/articles/mainloop.html b/docs/articles/mainloop.html index 478caece3..6ee2787e9 100644 --- a/docs/articles/mainloop.html +++ b/docs/articles/mainloop.html @@ -8,7 +8,7 @@ Event Processing and the Application Main Loop - + diff --git a/docs/articles/overview.html b/docs/articles/overview.html index 6991c9d6d..f6f2cd381 100644 --- a/docs/articles/overview.html +++ b/docs/articles/overview.html @@ -8,7 +8,7 @@ Terminal.Gui API Overview - + @@ -94,6 +94,7 @@ class Demo { var n = MessageBox.Query (50, 7, "Question", "Do you like console apps?", "Yes", "No"); + Application.Shutdown (); return n; } } @@ -122,6 +123,7 @@ class Demo { }; Application.Top.Add (label); Application.Run (); + Application.Shutdown (); } }

        Typically, you will want your application to have more than a label, you might @@ -151,6 +153,7 @@ class Demo { // Add both menu and win in a single call Application.Top.Add (menu, win); Application.Run (); + Application.Shutdown (); } }

        Views

        @@ -294,6 +297,7 @@ class Demo { // Add both menu and win in a single call top.Add (win, menu); Application.Run (top); + Application.Shutdown (); } }

        Window Views

        diff --git a/docs/articles/tableview.html b/docs/articles/tableview.html index 2e0bdc40a..82b4dbed0 100644 --- a/docs/articles/tableview.html +++ b/docs/articles/tableview.html @@ -8,7 +8,7 @@ Table View - + diff --git a/docs/articles/treeview.html b/docs/articles/treeview.html index 6b09df9a2..deed2311c 100644 --- a/docs/articles/treeview.html +++ b/docs/articles/treeview.html @@ -8,7 +8,7 @@ Tree View - + diff --git a/docs/articles/views.html b/docs/articles/views.html index 3cdc91b70..6b27a2ff5 100644 --- a/docs/articles/views.html +++ b/docs/articles/views.html @@ -8,7 +8,7 @@ Views - + diff --git a/docs/index.html b/docs/index.html index 68efafe07..ec513810f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,7 +8,7 @@ Terminal.Gui - Terminal UI toolkit for .NET - + diff --git a/docs/index.json b/docs/index.json index a3143cf77..186efee4c 100644 --- a/docs/index.json +++ b/docs/index.json @@ -27,12 +27,12 @@ "api/Terminal.Gui/Terminal.Gui.Border.html": { "href": "api/Terminal.Gui/Terminal.Gui.Border.html", "title": "Class Border", - "keywords": "Class Border Draws a border, background, or both around another element. Inheritance System.Object Border Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Border Properties ActualHeight Gets the rendered height of this element. Declaration public int ActualHeight { get; } Property Value Type Description System.Int32 ActualWidth Gets the rendered width of this element. Declaration public int ActualWidth { get; } Property Value Type Description System.Int32 Background Gets or sets the Color that fills the area between the bounds of a Border . Declaration public Color Background { get; set; } Property Value Type Description Color BorderBrush Gets or sets the Color that draws the outer border color. Declaration public Color BorderBrush { get; set; } Property Value Type Description Color BorderStyle Specifies the BorderStyle for a view. Declaration public BorderStyle BorderStyle { get; set; } Property Value Type Description BorderStyle BorderThickness Gets or sets the relative Thickness of a Border . Declaration public Thickness BorderThickness { get; set; } Property Value Type Description Thickness Child Gets or sets the single child element of a View . Declaration public View Child { get; set; } Property Value Type Description View ChildContainer Gets or private sets by the Border.ToplevelContainer Declaration public Border.ToplevelContainer ChildContainer { get; } Property Value Type Description Border.ToplevelContainer DrawMarginFrame Gets or sets if a margin frame is drawn around the Child regardless the BorderStyle Declaration public bool DrawMarginFrame { get; set; } Property Value Type Description System.Boolean Effect3D Gets or sets the 3D effect around the Border . Declaration public bool Effect3D { get; set; } Property Value Type Description System.Boolean Effect3DBrush Gets or sets the color for the Border Declaration public Attribute? Effect3DBrush { get; set; } Property Value Type Description System.Nullable < Attribute > Effect3DOffset Get or sets the offset start position for the Effect3D Declaration public Point Effect3DOffset { get; set; } Property Value Type Description Point Padding Gets or sets a Thickness value that describes the amount of space between a Border and its child element. Declaration public Thickness Padding { get; set; } Property Value Type Description Thickness Parent Gets the parent Child parent if any. Declaration public View Parent { get; } Property Value Type Description View Methods DrawContent(View) Drawn the BorderThickness more the Padding more the BorderStyle and the Effect3D . Declaration public void DrawContent(View view = null) Parameters Type Name Description View view DrawFullContent() Same as DrawContent(View) but drawing full frames for all borders. Declaration public void DrawFullContent() DrawTitle(View, Rect) Drawn the view text from a View . Declaration public void DrawTitle(View view, Rect rect) Parameters Type Name Description View view Rect rect GetSumThickness() Calculate the sum of the Padding and the BorderThickness Declaration public Thickness GetSumThickness() Returns Type Description Thickness The total of the Border Thickness OnBorderChanged() Invoke the BorderChanged event. Declaration public virtual void OnBorderChanged() Events BorderChanged Event to be invoked when any border property change. Declaration public event Action BorderChanged Event Type Type Description System.Action < Border >" + "keywords": "Class Border Draws a border, background, or both around another element. Inheritance System.Object Border Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Border Properties ActualHeight Gets the rendered height of this element. Declaration public int ActualHeight { get; } Property Value Type Description System.Int32 ActualWidth Gets the rendered width of this element. Declaration public int ActualWidth { get; } Property Value Type Description System.Int32 Background Gets or sets the Color that fills the area between the bounds of a Border . Declaration public Color Background { get; set; } Property Value Type Description Color BorderBrush Gets or sets the Color that draws the outer border color. Declaration public Color BorderBrush { get; set; } Property Value Type Description Color BorderStyle Specifies the BorderStyle for a view. Declaration public BorderStyle BorderStyle { get; set; } Property Value Type Description BorderStyle BorderThickness Gets or sets the relative Thickness of a Border . Declaration public Thickness BorderThickness { get; set; } Property Value Type Description Thickness Child Gets or sets the single child element of a View . Declaration public View Child { get; set; } Property Value Type Description View ChildContainer Gets or private sets by the Border.ToplevelContainer Declaration public Border.ToplevelContainer ChildContainer { get; } Property Value Type Description Border.ToplevelContainer DrawMarginFrame Gets or sets if a margin frame is drawn around the Child regardless the BorderStyle Declaration public bool DrawMarginFrame { get; set; } Property Value Type Description System.Boolean Effect3D Gets or sets the 3D effect around the Border . Declaration public bool Effect3D { get; set; } Property Value Type Description System.Boolean Effect3DBrush Gets or sets the color for the Border Declaration public Attribute? Effect3DBrush { get; set; } Property Value Type Description System.Nullable < Attribute > Effect3DOffset Get or sets the offset start position for the Effect3D Declaration public Point Effect3DOffset { get; set; } Property Value Type Description Point Padding Gets or sets a Thickness value that describes the amount of space between a Border and its child element. Declaration public Thickness Padding { get; set; } Property Value Type Description Thickness Parent Gets the parent Child parent if any. Declaration public View Parent { get; } Property Value Type Description View Methods DrawContent(View, Boolean) Drawn the BorderThickness more the Padding more the BorderStyle and the Effect3D . Declaration public void DrawContent(View view = null, bool fill = true) Parameters Type Name Description View view The view to draw. System.Boolean fill If it will clear or not the content area. DrawFullContent() Same as DrawContent(View, Boolean) but drawing full frames for all borders. Declaration public void DrawFullContent() DrawTitle(View, Rect) Drawn the view text from a View . Declaration public void DrawTitle(View view, Rect rect) Parameters Type Name Description View view Rect rect GetSumThickness() Calculate the sum of the Padding and the BorderThickness Declaration public Thickness GetSumThickness() Returns Type Description Thickness The total of the Border Thickness OnBorderChanged() Invoke the BorderChanged event. Declaration public virtual void OnBorderChanged() Events BorderChanged Event to be invoked when any border property change. Declaration public event Action BorderChanged Event Type Type Description System.Action < Border >" }, "api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html": { "href": "api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html", "title": "Class Border.ToplevelContainer", - "keywords": "Class Border.ToplevelContainer A sealed Toplevel derived class to implement Border feature. This is only a wrapper to get borders on a toplevel and is recommended using another derived, like Window where is possible to have borders with or without border line or spacing around. Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public sealed class ToplevelContainer : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ToplevelContainer() Initializes with default null values. Declaration public ToplevelContainer() ToplevelContainer(Border, String) Initializes a Border.ToplevelContainer with a Computed Declaration public ToplevelContainer(Border border, string title = null) Parameters Type Name Description Border border The border. System.String title The title. ToplevelContainer(Rect, Border, String) Initializes a Border.ToplevelContainer with a Absolute Declaration public ToplevelContainer(Rect frame, Border border, string title = null) Parameters Type Name Description Rect frame The frame. Border border The border. System.String title The title. Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Border.ToplevelContainer A sealed Toplevel derived class to implement Border feature. This is only a wrapper to get borders on a toplevel and is recommended using another derived, like Window where is possible to have borders with or without border line or spacing around. Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public sealed class ToplevelContainer : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ToplevelContainer() Initializes with default null values. Declaration public ToplevelContainer() ToplevelContainer(Border, String) Initializes a Border.ToplevelContainer with a Computed Declaration public ToplevelContainer(Border border, string title = null) Parameters Type Name Description Border border The border. System.String title The title. ToplevelContainer(Rect, Border, String) Initializes a Border.ToplevelContainer with a Absolute Declaration public ToplevelContainer(Rect frame, Border border, string title = null) Parameters Type Name Description Rect frame The frame. Border border The border. System.String title The title. Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.BorderStyle.html": { "href": "api/Terminal.Gui/Terminal.Gui.BorderStyle.html", @@ -42,12 +42,12 @@ "api/Terminal.Gui/Terminal.Gui.Button.html": { "href": "api/Terminal.Gui/Terminal.Gui.Button.html", "title": "Class Button", - "keywords": "Class Button Button is a View that provides an item that invokes an System.Action when activated by the user. Inheritance System.Object Responder View Button Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Button : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Provides a button showing text invokes an System.Action when clicked on with a mouse or when the user presses SPACE, ENTER, or hotkey. The hotkey is the first letter or digit following the first underscore ('_') in the button text. Use HotKeySpecifier to change the hotkey specifier from the default of ('_'). If no hotkey specifier is found, the first uppercase letter encountered will be used as the hotkey. When the button is configured as the default ( IsDefault ) and the user presses the ENTER key, if no other View processes the KeyEvent , the Button 's System.Action will be invoked. Constructors Button() Initializes a new instance of Button using Computed layout. Declaration public Button() Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(ustring, Boolean) Initializes a new instance of Button using Computed layout. Declaration public Button(ustring text, bool is_default = false) Parameters Type Name Description NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring) Initializes a new instance of Button using Absolute layout, based on the given text Declaration public Button(int x, int y, ustring text) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring, Boolean) Initializes a new instance of Button using Absolute layout, based on the given text. Declaration public Button(int x, int y, ustring text, bool is_default) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Properties AutoSize Declaration public override bool AutoSize { get; set; } Property Value Type Description System.Boolean Overrides View.AutoSize HotKey Declaration public override Key HotKey { get; set; } Property Value Type Description Key Overrides View.HotKey HotKeySpecifier Declaration public override Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Overrides View.HotKeySpecifier IsDefault Gets or sets whether the Button is the default action to activate in a dialog. Declaration public bool IsDefault { get; set; } Property Value Type Description System.Boolean true if is default; otherwise, false . Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Button Button is a View that provides an item that invokes an System.Action when activated by the user. Inheritance System.Object Responder View Button Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Button : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Provides a button showing text invokes an System.Action when clicked on with a mouse or when the user presses SPACE, ENTER, or hotkey. The hotkey is the first letter or digit following the first underscore ('_') in the button text. Use HotKeySpecifier to change the hotkey specifier from the default of ('_'). If no hotkey specifier is found, the first uppercase letter encountered will be used as the hotkey. When the button is configured as the default ( IsDefault ) and the user presses the ENTER key, if no other View processes the KeyEvent , the Button 's System.Action will be invoked. Constructors Button() Initializes a new instance of Button using Computed layout. Declaration public Button() Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(ustring, Boolean) Initializes a new instance of Button using Computed layout. Declaration public Button(ustring text, bool is_default = false) Parameters Type Name Description NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring) Initializes a new instance of Button using Absolute layout, based on the given text Declaration public Button(int x, int y, ustring text) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring, Boolean) Initializes a new instance of Button using Absolute layout, based on the given text. Declaration public Button(int x, int y, ustring text, bool is_default) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Properties AutoSize Declaration public override bool AutoSize { get; set; } Property Value Type Description System.Boolean Overrides View.AutoSize HotKey Declaration public override Key HotKey { get; set; } Property Value Type Description Key Overrides View.HotKey HotKeySpecifier Declaration public override Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Overrides View.HotKeySpecifier IsDefault Gets or sets whether the Button is the default action to activate in a dialog. Declaration public bool IsDefault { get; set; } Property Value Type Description System.Boolean true if is default; otherwise, false . Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.CheckBox.html": { "href": "api/Terminal.Gui/Terminal.Gui.CheckBox.html", "title": "Class CheckBox", - "keywords": "Class CheckBox The CheckBox View shows an on/off toggle that the user can set Inheritance System.Object Responder View CheckBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class CheckBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() CheckBox(ustring, Boolean) Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox(ustring s, bool is_checked = false) Parameters Type Name Description NStack.ustring s S. System.Boolean is_checked If set to true is checked. CheckBox(Int32, Int32, ustring) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s Remarks The size of CheckBox is computed based on the text length. This CheckBox is not toggled. CheckBox(Int32, Int32, ustring, Boolean) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s, bool is_checked) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s System.Boolean is_checked Remarks The size of CheckBox is computed based on the text length. Properties Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Text The text displayed by this CheckBox Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnToggled(Boolean) Called when the Checked property changes. Invokes the Toggled event. Declaration public virtual void OnToggled(bool previousChecked) Parameters Type Name Description System.Boolean previousChecked PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > Remarks Client code can hook up to this event, it is raised when the CheckBox is activated either with the mouse or the keyboard. The passed bool contains the previous state. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class CheckBox The CheckBox View shows an on/off toggle that the user can set Inheritance System.Object Responder View CheckBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class CheckBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() CheckBox(ustring, Boolean) Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox(ustring s, bool is_checked = false) Parameters Type Name Description NStack.ustring s S. System.Boolean is_checked If set to true is checked. CheckBox(Int32, Int32, ustring) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s Remarks The size of CheckBox is computed based on the text length. This CheckBox is not toggled. CheckBox(Int32, Int32, ustring, Boolean) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s, bool is_checked) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s System.Boolean is_checked Remarks The size of CheckBox is computed based on the text length. Properties Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Text The text displayed by this CheckBox Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnToggled(Boolean) Called when the Checked property changes. Invokes the Toggled event. Declaration public virtual void OnToggled(bool previousChecked) Parameters Type Name Description System.Boolean previousChecked PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > Remarks Client code can hook up to this event, it is raised when the CheckBox is activated either with the mouse or the keyboard. The passed bool contains the previous state. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Clipboard.html": { "href": "api/Terminal.Gui/Terminal.Gui.Clipboard.html", @@ -64,6 +64,11 @@ "title": "Enum Color", "keywords": "Enum Color Basic colors that can be used to set the foreground and background colors in console applications. Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public enum Color Fields Name Description Black The black color. Blue The blue color. BrightBlue The bright bBlue color. BrightCyan The bright cyan color. BrightGreen The bright green color. BrightMagenta The bright magenta color. BrightRed The bright red color. BrightYellow The bright yellow color. Brown The brown color. Cyan The cyan color. DarkGray The dark gray color. Gray The gray color. Green The green color. Magenta The magenta color. Red The red color. White The White color." }, + "api/Terminal.Gui/Terminal.Gui.ColorPicker.html": { + "href": "api/Terminal.Gui/Terminal.Gui.ColorPicker.html", + "title": "Class ColorPicker", + "keywords": "Class ColorPicker The ColorPicker View Color picker. Inheritance System.Object Responder View ColorPicker Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ColorPicker : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ColorPicker() Initializes a new instance of ColorPicker . Declaration public ColorPicker() ColorPicker(ustring) Initializes a new instance of ColorPicker . Declaration public ColorPicker(ustring title) Parameters Type Name Description NStack.ustring title Title. ColorPicker(Int32, Int32, ustring) Initializes a new instance of ColorPicker . Declaration public ColorPicker(int x, int y, ustring title) Parameters Type Name Description System.Int32 x X location. System.Int32 y Y location. NStack.ustring title Title ColorPicker(Point, ustring) Initializes a new instance of ColorPicker . Declaration public ColorPicker(Point point, ustring title) Parameters Type Name Description Point point Location point. NStack.ustring title Title. Properties Cursor Cursor for the selected color. Declaration public Point Cursor { get; set; } Property Value Type Description Point SelectedColor Selected color. Declaration public Color SelectedColor { get; set; } Property Value Type Description Color Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean MoveLeft() Moves the selected item index to the previous column. Declaration public virtual bool MoveLeft() Returns Type Description System.Boolean MoveRight() Moves the selected item index to the next column. Declaration public virtual bool MoveRight() Returns Type Description System.Boolean MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events ColorChanged Fired when a color is picked. Declaration public event Action ColorChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + }, "api/Terminal.Gui/Terminal.Gui.Colors.html": { "href": "api/Terminal.Gui/Terminal.Gui.Colors.html", "title": "Class Colors", @@ -77,7 +82,7 @@ "api/Terminal.Gui/Terminal.Gui.ComboBox.html": { "href": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", "title": "Class ComboBox", - "keywords": "Class ComboBox ComboBox control Inheritance System.Object Responder View ComboBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ComboBox() Public constructor Declaration public ComboBox() ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme IsShow Gets the drop down list state, expanded or collapsed. Declaration public bool IsShow { get; } Property Value Type Description System.Boolean ReadOnly If set to true its not allow any changes in the text. Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean SelectedItem Gets the index of the currently selected item in the Source Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item or -1 none selected. Source Gets or sets the IListDataSource backing this ComboBox , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Collapse() Collapses the drop down list. Returns true if the state chagned or false if it was already collapsed and no action was taken Declaration public virtual bool Collapse() Returns Type Description System.Boolean Expand() Expands the drop down list. Returns true if the state chagned or false if it was already expanded and no action was taken Declaration public virtual bool Expand() Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) SetSource(IList) Sets the source of the ComboBox to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > SelectedItemChanged This event is raised when the selected item in the ComboBox has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ComboBox ComboBox control Inheritance System.Object Responder View ComboBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ComboBox() Public constructor Declaration public ComboBox() ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme IsShow Gets the drop down list state, expanded or collapsed. Declaration public bool IsShow { get; } Property Value Type Description System.Boolean ReadOnly If set to true its not allow any changes in the text. Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean SelectedItem Gets the index of the currently selected item in the Source Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item or -1 none selected. Source Gets or sets the IListDataSource backing this ComboBox , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Collapse() Collapses the drop down list. Returns true if the state chagned or false if it was already collapsed and no action was taken Declaration public virtual bool Collapse() Returns Type Description System.Boolean Expand() Expands the drop down list. Returns true if the state chagned or false if it was already expanded and no action was taken Declaration public virtual bool Expand() Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) SetSource(IList) Sets the source of the ComboBox to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > SelectedItemChanged This event is raised when the selected item in the ComboBox has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Command.html": { "href": "api/Terminal.Gui/Terminal.Gui.Command.html", @@ -92,12 +97,12 @@ "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html": { "href": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html", "title": "Class ConsoleDriver", - "keywords": "Class ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. Inheritance System.Object ConsoleDriver FakeDriver Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public abstract class ConsoleDriver Fields BlocksMeterSegment Blocks Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune BlocksMeterSegment Field Value Type Description System.Rune BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune ContinuousMeterSegment Continuous Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune ContinuousMeterSegment Field Value Type Description System.Rune Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune HDLine Horizontal double line character. Declaration public Rune HDLine Field Value Type Description System.Rune HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune HRLine Horizontal line character for rounded corners. Declaration public Rune HRLine Field Value Type Description System.Rune LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune LLDCorner Lower left double corner Declaration public Rune LLDCorner Field Value Type Description System.Rune LLRCorner Lower left rounded corner Declaration public Rune LLRCorner Field Value Type Description System.Rune LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune LRDCorner Lower right double corner Declaration public Rune LRDCorner Field Value Type Description System.Rune LRRCorner Lower right rounded corner Declaration public Rune LRRCorner Field Value Type Description System.Rune RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune ULDCorner Upper left double corner Declaration public Rune ULDCorner Field Value Type Description System.Rune ULRCorner Upper left rounded corner Declaration public Rune ULRCorner Field Value Type Description System.Rune UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune URDCorner Upper right double corner Declaration public Rune URDCorner Field Value Type Description System.Rune URRCorner Upper right rounded corner Declaration public Rune URRCorner Field Value Type Description System.Rune VDLine Vertical double line character. Declaration public Rune VDLine Field Value Type Description System.Rune VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune VRLine Vertical line character for rounded corners. Declaration public Rune VRLine Field Value Type Description System.Rune Properties Clip Controls the current clipping region that AddRune/AddStr is subject to. Declaration public Rect Clip { get; set; } Property Value Type Description Rect The clip. Clipboard Get the operation system clipboard. Declaration public abstract IClipboard Clipboard { get; } Property Value Type Description IClipboard Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags HeightAsBuffer If false height is measured by the window height and thus no scrolling. If true then height is measured by the buffer height, enabling scrolling. Declaration public abstract bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Left The current left in the terminal. Declaration public abstract int Left { get; } Property Value Type Description System.Int32 Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods AddRune(Rune) Adds the specified rune to the display at the current cursor position Declaration public abstract void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Rune to add. AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() DrawFrame(Rect, Int32, Boolean) Draws a frame on the specified region with the specified padding around the frame. Declaration public virtual void DrawFrame(Rect region, int padding, bool fill) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 padding Padding to add on the sides. System.Boolean fill If set to true it will clear the contents with the current color, otherwise the contents will be left untouched. Remarks This API has been superseded by DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) . DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) Draws a frame for a window with padding and an optional visible border inside the padding. Declaration public virtual void DrawWindowFrame(Rect region, int paddingLeft = 0, int paddingTop = 0, int paddingRight = 0, int paddingBottom = 0, bool border = true, bool fill = false, Border borderContent = null) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). System.Boolean border If set to true and any padding dimension is > 0 the border will be drawn. System.Boolean fill If set to true it will clear the content area (the area inside the padding) with the current color, otherwise the content area will be left untouched. Border borderContent The Border to be used if defined. DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) Draws the title for a Window-style view incorporating padding. Declaration public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. NStack.ustring title The title for the window. The title will only be drawn if title is not null or empty and paddingTop is greater than 0. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). TextAlignment textAlignment Not yet implemented. End() Ends the execution of the console driver. Declaration public abstract void End() EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. GetColors(Int32, out Color, out Color) Gets the foreground and background colors based on the value. Declaration public abstract bool GetColors(int value, out Color foreground, out Color background) Parameters Type Name Description System.Int32 value The value. Color foreground The foreground. Color background The background. Returns Type Description System.Boolean GetCursorVisibility(out CursorVisibility) Retreive the cursor caret visibility Declaration public abstract bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The current CursorVisibility Returns Type Description System.Boolean true upon success Init(Action) Initializes the driver Declaration public abstract void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Method to invoke when the terminal is resized. MakeAttribute(Color, Color) Make the attribute for the foreground and background colors. Declaration public abstract Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Foreground. Color back Background. Returns Type Description Attribute MakePrintable(Rune) Ensures a Rune is not a control character and can be displayed by translating characters below 0x20 to equivalent, printable, Unicode chars. Declaration public static Rune MakePrintable(Rune c) Parameters Type Name Description System.Rune c Rune to translate Returns Type Description System.Rune Move(Int32, Int32) Moves the cursor to the specified column and row. Declaration public abstract void Move(int col, int row) Parameters Type Name Description System.Int32 col Column to move the cursor to. System.Int32 row Row to move the cursor to. PrepareToRun(MainLoop, Action, Action, Action, Action) Prepare the driver and set the key and mouse events handlers. Declaration public abstract void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop The main loop. System.Action < KeyEvent > keyHandler The handler for ProcessKey System.Action < KeyEvent > keyDownHandler The handler for key down events System.Action < KeyEvent > keyUpHandler The handler for key up events System.Action < MouseEvent > mouseHandler The handler for mouse events Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Allows sending keys without typing on a keyboard. Declaration public abstract void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar The character key. System.ConsoleKey key The key. System.Boolean shift If shift key is sending. System.Boolean alt If alt key is sending. System.Boolean control If control key is sending. SetAttribute(Attribute) Selects the specified attribute as the attribute to use for future calls to AddRune, AddString. Declaration public abstract void SetAttribute(Attribute c) Parameters Type Name Description Attribute c C. SetColors(ConsoleColor, ConsoleColor) Set Colors from limit sets of colors. Declaration public abstract void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground Foreground. System.ConsoleColor background Background. SetColors(Int16, Int16) Advanced uses - set colors to any pre-set pairs, you would need to init_color that independently with the R, G, B values. Declaration public abstract void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId Foreground color identifier. System.Int16 backgroundColorId Background color identifier. SetCursorVisibility(CursorVisibility) Change the cursor caret visibility Declaration public abstract bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The wished CursorVisibility Returns Type Description System.Boolean true upon success SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() Suspend() Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver. Declaration public abstract void Suspend() UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() UpdateScreen() Redraws the physical screen with the contents that have been queued up via any of the printing commands. Declaration public abstract void UpdateScreen()" + "keywords": "Class ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. Inheritance System.Object ConsoleDriver FakeDriver Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public abstract class ConsoleDriver Fields BlocksMeterSegment Blocks Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune BlocksMeterSegment Field Value Type Description System.Rune BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune ContinuousMeterSegment Continuous Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune ContinuousMeterSegment Field Value Type Description System.Rune Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune HDLine Horizontal double line character. Declaration public Rune HDLine Field Value Type Description System.Rune HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune HRLine Horizontal line character for rounded corners. Declaration public Rune HRLine Field Value Type Description System.Rune LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune LLDCorner Lower left double corner Declaration public Rune LLDCorner Field Value Type Description System.Rune LLRCorner Lower left rounded corner Declaration public Rune LLRCorner Field Value Type Description System.Rune LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune LRDCorner Lower right double corner Declaration public Rune LRDCorner Field Value Type Description System.Rune LRRCorner Lower right rounded corner Declaration public Rune LRRCorner Field Value Type Description System.Rune RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune ULDCorner Upper left double corner Declaration public Rune ULDCorner Field Value Type Description System.Rune ULRCorner Upper left rounded corner Declaration public Rune ULRCorner Field Value Type Description System.Rune UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune URDCorner Upper right double corner Declaration public Rune URDCorner Field Value Type Description System.Rune URRCorner Upper right rounded corner Declaration public Rune URRCorner Field Value Type Description System.Rune VDLine Vertical double line character. Declaration public Rune VDLine Field Value Type Description System.Rune VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune VRLine Vertical line character for rounded corners. Declaration public Rune VRLine Field Value Type Description System.Rune Properties Clip Controls the current clipping region that AddRune/AddStr is subject to. Declaration public Rect Clip { get; set; } Property Value Type Description Rect The clip. Clipboard Get the operation system clipboard. Declaration public abstract IClipboard Clipboard { get; } Property Value Type Description IClipboard Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags HeightAsBuffer If false height is measured by the window height and thus no scrolling. If true then height is measured by the buffer height, enabling scrolling. Declaration public abstract bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Left The current left in the terminal. Declaration public abstract int Left { get; } Property Value Type Description System.Int32 Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods AddRune(Rune) Adds the specified rune to the display at the current cursor position Declaration public abstract void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Rune to add. AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() DrawFrame(Rect, Int32, Boolean) Draws a frame on the specified region with the specified padding around the frame. Declaration public virtual void DrawFrame(Rect region, int padding, bool fill) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 padding Padding to add on the sides. System.Boolean fill If set to true it will clear the contents with the current color, otherwise the contents will be left untouched. Remarks This API has been superseded by DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) . DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) Draws a frame for a window with padding and an optional visible border inside the padding. Declaration public virtual void DrawWindowFrame(Rect region, int paddingLeft = 0, int paddingTop = 0, int paddingRight = 0, int paddingBottom = 0, bool border = true, bool fill = false, Border borderContent = null) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). System.Boolean border If set to true and any padding dimension is > 0 the border will be drawn. System.Boolean fill If set to true it will clear the content area (the area inside the padding) with the current color, otherwise the content area will be left untouched. Border borderContent The Border to be used if defined. DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) Draws the title for a Window-style view incorporating padding. Declaration public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. NStack.ustring title The title for the window. The title will only be drawn if title is not null or empty and paddingTop is greater than 0. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). TextAlignment textAlignment Not yet implemented. End() Ends the execution of the console driver. Declaration public abstract void End() EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. GetColors(Int32, out Color, out Color) Gets the foreground and background colors based on the value. Declaration public abstract bool GetColors(int value, out Color foreground, out Color background) Parameters Type Name Description System.Int32 value The value. Color foreground The foreground. Color background The background. Returns Type Description System.Boolean GetCursorVisibility(out CursorVisibility) Retreive the cursor caret visibility Declaration public abstract bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The current CursorVisibility Returns Type Description System.Boolean true upon success Init(Action) Initializes the driver Declaration public abstract void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Method to invoke when the terminal is resized. IsValidContent(Int32, Int32, Rect) Ensures that the column and line are in a valid range from the size of the driver. Declaration public bool IsValidContent(int col, int row, Rect clip) Parameters Type Name Description System.Int32 col The column. System.Int32 row The row. Rect clip The clip. Returns Type Description System.Boolean true if it's a valid range, false otherwise. MakeAttribute(Color, Color) Make the attribute for the foreground and background colors. Declaration public abstract Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Foreground. Color back Background. Returns Type Description Attribute MakePrintable(Rune) Ensures a Rune is not a control character and can be displayed by translating characters below 0x20 to equivalent, printable, Unicode chars. Declaration public static Rune MakePrintable(Rune c) Parameters Type Name Description System.Rune c Rune to translate Returns Type Description System.Rune Move(Int32, Int32) Moves the cursor to the specified column and row. Declaration public abstract void Move(int col, int row) Parameters Type Name Description System.Int32 col Column to move the cursor to. System.Int32 row Row to move the cursor to. PrepareToRun(MainLoop, Action, Action, Action, Action) Prepare the driver and set the key and mouse events handlers. Declaration public abstract void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop The main loop. System.Action < KeyEvent > keyHandler The handler for ProcessKey System.Action < KeyEvent > keyDownHandler The handler for key down events System.Action < KeyEvent > keyUpHandler The handler for key up events System.Action < MouseEvent > mouseHandler The handler for mouse events Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Allows sending keys without typing on a keyboard. Declaration public abstract void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar The character key. System.ConsoleKey key The key. System.Boolean shift If shift key is sending. System.Boolean alt If alt key is sending. System.Boolean control If control key is sending. SetAttribute(Attribute) Selects the specified attribute as the attribute to use for future calls to AddRune, AddString. Declaration public abstract void SetAttribute(Attribute c) Parameters Type Name Description Attribute c C. SetColors(ConsoleColor, ConsoleColor) Set Colors from limit sets of colors. Declaration public abstract void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground Foreground. System.ConsoleColor background Background. SetColors(Int16, Int16) Advanced uses - set colors to any pre-set pairs, you would need to init_color that independently with the R, G, B values. Declaration public abstract void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId Foreground color identifier. System.Int16 backgroundColorId Background color identifier. SetCursorVisibility(CursorVisibility) Change the cursor caret visibility Declaration public abstract bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The wished CursorVisibility Returns Type Description System.Boolean true upon success SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() Suspend() Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver. Declaration public abstract void Suspend() UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() UpdateOffScreen() Reset and recreate the contents and the driver buffer. Declaration public abstract void UpdateOffScreen() UpdateScreen() Redraws the physical screen with the contents that have been queued up via any of the printing commands. Declaration public abstract void UpdateScreen()" }, "api/Terminal.Gui/Terminal.Gui.ContextMenu.html": { "href": "api/Terminal.Gui/Terminal.Gui.ContextMenu.html", "title": "Class ContextMenu", - "keywords": "Class ContextMenu A context menu window derived from MenuBar containing menu items which can be opened in any position. Inheritance System.Object ContextMenu Implements System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public sealed class ContextMenu : IDisposable Constructors ContextMenu() Initialize a context menu with empty menu items. Declaration public ContextMenu() ContextMenu(Int32, Int32, MenuBarItem) Initialize a context menu with menu items. Declaration public ContextMenu(int x, int y, MenuBarItem menuItems) Parameters Type Name Description System.Int32 x The left position. System.Int32 y The top position. MenuBarItem menuItems The menu items. ContextMenu(View, MenuBarItem) Initialize a context menu with menu items from a host View . Declaration public ContextMenu(View host, MenuBarItem menuItems) Parameters Type Name Description View host The host view. MenuBarItem menuItems The menu items. Properties ForceMinimumPosToZero Gets or sets whether forces the minimum position to zero if the left or right position are negative. Declaration public bool ForceMinimumPosToZero { get; set; } Property Value Type Description System.Boolean Host The host View which position will be used, otherwise if it's null the container will be used. Declaration public View Host { get; set; } Property Value Type Description View IsShow Gets information whether menu is showing or not. Declaration public static bool IsShow { get; } Property Value Type Description System.Boolean Key The Key used to activate the context menu by keyboard. Declaration public Key Key { get; set; } Property Value Type Description Key MenuBar Gets the MenuBar that is hosting this context menu. Declaration public MenuBar MenuBar { get; } Property Value Type Description MenuBar MenuItens Gets or sets the menu items for this context menu. Declaration public MenuBarItem MenuItens { get; set; } Property Value Type Description MenuBarItem MouseFlags The MouseFlags used to activate the context menu by mouse. Declaration public MouseFlags MouseFlags { get; set; } Property Value Type Description MouseFlags Position Gets or set the menu position. Declaration public Point Position { get; set; } Property Value Type Description Point UseSubMenusSingleFrame Gets or sets if the sub-menus must be displayed in a single or multiple frames. Declaration public bool UseSubMenusSingleFrame { get; set; } Property Value Type Description System.Boolean Methods Dispose() Declaration public void Dispose() Hide() Close the MenuItens menu items. Declaration public void Hide() Show() Open the MenuItens menu items. Declaration public void Show() Events KeyChanged Event invoked when the Key is changed. Declaration public event Action KeyChanged Event Type Type Description System.Action < Key > MouseFlagsChanged Event invoked when the MouseFlags is changed. Declaration public event Action MouseFlagsChanged Event Type Type Description System.Action < MouseFlags > Implements System.IDisposable" + "keywords": "Class ContextMenu A context menu window derived from MenuBar containing menu items which can be opened in any position. Inheritance System.Object ContextMenu Implements System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public sealed class ContextMenu : IDisposable Constructors ContextMenu() Initialize a context menu with empty menu items. Declaration public ContextMenu() ContextMenu(Int32, Int32, MenuBarItem) Initialize a context menu with menu items. Declaration public ContextMenu(int x, int y, MenuBarItem menuItems) Parameters Type Name Description System.Int32 x The left position. System.Int32 y The top position. MenuBarItem menuItems The menu items. ContextMenu(View, MenuBarItem) Initialize a context menu with menu items from a host View . Declaration public ContextMenu(View host, MenuBarItem menuItems) Parameters Type Name Description View host The host view. MenuBarItem menuItems The menu items. Properties ForceMinimumPosToZero Gets or sets whether forces the minimum position to zero if the left or right position are negative. Declaration public bool ForceMinimumPosToZero { get; set; } Property Value Type Description System.Boolean Host The host View which position will be used, otherwise if it's null the container will be used. Declaration public View Host { get; set; } Property Value Type Description View IsShow Gets information whether menu is showing or not. Declaration public static bool IsShow { get; } Property Value Type Description System.Boolean Key The Key used to activate the context menu by keyboard. Declaration public Key Key { get; set; } Property Value Type Description Key MenuBar Gets the MenuBar that is hosting this context menu. Declaration public MenuBar MenuBar { get; } Property Value Type Description MenuBar MenuItems Gets or sets the menu items for this context menu. Declaration public MenuBarItem MenuItems { get; set; } Property Value Type Description MenuBarItem MouseFlags The MouseFlags used to activate the context menu by mouse. Declaration public MouseFlags MouseFlags { get; set; } Property Value Type Description MouseFlags Position Gets or set the menu position. Declaration public Point Position { get; set; } Property Value Type Description Point UseSubMenusSingleFrame Gets or sets if the sub-menus must be displayed in a single or multiple frames. Declaration public bool UseSubMenusSingleFrame { get; set; } Property Value Type Description System.Boolean Methods Dispose() Declaration public void Dispose() Hide() Close the MenuItems menu items. Declaration public void Hide() Show() Open the MenuItems menu items. Declaration public void Show() Events KeyChanged Event invoked when the Key is changed. Declaration public event Action KeyChanged Event Type Type Description System.Action < Key > MouseFlagsChanged Event invoked when the MouseFlags is changed. Declaration public event Action MouseFlagsChanged Event Type Type Description System.Action < MouseFlags > Implements System.IDisposable" }, "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html": { "href": "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html", @@ -107,7 +112,7 @@ "api/Terminal.Gui/Terminal.Gui.DateField.html": { "href": "api/Terminal.Gui/Terminal.Gui.DateField.html", "title": "Class DateField", - "keywords": "Class DateField Simple Date editing View Inheritance System.Object Responder View TextField DateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Autocomplete TextField.Frame TextField.Text TextField.Secret TextField.ScrollOffset TextField.IsDirty TextField.HasHistoryChanges TextField.ContextMenu TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.KillWordBackwards() TextField.KillWordForwards() TextField.SelectAll() TextField.DeleteAll() TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) TextField.InsertText(String, Boolean) TextField.ClearHistoryChanges() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class DateField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The DateField View provides date editing functionality with mouse support. Constructors DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date DateField(Int32, Int32, DateTime, Boolean) Initializes a new instance of DateField using Absolute layout. Declaration public DateField(int x, int y, DateTime date, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.DateTime date Initial date contents. System.Boolean isShort If true, shows only two digits for the year. Properties CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime Remarks IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnDateChanged(DateTimeEventArgs) Event firing method for the DateChanged event. Declaration public virtual void OnDateChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.DateTime > args Event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> Remarks This event is raised when the Date property changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DateField Simple Date editing View Inheritance System.Object Responder View TextField DateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Autocomplete TextField.Frame TextField.Text TextField.Secret TextField.ScrollOffset TextField.IsDirty TextField.HasHistoryChanges TextField.ContextMenu TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.KillWordBackwards() TextField.KillWordForwards() TextField.SelectAll() TextField.DeleteAll() TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) TextField.InsertText(String, Boolean) TextField.ClearHistoryChanges() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class DateField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The DateField View provides date editing functionality with mouse support. Constructors DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date DateField(Int32, Int32, DateTime, Boolean) Initializes a new instance of DateField using Absolute layout. Declaration public DateField(int x, int y, DateTime date, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.DateTime date Initial date contents. System.Boolean isShort If true, shows only two digits for the year. Properties CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime Remarks IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnDateChanged(DateTimeEventArgs) Event firing method for the DateChanged event. Declaration public virtual void OnDateChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.DateTime > args Event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> Remarks This event is raised when the Date property changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html": { "href": "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html", @@ -117,7 +122,7 @@ "api/Terminal.Gui/Terminal.Gui.Dialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.Dialog.html", "title": "Class Dialog", - "keywords": "Class Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Dialog : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To run the Dialog modally, create the Dialog , and pass it to Run(Func) . This will execute the dialog until it terminates via the [ESC] or [CTRL-Q] key, or when one of the views or buttons added to the dialog calls RequestStop(Toplevel) . Constructors Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Use AddButton(Button) to add buttons to the dialog. Dialog(ustring, Int32, Int32, Button[]) Initializes a new instance of the Dialog class using Computed positioning and an optional set of Button s to display Declaration public Dialog(ustring title, int width, int height, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. System.Int32 width Width for the dialog. System.Int32 height Height for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks if width and height are both 0, the Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Dialog(ustring, Button[]) Initializes a new instance of the Dialog class using Computed positioning and with an optional set of Button s to display Declaration public Dialog(ustring title, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Methods AddButton(Button) Adds a Button to the Dialog , its layout will be controlled by the Dialog Declaration public void AddButton(Button button) Parameters Type Name Description Button button Button to add. ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Toplevel.ProcessKey(KeyEvent) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Dialog : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To run the Dialog modally, create the Dialog , and pass it to Run(Func) . This will execute the dialog until it terminates via the [ESC] or [CTRL-Q] key, or when one of the views or buttons added to the dialog calls RequestStop(Toplevel) . Constructors Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Use AddButton(Button) to add buttons to the dialog. Dialog(ustring, Int32, Int32, Button[]) Initializes a new instance of the Dialog class using Computed positioning and an optional set of Button s to display Declaration public Dialog(ustring title, int width, int height, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. System.Int32 width Width for the dialog. System.Int32 height Height for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks if width and height are both 0, the Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Dialog(ustring, Button[]) Initializes a new instance of the Dialog class using Computed positioning and with an optional set of Button s to display Declaration public Dialog(ustring title, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Methods AddButton(Button) Adds a Button to the Dialog , its layout will be controlled by the Dialog Declaration public void AddButton(Button button) Parameters Type Name Description Button button Button to add. ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Toplevel.ProcessKey(KeyEvent) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Dim.html": { "href": "api/Terminal.Gui/Terminal.Gui.Dim.html", @@ -137,7 +142,7 @@ "api/Terminal.Gui/Terminal.Gui.FakeDriver.html": { "href": "api/Terminal.Gui/Terminal.Gui.FakeDriver.html", "title": "Class FakeDriver", - "keywords": "Class FakeDriver Implements a mock ConsoleDriver for unit testing Inheritance System.Object ConsoleDriver FakeDriver Inherited Members ConsoleDriver.TerminalResized ConsoleDriver.MakePrintable(Rune) ConsoleDriver.SetTerminalResized(Action) ConsoleDriver.DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) ConsoleDriver.Diagnostics ConsoleDriver.DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) ConsoleDriver.DrawFrame(Rect, Int32, Boolean) ConsoleDriver.Clip ConsoleDriver.HLine ConsoleDriver.VLine ConsoleDriver.Stipple ConsoleDriver.Diamond ConsoleDriver.ULCorner ConsoleDriver.LLCorner ConsoleDriver.URCorner ConsoleDriver.LRCorner ConsoleDriver.LeftTee ConsoleDriver.RightTee ConsoleDriver.TopTee ConsoleDriver.BottomTee ConsoleDriver.Checked ConsoleDriver.UnChecked ConsoleDriver.Selected ConsoleDriver.UnSelected ConsoleDriver.RightArrow ConsoleDriver.LeftArrow ConsoleDriver.DownArrow ConsoleDriver.UpArrow ConsoleDriver.LeftDefaultIndicator ConsoleDriver.RightDefaultIndicator ConsoleDriver.LeftBracket ConsoleDriver.RightBracket ConsoleDriver.BlocksMeterSegment ConsoleDriver.ContinuousMeterSegment ConsoleDriver.HDLine ConsoleDriver.VDLine ConsoleDriver.ULDCorner ConsoleDriver.LLDCorner ConsoleDriver.URDCorner ConsoleDriver.LRDCorner ConsoleDriver.HRLine ConsoleDriver.VRLine ConsoleDriver.ULRCorner ConsoleDriver.LLRCorner ConsoleDriver.URRCorner ConsoleDriver.LRRCorner System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FakeDriver : ConsoleDriver Constructors FakeDriver() Declaration public FakeDriver() Properties Clipboard Declaration public override IClipboard Clipboard { get; } Property Value Type Description IClipboard Overrides ConsoleDriver.Clipboard Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer Left Declaration public override int Left { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Left Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() End() Declaration public override void End() Overrides ConsoleDriver.End() EnsureCursorVisibility() Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean Overrides ConsoleDriver.EnsureCursorVisibility() GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() GetColors(Int32, out Color, out Color) Declaration public override bool GetColors(int value, out Color foreground, out Color background) Parameters Type Name Description System.Int32 value Color foreground Color background Returns Type Description System.Boolean Overrides ConsoleDriver.GetColors(Int32, out Color, out Color) GetCursorVisibility(out CursorVisibility) Declaration public override bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.GetCursorVisibility(out CursorVisibility) Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) MakeAttribute(Color, Color) Declaration public override Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Color back Returns Type Description Attribute Overrides ConsoleDriver.MakeAttribute(Color, Color) Move(Int32, Int32) Declaration public override void Move(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Overrides ConsoleDriver.Move(Int32, Int32) PrepareToRun(MainLoop, Action, Action, Action, Action) Declaration public override void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop System.Action < KeyEvent > keyHandler System.Action < KeyEvent > keyDownHandler System.Action < KeyEvent > keyUpHandler System.Action < MouseEvent > mouseHandler Overrides ConsoleDriver.PrepareToRun(MainLoop, Action, Action, Action, Action) Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Declaration public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar System.ConsoleKey key System.Boolean shift System.Boolean alt System.Boolean control Overrides ConsoleDriver.SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) SetBufferSize(Int32, Int32) Declaration public void SetBufferSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height SetColors(ConsoleColor, ConsoleColor) Declaration public override void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground System.ConsoleColor background Overrides ConsoleDriver.SetColors(ConsoleColor, ConsoleColor) SetColors(Int16, Int16) Declaration public override void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId System.Int16 backgroundColorId Overrides ConsoleDriver.SetColors(Int16, Int16) SetCursorVisibility(CursorVisibility) Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) SetWindowPosition(Int32, Int32) Declaration public void SetWindowPosition(int left, int top) Parameters Type Name Description System.Int32 left System.Int32 top SetWindowSize(Int32, Int32) Declaration public void SetWindowSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() UpdateScreen() Declaration public override void UpdateScreen() Overrides ConsoleDriver.UpdateScreen()" + "keywords": "Class FakeDriver Implements a mock ConsoleDriver for unit testing Inheritance System.Object ConsoleDriver FakeDriver Inherited Members ConsoleDriver.TerminalResized ConsoleDriver.MakePrintable(Rune) ConsoleDriver.IsValidContent(Int32, Int32, Rect) ConsoleDriver.SetTerminalResized(Action) ConsoleDriver.DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) ConsoleDriver.Diagnostics ConsoleDriver.DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border) ConsoleDriver.DrawFrame(Rect, Int32, Boolean) ConsoleDriver.Clip ConsoleDriver.HLine ConsoleDriver.VLine ConsoleDriver.Stipple ConsoleDriver.Diamond ConsoleDriver.ULCorner ConsoleDriver.LLCorner ConsoleDriver.URCorner ConsoleDriver.LRCorner ConsoleDriver.LeftTee ConsoleDriver.RightTee ConsoleDriver.TopTee ConsoleDriver.BottomTee ConsoleDriver.Checked ConsoleDriver.UnChecked ConsoleDriver.Selected ConsoleDriver.UnSelected ConsoleDriver.RightArrow ConsoleDriver.LeftArrow ConsoleDriver.DownArrow ConsoleDriver.UpArrow ConsoleDriver.LeftDefaultIndicator ConsoleDriver.RightDefaultIndicator ConsoleDriver.LeftBracket ConsoleDriver.RightBracket ConsoleDriver.BlocksMeterSegment ConsoleDriver.ContinuousMeterSegment ConsoleDriver.HDLine ConsoleDriver.VDLine ConsoleDriver.ULDCorner ConsoleDriver.LLDCorner ConsoleDriver.URDCorner ConsoleDriver.LRDCorner ConsoleDriver.HRLine ConsoleDriver.VRLine ConsoleDriver.ULRCorner ConsoleDriver.LLRCorner ConsoleDriver.URRCorner ConsoleDriver.LRRCorner System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FakeDriver : ConsoleDriver Constructors FakeDriver() Declaration public FakeDriver() Properties Clipboard Declaration public override IClipboard Clipboard { get; } Property Value Type Description IClipboard Overrides ConsoleDriver.Clipboard Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer Left Declaration public override int Left { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Left Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() End() Declaration public override void End() Overrides ConsoleDriver.End() EnsureCursorVisibility() Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean Overrides ConsoleDriver.EnsureCursorVisibility() GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() GetColors(Int32, out Color, out Color) Declaration public override bool GetColors(int value, out Color foreground, out Color background) Parameters Type Name Description System.Int32 value Color foreground Color background Returns Type Description System.Boolean Overrides ConsoleDriver.GetColors(Int32, out Color, out Color) GetCursorVisibility(out CursorVisibility) Declaration public override bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.GetCursorVisibility(out CursorVisibility) Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) MakeAttribute(Color, Color) Declaration public override Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Color back Returns Type Description Attribute Overrides ConsoleDriver.MakeAttribute(Color, Color) Move(Int32, Int32) Declaration public override void Move(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Overrides ConsoleDriver.Move(Int32, Int32) PrepareToRun(MainLoop, Action, Action, Action, Action) Declaration public override void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop System.Action < KeyEvent > keyHandler System.Action < KeyEvent > keyDownHandler System.Action < KeyEvent > keyUpHandler System.Action < MouseEvent > mouseHandler Overrides ConsoleDriver.PrepareToRun(MainLoop, Action, Action, Action, Action) Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Declaration public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar System.ConsoleKey key System.Boolean shift System.Boolean alt System.Boolean control Overrides ConsoleDriver.SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) SetBufferSize(Int32, Int32) Declaration public void SetBufferSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height SetColors(ConsoleColor, ConsoleColor) Declaration public override void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground System.ConsoleColor background Overrides ConsoleDriver.SetColors(ConsoleColor, ConsoleColor) SetColors(Int16, Int16) Declaration public override void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId System.Int16 backgroundColorId Overrides ConsoleDriver.SetColors(Int16, Int16) SetCursorVisibility(CursorVisibility) Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) SetWindowPosition(Int32, Int32) Declaration public void SetWindowPosition(int left, int top) Parameters Type Name Description System.Int32 left System.Int32 top SetWindowSize(Int32, Int32) Declaration public void SetWindowSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() UpdateOffScreen() Declaration public override void UpdateOffScreen() Overrides ConsoleDriver.UpdateOffScreen() UpdateScreen() Declaration public override void UpdateScreen() Overrides ConsoleDriver.UpdateScreen()" }, "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html": { "href": "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html", @@ -147,12 +152,12 @@ "api/Terminal.Gui/Terminal.Gui.FileDialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.FileDialog.html", "title": "Class FileDialog", - "keywords": "Class FileDialog Base class for the OpenDialog and the SaveDialog Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FileDialog : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FileDialog() Initializes a new FileDialog . Declaration public FileDialog() FileDialog(ustring, ustring, ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameDirLabel, ustring nameFieldLabel, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring nameDirLabel The name of the directory field label. NStack.ustring nameFieldLabel The name of the file field label.. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. FileDialog(ustring, ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameFieldLabel, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring nameFieldLabel The name of the file field label.. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. FileDialog(ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring message, List allowedTypes) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. Properties AllowedFileTypes The array of filename extensions allowed, or null if all file extensions are allowed. Declaration public string[] AllowedFileTypes { get; set; } Property Value Type Description System.String [] The allowed file types. AllowsOtherFileTypes Gets or sets a value indicating whether this FileDialog allows the file to be saved with a different extension Declaration public bool AllowsOtherFileTypes { get; set; } Property Value Type Description System.Boolean true if allows other file types; otherwise, false . Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean CanCreateDirectories Gets or sets a value indicating whether this FileDialog can create directories. Declaration public bool CanCreateDirectories { get; set; } Property Value Type Description System.Boolean true if can create directories; otherwise, false . DirectoryPath Gets or sets the directory path for this panel Declaration public ustring DirectoryPath { get; set; } Property Value Type Description NStack.ustring The directory path. FilePath The File path that is currently shown on the panel Declaration public ustring FilePath { get; set; } Property Value Type Description NStack.ustring The absolute file path for the file path entered. IsExtensionHidden Gets or sets a value indicating whether this FileDialog is extension hidden. Declaration public bool IsExtensionHidden { get; set; } Property Value Type Description System.Boolean true if is extension hidden; otherwise, false . Message Gets or sets the message displayed to the user, defaults to nothing Declaration public ustring Message { get; set; } Property Value Type Description NStack.ustring The message. NameDirLabel Gets or sets the name of the directory field label. Declaration public ustring NameDirLabel { get; set; } Property Value Type Description NStack.ustring The name of the directory field label. NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. Prompt Gets or sets the prompt label for the Button displayed to the user Declaration public ustring Prompt { get; set; } Property Value Type Description NStack.ustring The prompt. Methods WillPresent() Declaration public override void WillPresent() Overrides Toplevel.WillPresent() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class FileDialog Base class for the OpenDialog and the SaveDialog Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FileDialog : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FileDialog() Initializes a new FileDialog . Declaration public FileDialog() FileDialog(ustring, ustring, ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameDirLabel, ustring nameFieldLabel, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring nameDirLabel The name of the directory field label. NStack.ustring nameFieldLabel The name of the file field label.. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. FileDialog(ustring, ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameFieldLabel, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring nameFieldLabel The name of the file field label.. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. FileDialog(ustring, ustring, ustring, List) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring message, List allowedTypes) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. Properties AllowedFileTypes The array of filename extensions allowed, or null if all file extensions are allowed. Declaration public string[] AllowedFileTypes { get; set; } Property Value Type Description System.String [] The allowed file types. AllowsOtherFileTypes Gets or sets a value indicating whether this FileDialog allows the file to be saved with a different extension Declaration public bool AllowsOtherFileTypes { get; set; } Property Value Type Description System.Boolean true if allows other file types; otherwise, false . Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean CanCreateDirectories Gets or sets a value indicating whether this FileDialog can create directories. Declaration public bool CanCreateDirectories { get; set; } Property Value Type Description System.Boolean true if can create directories; otherwise, false . DirectoryPath Gets or sets the directory path for this panel Declaration public ustring DirectoryPath { get; set; } Property Value Type Description NStack.ustring The directory path. FilePath The File path that is currently shown on the panel Declaration public ustring FilePath { get; set; } Property Value Type Description NStack.ustring The absolute file path for the file path entered. IsExtensionHidden Gets or sets a value indicating whether this FileDialog is extension hidden. Declaration public bool IsExtensionHidden { get; set; } Property Value Type Description System.Boolean true if is extension hidden; otherwise, false . Message Gets or sets the message displayed to the user, defaults to nothing Declaration public ustring Message { get; set; } Property Value Type Description NStack.ustring The message. NameDirLabel Gets or sets the name of the directory field label. Declaration public ustring NameDirLabel { get; set; } Property Value Type Description NStack.ustring The name of the directory field label. NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. Prompt Gets or sets the prompt label for the Button displayed to the user Declaration public ustring Prompt { get; set; } Property Value Type Description NStack.ustring The prompt. Methods WillPresent() Declaration public override void WillPresent() Overrides Toplevel.WillPresent() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.FrameView.html": { "href": "api/Terminal.Gui/Terminal.Gui.FrameView.html", "title": "Class FrameView", - "keywords": "Class FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. Inheritance System.Object Responder View FrameView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FrameView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() FrameView(ustring, Border) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(ustring title, Border border = null) Parameters Type Name Description NStack.ustring title Title. Border border The Border . FrameView(Rect, ustring, View[], Border) Initializes a new instance of the FrameView class using Absolute layout. Declaration public FrameView(Rect frame, ustring title = null, View[] views = null, Border border = null) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. View [] views Views. Border border The Border . Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods Add(View) Add the specified View to this container. Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides View.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Removes a View from this container. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) Remarks RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. Inheritance System.Object Responder View FrameView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FrameView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() FrameView(ustring, Border) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(ustring title, Border border = null) Parameters Type Name Description NStack.ustring title Title. Border border The Border . FrameView(Rect, ustring, View[], Border) Initializes a new instance of the FrameView class using Absolute layout. Declaration public FrameView(Rect frame, ustring title = null, View[] views = null, Border border = null) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. View [] views Views. Border border The Border . Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods Add(View) Add the specified View to this container. Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides View.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Removes a View from this container. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) Remarks RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html": { "href": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html", @@ -247,7 +252,7 @@ "api/Terminal.Gui/Terminal.Gui.GraphView.html": { "href": "api/Terminal.Gui/Terminal.Gui.GraphView.html", "title": "Class GraphView", - "keywords": "Class GraphView Control for rendering graphs (bar, scatter etc) Inheritance System.Object Responder View GraphView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class GraphView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors GraphView() Creates a new graph with a 1 to 1 graph space with absolute layout Declaration public GraphView() Properties Annotations Elements drawn into graph after series have been drawn e.g. Legends etc Declaration public List Annotations { get; } Property Value Type Description System.Collections.Generic.List < IAnnotation > AxisX Horizontal axis Declaration public HorizontalAxis AxisX { get; set; } Property Value Type Description HorizontalAxis AxisY Vertical axis Declaration public VerticalAxis AxisY { get; set; } Property Value Type Description VerticalAxis CellSize Translates console width/height into graph space. Defaults to 1 row/col of console space being 1 unit of graph space. Declaration public PointF CellSize { get; set; } Property Value Type Description PointF GraphColor The color of the background of the graph and axis/labels Declaration public Attribute? GraphColor { get; set; } Property Value Type Description System.Nullable < Attribute > MarginBottom Amount of space to leave on bottom of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginBottom { get; set; } Property Value Type Description System.UInt32 MarginLeft Amount of space to leave on left of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginLeft { get; set; } Property Value Type Description System.UInt32 ScrollOffset The graph space position of the bottom left of the control. Changing this scrolls the viewport around in the graph Declaration public PointF ScrollOffset { get; set; } Property Value Type Description PointF Series Collection of data series that are rendered in the graph Declaration public List Series { get; } Property Value Type Description System.Collections.Generic.List < ISeries > Methods DrawLine(Point, Point, Rune) Draws a line between two points in screen space. Can be diagonals. Declaration public void DrawLine(Point start, Point end, Rune symbol) Parameters Type Name Description Point start Point end System.Rune symbol The symbol to use for the line GraphSpaceToScreen(PointF) Calculates the screen location for a given point in graph space. Bear in mind these be off screen Declaration public Point GraphSpaceToScreen(PointF location) Parameters Type Name Description PointF location Point in graph space that may or may not be represented in the visible area of graph currently presented. E.g. 0,0 for origin Returns Type Description Point Screen position (Column/Row) which would be used to render the graph location . Note that this can be outside the current client area of the control PageDown() Scrolls the graph down 1 page Declaration public void PageDown() PageUp() Scrolls the graph up 1 page Declaration public void PageUp() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Reset() Clears all settings configured on the graph and resets all properties to default values ( CellSize , ScrollOffset etc) Declaration public void Reset() ScreenToGraphSpace(Int32, Int32) Returns the section of the graph that is represented by the given screen position Declaration public RectangleF ScreenToGraphSpace(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description RectangleF ScreenToGraphSpace(Rect) Returns the section of the graph that is represented by the screen area Declaration public RectangleF ScreenToGraphSpace(Rect screenArea) Parameters Type Name Description Rect screenArea Returns Type Description RectangleF Scroll(Single, Single) Scrolls the view by a given number of units in graph space. See CellSize to translate this into rows/cols Declaration public void Scroll(float offsetX, float offsetY) Parameters Type Name Description System.Single offsetX System.Single offsetY SetDriverColorToGraphColor() Sets the color attribute of Driver to the GraphColor (if defined) or ColorScheme otherwise. Declaration public void SetDriverColorToGraphColor() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class GraphView Control for rendering graphs (bar, scatter etc) Inheritance System.Object Responder View GraphView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class GraphView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors GraphView() Creates a new graph with a 1 to 1 graph space with absolute layout Declaration public GraphView() Properties Annotations Elements drawn into graph after series have been drawn e.g. Legends etc Declaration public List Annotations { get; } Property Value Type Description System.Collections.Generic.List < IAnnotation > AxisX Horizontal axis Declaration public HorizontalAxis AxisX { get; set; } Property Value Type Description HorizontalAxis AxisY Vertical axis Declaration public VerticalAxis AxisY { get; set; } Property Value Type Description VerticalAxis CellSize Translates console width/height into graph space. Defaults to 1 row/col of console space being 1 unit of graph space. Declaration public PointF CellSize { get; set; } Property Value Type Description PointF GraphColor The color of the background of the graph and axis/labels Declaration public Attribute? GraphColor { get; set; } Property Value Type Description System.Nullable < Attribute > MarginBottom Amount of space to leave on bottom of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginBottom { get; set; } Property Value Type Description System.UInt32 MarginLeft Amount of space to leave on left of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginLeft { get; set; } Property Value Type Description System.UInt32 ScrollOffset The graph space position of the bottom left of the control. Changing this scrolls the viewport around in the graph Declaration public PointF ScrollOffset { get; set; } Property Value Type Description PointF Series Collection of data series that are rendered in the graph Declaration public List Series { get; } Property Value Type Description System.Collections.Generic.List < ISeries > Methods DrawLine(Point, Point, Rune) Draws a line between two points in screen space. Can be diagonals. Declaration public void DrawLine(Point start, Point end, Rune symbol) Parameters Type Name Description Point start Point end System.Rune symbol The symbol to use for the line GraphSpaceToScreen(PointF) Calculates the screen location for a given point in graph space. Bear in mind these be off screen Declaration public Point GraphSpaceToScreen(PointF location) Parameters Type Name Description PointF location Point in graph space that may or may not be represented in the visible area of graph currently presented. E.g. 0,0 for origin Returns Type Description Point Screen position (Column/Row) which would be used to render the graph location . Note that this can be outside the current client area of the control PageDown() Scrolls the graph down 1 page Declaration public void PageDown() PageUp() Scrolls the graph up 1 page Declaration public void PageUp() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Reset() Clears all settings configured on the graph and resets all properties to default values ( CellSize , ScrollOffset etc) Declaration public void Reset() ScreenToGraphSpace(Int32, Int32) Returns the section of the graph that is represented by the given screen position Declaration public RectangleF ScreenToGraphSpace(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description RectangleF ScreenToGraphSpace(Rect) Returns the section of the graph that is represented by the screen area Declaration public RectangleF ScreenToGraphSpace(Rect screenArea) Parameters Type Name Description Rect screenArea Returns Type Description RectangleF Scroll(Single, Single) Scrolls the view by a given number of units in graph space. See CellSize to translate this into rows/cols Declaration public void Scroll(float offsetX, float offsetY) Parameters Type Name Description System.Single offsetX System.Single offsetY SetDriverColorToGraphColor() Sets the color attribute of Driver to the GraphColor (if defined) or ColorScheme otherwise. Declaration public void SetDriverColorToGraphColor() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html", @@ -257,12 +262,12 @@ "api/Terminal.Gui/Terminal.Gui.HexView.html": { "href": "api/Terminal.Gui/Terminal.Gui.HexView.html", "title": "Class HexView", - "keywords": "Class HexView An hex viewer and editor View over a System.IO.Stream Inheritance System.Object Responder View HexView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class HexView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks HexView provides a hex editor on top of a seekable System.IO.Stream with the left side showing an hex dump of the values in the System.IO.Stream and the right side showing the contents (filtered to non-control sequence ASCII characters). Users can switch from one side to the other by using the tab key. To enable editing, set AllowEdits to true. When AllowEdits is true the user can make changes to the hexadecimal values of the System.IO.Stream . Any changes are tracked in the Edits property (a System.Collections.Generic.SortedDictionary`2 ) indicating the position where the changes were made and the new values. A convenience method, ApplyEdits(Stream) will apply the edits to the System.IO.Stream . Control the first byte shown by setting the DisplayStart property to an offset in the stream. Constructors HexView() Initializes a HexView class using Computed layout. Declaration public HexView() HexView(Stream) Initializes a HexView class using Computed layout. Declaration public HexView(Stream source) Parameters Type Name Description System.IO.Stream source The System.IO.Stream to view and edit as hex, this System.IO.Stream must support seeking, or an exception will be thrown. Properties AllowEdits Gets or sets whether this HexView allow editing of the System.IO.Stream of the underlying System.IO.Stream . Declaration public bool AllowEdits { get; set; } Property Value Type Description System.Boolean true if allow edits; otherwise, false . BytesPerLine The bytes length per line. Declaration public int BytesPerLine { get; } Property Value Type Description System.Int32 CursorPosition Gets the current cursor position starting at one for both, line and column. Declaration public Point CursorPosition { get; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility DisplayStart Sets or gets the offset into the System.IO.Stream that will displayed at the top of the HexView Declaration public long DisplayStart { get; set; } Property Value Type Description System.Int64 The display start. Edits Gets a System.Collections.Generic.SortedDictionary`2 describing the edits done to the HexView . Each Key indicates an offset where an edit was made and the Value is the changed byte. Declaration public IReadOnlyDictionary Edits { get; } Property Value Type Description System.Collections.Generic.IReadOnlyDictionary < System.Int64 , System.Byte > The edits. Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame Position Gets the current character position starting at one, related to the System.IO.Stream . Declaration public long Position { get; } Property Value Type Description System.Int64 Source Sets or gets the System.IO.Stream the HexView is operating on; the stream must support seeking ( System.IO.Stream.CanSeek == true). Declaration public Stream Source { get; set; } Property Value Type Description System.IO.Stream The source. Methods ApplyEdits(Stream) This method applies and edits made to the System.IO.Stream and resets the contents of the Edits property. Declaration public void ApplyEdits(Stream stream = null) Parameters Type Name Description System.IO.Stream stream If provided also applies the changes to the passed System.IO.Stream DiscardEdits() This method discards the edits made to the System.IO.Stream by resetting the contents of the Edits property. Declaration public void DiscardEdits() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEdited(KeyValuePair) Method used to invoke the Edited event passing the System.Collections.Generic.KeyValuePair . Declaration public virtual void OnEdited(KeyValuePair keyValuePair) Parameters Type Name Description System.Collections.Generic.KeyValuePair < System.Int64 , System.Byte > keyValuePair The key value pair. OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnPositionChanged() Method used to invoke the PositionChanged event passing the HexView.HexViewEventArgs arguments. Declaration public virtual void OnPositionChanged() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Edited Event to be invoked when an edit is made on the System.IO.Stream . Declaration public event Action> Edited Event Type Type Description System.Action < System.Collections.Generic.KeyValuePair < System.Int64 , System.Byte >> PositionChanged Event to be invoked when the position and cursor position changes. Declaration public event Action PositionChanged Event Type Type Description System.Action < HexView.HexViewEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class HexView An hex viewer and editor View over a System.IO.Stream Inheritance System.Object Responder View HexView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class HexView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks HexView provides a hex editor on top of a seekable System.IO.Stream with the left side showing an hex dump of the values in the System.IO.Stream and the right side showing the contents (filtered to non-control sequence ASCII characters). Users can switch from one side to the other by using the tab key. To enable editing, set AllowEdits to true. When AllowEdits is true the user can make changes to the hexadecimal values of the System.IO.Stream . Any changes are tracked in the Edits property (a System.Collections.Generic.SortedDictionary`2 ) indicating the position where the changes were made and the new values. A convenience method, ApplyEdits(Stream) will apply the edits to the System.IO.Stream . Control the first byte shown by setting the DisplayStart property to an offset in the stream. Constructors HexView() Initializes a HexView class using Computed layout. Declaration public HexView() HexView(Stream) Initializes a HexView class using Computed layout. Declaration public HexView(Stream source) Parameters Type Name Description System.IO.Stream source The System.IO.Stream to view and edit as hex, this System.IO.Stream must support seeking, or an exception will be thrown. Properties AllowEdits Gets or sets whether this HexView allow editing of the System.IO.Stream of the underlying System.IO.Stream . Declaration public bool AllowEdits { get; set; } Property Value Type Description System.Boolean true if allow edits; otherwise, false . BytesPerLine The bytes length per line. Declaration public int BytesPerLine { get; } Property Value Type Description System.Int32 CursorPosition Gets the current cursor position starting at one for both, line and column. Declaration public Point CursorPosition { get; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility DisplayStart Sets or gets the offset into the System.IO.Stream that will displayed at the top of the HexView Declaration public long DisplayStart { get; set; } Property Value Type Description System.Int64 The display start. Edits Gets a System.Collections.Generic.SortedDictionary`2 describing the edits done to the HexView . Each Key indicates an offset where an edit was made and the Value is the changed byte. Declaration public IReadOnlyDictionary Edits { get; } Property Value Type Description System.Collections.Generic.IReadOnlyDictionary < System.Int64 , System.Byte > The edits. Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame Position Gets the current character position starting at one, related to the System.IO.Stream . Declaration public long Position { get; } Property Value Type Description System.Int64 Source Sets or gets the System.IO.Stream the HexView is operating on; the stream must support seeking ( System.IO.Stream.CanSeek == true). Declaration public Stream Source { get; set; } Property Value Type Description System.IO.Stream The source. Methods ApplyEdits(Stream) This method applies and edits made to the System.IO.Stream and resets the contents of the Edits property. Declaration public void ApplyEdits(Stream stream = null) Parameters Type Name Description System.IO.Stream stream If provided also applies the changes to the passed System.IO.Stream DiscardEdits() This method discards the edits made to the System.IO.Stream by resetting the contents of the Edits property. Declaration public void DiscardEdits() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEdited(KeyValuePair) Method used to invoke the Edited event passing the System.Collections.Generic.KeyValuePair . Declaration public virtual void OnEdited(KeyValuePair keyValuePair) Parameters Type Name Description System.Collections.Generic.KeyValuePair < System.Int64 , System.Byte > keyValuePair The key value pair. OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnPositionChanged() Method used to invoke the PositionChanged event passing the HexView.HexViewEventArgs arguments. Declaration public virtual void OnPositionChanged() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Edited Event to be invoked when an edit is made on the System.IO.Stream . Declaration public event Action> Edited Event Type Type Description System.Action < System.Collections.Generic.KeyValuePair < System.Int64 , System.Byte >> PositionChanged Event to be invoked when the position and cursor position changes. Declaration public event Action PositionChanged Event Type Type Description System.Action < HexView.HexViewEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.html": { "href": "api/Terminal.Gui/Terminal.Gui.html", "title": "Namespace Terminal.Gui", - "keywords": "Namespace Terminal.Gui Classes Application A static, singleton class providing the main application driver for Terminal.Gui apps. Application.ResizedEventArgs Event arguments for the Resized event. Application.RunState Captures the execution state for the provided Terminal.Gui.Application.RunState.Toplevel view. Autocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. Border Draws a border, background, or both around another element. Border.ToplevelContainer A sealed Toplevel derived class to implement Border feature. This is only a wrapper to get borders on a toplevel and is recommended using another derived, like Window where is possible to have borders with or without border line or spacing around. Button Button is a View that provides an item that invokes an System.Action when activated by the user. CheckBox The CheckBox View shows an on/off toggle that the user can set Clipboard Provides cut, copy, and paste support for the clipboard with OS interaction. ClipboardBase Shared abstract class to enforce rules from the implementation of the IClipboard interface. Colors The default ColorScheme s for the application. ColorScheme Color scheme definitions, they cover some common scenarios and are used typically in containers such as Window and FrameView to set the scheme that is used by all the views contained inside. ComboBox ComboBox control ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. ContextMenu A context menu window derived from MenuBar containing menu items which can be opened in any position. DateField Simple Date editing View DateTimeEventArgs Defines the event arguments for DateChanged and TimeChanged events. Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Dim Dim properties of a View to control the position. FakeConsole FakeDriver Implements a mock ConsoleDriver for unit testing FakeMainLoop Mainloop intended to be used with the .NET System.Console API, and can be used on Windows and Unix, it is cross platform but lacks things like file descriptor monitoring. FileDialog Base class for the OpenDialog and the SaveDialog FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. GraphView Control for rendering graphs (bar, scatter etc) HexView An hex viewer and editor View over a System.IO.Stream HexView.HexViewEventArgs Defines the event arguments for PositionChanged event. KeyEvent Describes a keyboard event. KeyModifiers Identifies the state of the \"shift\"-keys within a event. Label The Label View displays a string at a given position and supports multiple lines separated by newline characters. Multi-line Labels support word wrap. ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. ListViewItemEventArgs System.EventArgs for ListView events. ListViewRowEventArgs System.EventArgs used by the RowRender event. ListWrapper Implements an IListDataSource that renders arbitrary System.Collections.IList instances for ListView . MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. MenuBar The MenuBar provides a menu for Terminal.Gui applications. MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. MenuClosingEventArgs An System.EventArgs which allows passing a cancelable menu closing event. MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. MenuOpeningEventArgs An System.EventArgs which allows passing a cancelable menu opening event or replacing with a new MenuBarItem . MessageBox MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from. OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. PanelView A container for single Child that will allow to drawn Border in two ways. If UsePanelFrame the borders and the child will be accommodated in the available panel size, otherwise the panel will be resized based on the child and borders thickness sizes. Pos Describes the position of a View which can be an absolute value, a percentage, centered, or relative to the ending dimension. Integer values are implicitly convertible to an absolute Pos . These objects are created using the static methods Percent, AnchorEnd, and Center. The Pos objects can be combined with the addition and subtraction operators. ProgressBar A Progress Bar view that can indicate progress of an activity visually. RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Responder Responder base class implemented by objects that want to participate on keyboard and mouse input. SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. SelectedItemChangedArgs Event arguments for the SelectedItemChagned event. ShortcutHelper Represents a helper to manipulate shortcut keys used on views. StackExtensions Extension of System.Collections.Generic.Stack helper to work with specific System.Collections.Generic.IEqualityComparer StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. StatusItem StatusItem objects are contained by StatusBar View s. Each StatusItem has a title, a shortcut (hotkey), and an Action that will be invoked when the Shortcut is pressed. The Shortcut will be a global hotkey for the application in the current context of the screen. The colour of the Title will be changed after each ~. A Title set to `~F1~ Help` will render as *F1* using HotNormal and *Help* as HotNormal . TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . TableView.CellActivatedEventArgs Defines the event arguments for CellActivated event TableView.CellColorGetterArgs Arguments for a TableView.CellColorGetterDelegate . Describes a cell for which a rendering ColorScheme is being sought TableView.ColumnStyle Describes how to render a given column in a TableView including Alignment and textual representation of cells (e.g. date formats) See TableView Deep Dive for more information . TableView.RowColorGetterArgs Arguments for TableView.RowColorGetterDelegate . Describes a row of data in a System.Data.DataTable for which ColorScheme is sought. TableView.SelectedCellChangedEventArgs Defines the event arguments for SelectedCellChanged TableView.TableSelection Describes a selected region of the table TableView.TableStyle Defines rendering options that affect how the table is displayed. See TableView Deep Dive for more information . TabView Control that hosts multiple sub views, presenting a single one at once TabView.Tab A single tab in a TabView TabView.TabChangedEventArgs Describes a change in SelectedTab TabView.TabStyle Describes render stylistic selections of a TabView TextChangingEventArgs An System.EventArgs which allows passing a cancelable new text value event. TextField Single-line text entry View TextFieldAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. An implementation on a TextField. TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. TextValidateField Text field that validates input through a ITextValidateProvider TextView Multi-line text editing View TextViewAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. An implementation on a TextView. TimeField Time editing View Toplevel Toplevel views can be modally executed. ToplevelClosingEventArgs System.EventArgs implementation for the Closing event. ToplevelComparer Implements the System.Collections.Generic.IComparer to sort the Toplevel from the MdiChildes if needed. ToplevelEqualityComparer Implements the System.Collections.Generic.IEqualityComparer to comparing two Toplevel used by StackExtensions . TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . View 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. View.FocusEventArgs Defines the event arguments for Terminal.Gui.View.SetFocus(Terminal.Gui.View) View.KeyEventEventArgs Defines the event arguments for KeyEvent View.LayoutEventArgs Event arguments for the LayoutComplete event. View.MouseEventArgs Specifies the event arguments for MouseEvent Window A Toplevel View that draws a border around its Frame with a Title at the top. Structs Attribute Attributes are used as elements that contain both a foreground and a background or platform specific features MouseEvent Describes a mouse event Point Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. PointF Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane. Rect Stores a set of four integers that represent the location and size of a rectangle RectangleF Stores the location and size of a rectangular region. Size Stores an ordered pair of integers, which specify a Height and Width. SizeF Represents the size of a rectangular region with an ordered pair of width and height. Thickness Describes the thickness of a frame around a rectangle. Four System.Int32 values describe the Left , Top , Right , and Bottom sides of the rectangle, respectively. Interfaces IAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. IClipboard Definition to interact with the OS clipboard. IListDataSource Implement IListDataSource to provide custom rendering for a ListView . IMainLoopDriver Public interface to create your own platform specific main loop driver. ITreeView Interface for all non generic members of TreeView See TreeView Deep Dive for more information . Enums BorderStyle Specifies the border style for a View and to be used by the Border class. Color Basic colors that can be used to set the foreground and background colors in console applications. Command Actions which can be performed by the application or bound to keys in a View control. ConsoleDriver.DiagnosticFlags Enables diagnostic functions CursorVisibility Cursors Visibility that are displayed DisplayModeLayout Used for choose the display mode of this RadioGroup Key The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed. LayoutStyle Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computed, then the Frame will be updated from the X, Y Pos objects and the Width and Height Dim objects. MenuItemCheckStyle Specifies how a MenuItem shows selection state. MouseFlags Mouse flags reported in MouseEvent . OpenDialog.OpenMode Determine which System.IO type to open. ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. ProgressBarStyle Specifies the style that a ProgressBar uses to indicate the progress of an operation. TextAlignment Text alignment enumeration, controls how text is displayed. TextDirection Text direction enumeration, controls how text is displayed. VerticalTextAlignment Vertical text alignment enumeration, controls how text is displayed. Delegates TableView.CellColorGetterDelegate Delegate for providing color to TableView cells based on the value being rendered TableView.RowColorGetterDelegate Delegate for providing color for a whole row of a TableView" + "keywords": "Namespace Terminal.Gui Classes Application A static, singleton class providing the main application driver for Terminal.Gui apps. Application.ResizedEventArgs Event arguments for the Resized event. Application.RunState Captures the execution state for the provided Terminal.Gui.Application.RunState.Toplevel view. Autocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. Border Draws a border, background, or both around another element. Border.ToplevelContainer A sealed Toplevel derived class to implement Border feature. This is only a wrapper to get borders on a toplevel and is recommended using another derived, like Window where is possible to have borders with or without border line or spacing around. Button Button is a View that provides an item that invokes an System.Action when activated by the user. CheckBox The CheckBox View shows an on/off toggle that the user can set Clipboard Provides cut, copy, and paste support for the clipboard with OS interaction. ClipboardBase Shared abstract class to enforce rules from the implementation of the IClipboard interface. ColorPicker The ColorPicker View Color picker. Colors The default ColorScheme s for the application. ColorScheme Color scheme definitions, they cover some common scenarios and are used typically in containers such as Window and FrameView to set the scheme that is used by all the views contained inside. ComboBox ComboBox control ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. ContextMenu A context menu window derived from MenuBar containing menu items which can be opened in any position. DateField Simple Date editing View DateTimeEventArgs Defines the event arguments for DateChanged and TimeChanged events. Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Dim Dim properties of a View to control the position. FakeConsole FakeDriver Implements a mock ConsoleDriver for unit testing FakeMainLoop Mainloop intended to be used with the .NET System.Console API, and can be used on Windows and Unix, it is cross platform but lacks things like file descriptor monitoring. FileDialog Base class for the OpenDialog and the SaveDialog FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. GraphView Control for rendering graphs (bar, scatter etc) HexView An hex viewer and editor View over a System.IO.Stream HexView.HexViewEventArgs Defines the event arguments for PositionChanged event. KeyEvent Describes a keyboard event. KeyModifiers Identifies the state of the \"shift\"-keys within a event. Label The Label View displays a string at a given position and supports multiple lines separated by newline characters. Multi-line Labels support word wrap. LineView A straight line control either horizontal or vertical ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. ListViewItemEventArgs System.EventArgs for ListView events. ListViewRowEventArgs System.EventArgs used by the RowRender event. ListWrapper Implements an IListDataSource that renders arbitrary System.Collections.IList instances for ListView . MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. MenuBar The MenuBar provides a menu for Terminal.Gui applications. MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. MenuClosingEventArgs An System.EventArgs which allows passing a cancelable menu closing event. MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. MenuOpeningEventArgs An System.EventArgs which allows passing a cancelable menu opening event or replacing with a new MenuBarItem . MessageBox MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from. OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. PanelView A container for single Child that will allow to drawn Border in two ways. If UsePanelFrame the borders and the child will be accommodated in the available panel size, otherwise the panel will be resized based on the child and borders thickness sizes. Pos Describes the position of a View which can be an absolute value, a percentage, centered, or relative to the ending dimension. Integer values are implicitly convertible to an absolute Pos . These objects are created using the static methods Percent, AnchorEnd, and Center. The Pos objects can be combined with the addition and subtraction operators. ProgressBar A Progress Bar view that can indicate progress of an activity visually. RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Responder Responder base class implemented by objects that want to participate on keyboard and mouse input. SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. SelectedItemChangedArgs Event arguments for the SelectedItemChagned event. ShortcutHelper Represents a helper to manipulate shortcut keys used on views. StackExtensions Extension of System.Collections.Generic.Stack helper to work with specific System.Collections.Generic.IEqualityComparer StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. StatusItem StatusItem objects are contained by StatusBar View s. Each StatusItem has a title, a shortcut (hotkey), and an Action that will be invoked when the Shortcut is pressed. The Shortcut will be a global hotkey for the application in the current context of the screen. The colour of the Title will be changed after each ~. A Title set to `~F1~ Help` will render as *F1* using HotNormal and *Help* as HotNormal . TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . TableView.CellActivatedEventArgs Defines the event arguments for CellActivated event TableView.CellColorGetterArgs Arguments for a TableView.CellColorGetterDelegate . Describes a cell for which a rendering ColorScheme is being sought TableView.ColumnStyle Describes how to render a given column in a TableView including Alignment and textual representation of cells (e.g. date formats) See TableView Deep Dive for more information . TableView.RowColorGetterArgs Arguments for TableView.RowColorGetterDelegate . Describes a row of data in a System.Data.DataTable for which ColorScheme is sought. TableView.SelectedCellChangedEventArgs Defines the event arguments for SelectedCellChanged TableView.TableSelection Describes a selected region of the table TableView.TableStyle Defines rendering options that affect how the table is displayed. See TableView Deep Dive for more information . TabView Control that hosts multiple sub views, presenting a single one at once TabView.Tab A single tab in a TabView TabView.TabChangedEventArgs Describes a change in SelectedTab TabView.TabStyle Describes render stylistic selections of a TabView TextChangingEventArgs An System.EventArgs which allows passing a cancelable new text value event. TextField Single-line text entry View TextFieldAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. An implementation on a TextField. TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. TextValidateField Text field that validates input through a ITextValidateProvider TextView Multi-line text editing View TextViewAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. An implementation on a TextView. TimeField Time editing View Toplevel Toplevel views can be modally executed. ToplevelClosingEventArgs System.EventArgs implementation for the Closing event. ToplevelComparer Implements the System.Collections.Generic.IComparer to sort the Toplevel from the MdiChildes if needed. ToplevelEqualityComparer Implements the System.Collections.Generic.IEqualityComparer to comparing two Toplevel used by StackExtensions . TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . View 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. View.FocusEventArgs Defines the event arguments for Terminal.Gui.View.SetFocus(Terminal.Gui.View) View.KeyEventEventArgs Defines the event arguments for KeyEvent View.LayoutEventArgs Event arguments for the LayoutComplete event. View.MouseEventArgs Specifies the event arguments for MouseEvent Window A Toplevel View that draws a border around its Frame with a Title at the top. Structs Attribute Attributes are used as elements that contain both a foreground and a background or platform specific features MouseEvent Describes a mouse event Point Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. PointF Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane. Rect Stores a set of four integers that represent the location and size of a rectangle RectangleF Stores the location and size of a rectangular region. Size Stores an ordered pair of integers, which specify a Height and Width. SizeF Represents the size of a rectangular region with an ordered pair of width and height. Thickness Describes the thickness of a frame around a rectangle. Four System.Int32 values describe the Left , Top , Right , and Bottom sides of the rectangle, respectively. Interfaces IAutocomplete Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' options. IClipboard Definition to interact with the OS clipboard. IListDataSource Implement IListDataSource to provide custom rendering for a ListView . IMainLoopDriver Public interface to create your own platform specific main loop driver. ITreeView Interface for all non generic members of TreeView See TreeView Deep Dive for more information . Enums BorderStyle Specifies the border style for a View and to be used by the Border class. Color Basic colors that can be used to set the foreground and background colors in console applications. Command Actions which can be performed by the application or bound to keys in a View control. ConsoleDriver.DiagnosticFlags Enables diagnostic functions CursorVisibility Cursors Visibility that are displayed DisplayModeLayout Used for choose the display mode of this RadioGroup Key The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed. LayoutStyle Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computed, then the Frame will be updated from the X, Y Pos objects and the Width and Height Dim objects. MenuItemCheckStyle Specifies how a MenuItem shows selection state. MouseFlags Mouse flags reported in MouseEvent . OpenDialog.OpenMode Determine which System.IO type to open. ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. ProgressBarStyle Specifies the style that a ProgressBar uses to indicate the progress of an operation. TextAlignment Text alignment enumeration, controls how text is displayed. TextDirection Text direction enumeration, controls how text is displayed. VerticalTextAlignment Vertical text alignment enumeration, controls how text is displayed. Delegates TableView.CellColorGetterDelegate Delegate for providing color to TableView cells based on the value being rendered TableView.RowColorGetterDelegate Delegate for providing color for a whole row of a TableView" }, "api/Terminal.Gui/Terminal.Gui.IAutocomplete.html": { "href": "api/Terminal.Gui/Terminal.Gui.IAutocomplete.html", @@ -307,17 +312,22 @@ "api/Terminal.Gui/Terminal.Gui.Label.html": { "href": "api/Terminal.Gui/Terminal.Gui.Label.html", "title": "Class Label", - "keywords": "Class Label The Label View displays a string at a given position and supports multiple lines separated by newline characters. Multi-line Labels support word wrap. Inheritance System.Object Responder View Label Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.Redraw(Rect) View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Label : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The Label view is functionality identical to View and is included for API backwards compatibility. Constructors Label() Declaration public Label() Label(ustring) Declaration public Label(ustring text) Parameters Type Name Description NStack.ustring text Label(ustring, TextDirection) Declaration public Label(ustring text, TextDirection direction) Parameters Type Name Description NStack.ustring text TextDirection direction Label(Int32, Int32, ustring) Declaration public Label(int x, int y, ustring text) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring text Label(Rect) Declaration public Label(Rect frame) Parameters Type Name Description Rect frame Label(Rect, ustring) Declaration public Label(Rect rect, ustring text) Parameters Type Name Description Rect rect NStack.ustring text Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnMouseEvent(MouseEvent) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Label The Label View displays a string at a given position and supports multiple lines separated by newline characters. Multi-line Labels support word wrap. Inheritance System.Object Responder View Label Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.Redraw(Rect) View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Label : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The Label view is functionality identical to View and is included for API backwards compatibility. Constructors Label() Declaration public Label() Label(ustring, Boolean) Declaration public Label(ustring text, bool autosize = true) Parameters Type Name Description NStack.ustring text System.Boolean autosize Label(ustring, TextDirection, Boolean) Declaration public Label(ustring text, TextDirection direction, bool autosize = true) Parameters Type Name Description NStack.ustring text TextDirection direction System.Boolean autosize Label(Int32, Int32, ustring, Boolean) Declaration public Label(int x, int y, ustring text, bool autosize = true) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring text System.Boolean autosize Label(Rect, ustring, Boolean) Declaration public Label(Rect rect, ustring text, bool autosize = false) Parameters Type Name Description Rect rect NStack.ustring text System.Boolean autosize Label(Rect, Boolean) Declaration public Label(Rect frame, bool autosize = false) Parameters Type Name Description Rect frame System.Boolean autosize Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnMouseEvent(MouseEvent) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html": { "href": "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html", "title": "Enum LayoutStyle", "keywords": "Enum LayoutStyle Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computed, then the Frame will be updated from the X, Y Pos objects and the Width and Height Dim objects. Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public enum LayoutStyle Fields Name Description Absolute The position and size of the view are based on the Frame value. Computed The position and size of the view will be computed based on the X, Y, Width and Height properties and set on the Frame." }, + "api/Terminal.Gui/Terminal.Gui.LineView.html": { + "href": "api/Terminal.Gui/Terminal.Gui.LineView.html", + "title": "Class LineView", + "keywords": "Class LineView A straight line control either horizontal or vertical Inheritance System.Object Responder View LineView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class LineView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors LineView() Creates a horizontal line Declaration public LineView() LineView(Orientation) Creates a horizontal or vertical line based on orientation Declaration public LineView(Orientation orientation) Parameters Type Name Description Orientation orientation Properties EndingAnchor The rune to display at the end of the line (right end of horizontal line or bottom end of vertical). If not specified then LineRune is used Declaration public Rune? EndingAnchor { get; set; } Property Value Type Description System.Nullable < System.Rune > LineRune The symbol to use for drawing the line Declaration public Rune LineRune { get; set; } Property Value Type Description System.Rune Orientation The direction of the line. If you change this you will need to manually update the Width/Height of the control to cover a relevant area based on the new direction. Declaration public Orientation Orientation { get; set; } Property Value Type Description Orientation StartingAnchor The rune to display at the start of the line (left end of horizontal line or top end of vertical) If not specified then LineRune is used Declaration public Rune? StartingAnchor { get; set; } Property Value Type Description System.Nullable < System.Rune > Methods Redraw(Rect) Draws the line including any starting/ending anchors Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + }, "api/Terminal.Gui/Terminal.Gui.ListView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ListView.html", "title": "Class ListView", - "keywords": "Class ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. Inheritance System.Object Responder View ListView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The ListView displays lists of data and allows the user to scroll through the data. Items in the can be activated firing an event (with the ENTER key or a mouse double-click). If the AllowsMarking property is true, elements of the list can be marked by the user. By default ListView uses System.Object.ToString() to render the items of any System.Collections.IList object (e.g. arrays, System.Collections.Generic.List , and other collections). Alternatively, an object that implements the IListDataSource interface can be provided giving full control of what is rendered. ListView can display any object that implements the System.Collections.IList interface. System.String values are converted into NStack.ustring values before rendering, and other values are converted into System.String by calling System.Object.ToString() and then converting to NStack.ustring . To change the contents of the ListView, set the Source property (when providing custom rendering via IListDataSource ) or call SetSource(IList) an System.Collections.IList is being used. When AllowsMarking is set to true the rendering will prefix the rendered items with [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different marking style set AllowsMarking to false and implement custom rendering. Constructors ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() ListView(IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface, with relative positioning. Declaration public ListView(IList source) Parameters Type Name Description System.Collections.IList source An System.Collections.IList data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(IListDataSource) Initializes a new instance of ListView that will display the provided data source, using relative positioning. Declaration public ListView(IListDataSource source) Parameters Type Name Description IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. ListView(Rect, IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface with an absolute position. Declaration public ListView(Rect rect, IList source) Parameters Type Name Description Rect rect Frame for the listview. System.Collections.IList source An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(Rect, IListDataSource) Initializes a new instance of ListView with the provided data source and an absolute position Declaration public ListView(Rect rect, IListDataSource source) Parameters Type Name Description Rect rect Frame for the listview. IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. Properties AllowsMarking Gets or sets whether this ListView allows items to be marked. Declaration public bool AllowsMarking { get; set; } Property Value Type Description System.Boolean true if allows marking elements of the list; otherwise, false . Remarks If set to true, ListView will render items marked items with \"[x]\", and unmarked items with \"[ ]\" spaces. SPACE key will toggle marking. AllowsMultipleSelection If set to true allows more than one item to be selected. If false only allow one item selected. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean LeftItem Gets or sets the left column where the item start to be displayed at on the ListView . Declaration public int LeftItem { get; set; } Property Value Type Description System.Int32 The left position. Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 SelectedItem Gets or sets the index of the currently selected item. Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item. Source Gets or sets the IListDataSource backing this ListView , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. TopItem Gets or sets the item that is displayed at the top of the ListView . Declaration public int TopItem { get; set; } Property Value Type Description System.Int32 The top item. Methods AllowsAll() Prevents marking if it's not allowed mark and if it's not allows multiple selection. Declaration public virtual bool AllowsAll() Returns Type Description System.Boolean MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnRowRender(ListViewRowEventArgs) Virtual method that will invoke the RowRender . Declaration public virtual void OnRowRender(ListViewRowEventArgs rowEventArgs) Parameters Type Name Description ListViewRowEventArgs rowEventArgs OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ScrollDown(Int32) Scrolls the view down. Declaration public virtual bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll down. Returns Type Description System.Boolean ScrollLeft(Int32) Scrolls the view left. Declaration public virtual bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll left. Returns Type Description System.Boolean ScrollRight(Int32) Scrolls the view right. Declaration public virtual bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll right. Returns Type Description System.Boolean ScrollUp(Int32) Scrolls the view up. Declaration public virtual bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll up. Returns Type Description System.Boolean SetSource(IList) Sets the source of the ListView to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. SetSourceAsync(IList) Sets the source to an System.Collections.IList value asynchronously. Declaration public Task SetSourceAsync(IList source) Parameters Type Name Description System.Collections.IList source Returns Type Description System.Threading.Tasks.Task An item implementing the IList interface. Remarks Use the Source property to set a new IListDataSource source and use custom rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > RowRender This event is invoked when this ListView is being drawn before rendering. Declaration public event Action RowRender Event Type Type Description System.Action < ListViewRowEventArgs > SelectedItemChanged This event is raised when the selected item in the ListView has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. Inheritance System.Object Responder View ListView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The ListView displays lists of data and allows the user to scroll through the data. Items in the can be activated firing an event (with the ENTER key or a mouse double-click). If the AllowsMarking property is true, elements of the list can be marked by the user. By default ListView uses System.Object.ToString() to render the items of any System.Collections.IList object (e.g. arrays, System.Collections.Generic.List , and other collections). Alternatively, an object that implements the IListDataSource interface can be provided giving full control of what is rendered. ListView can display any object that implements the System.Collections.IList interface. System.String values are converted into NStack.ustring values before rendering, and other values are converted into System.String by calling System.Object.ToString() and then converting to NStack.ustring . To change the contents of the ListView, set the Source property (when providing custom rendering via IListDataSource ) or call SetSource(IList) an System.Collections.IList is being used. When AllowsMarking is set to true the rendering will prefix the rendered items with [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different marking style set AllowsMarking to false and implement custom rendering. Constructors ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() ListView(IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface, with relative positioning. Declaration public ListView(IList source) Parameters Type Name Description System.Collections.IList source An System.Collections.IList data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(IListDataSource) Initializes a new instance of ListView that will display the provided data source, using relative positioning. Declaration public ListView(IListDataSource source) Parameters Type Name Description IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. ListView(Rect, IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface with an absolute position. Declaration public ListView(Rect rect, IList source) Parameters Type Name Description Rect rect Frame for the listview. System.Collections.IList source An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(Rect, IListDataSource) Initializes a new instance of ListView with the provided data source and an absolute position Declaration public ListView(Rect rect, IListDataSource source) Parameters Type Name Description Rect rect Frame for the listview. IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. Properties AllowsMarking Gets or sets whether this ListView allows items to be marked. Declaration public bool AllowsMarking { get; set; } Property Value Type Description System.Boolean true if allows marking elements of the list; otherwise, false . Remarks If set to true, ListView will render items marked items with \"[x]\", and unmarked items with \"[ ]\" spaces. SPACE key will toggle marking. AllowsMultipleSelection If set to true allows more than one item to be selected. If false only allow one item selected. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean LeftItem Gets or sets the left column where the item start to be displayed at on the ListView . Declaration public int LeftItem { get; set; } Property Value Type Description System.Int32 The left position. Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 SelectedItem Gets or sets the index of the currently selected item. Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item. Source Gets or sets the IListDataSource backing this ListView , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. TopItem Gets or sets the item that is displayed at the top of the ListView . Declaration public int TopItem { get; set; } Property Value Type Description System.Int32 The top item. Methods AllowsAll() Prevents marking if it's not allowed mark and if it's not allows multiple selection. Declaration public virtual bool AllowsAll() Returns Type Description System.Boolean MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnRowRender(ListViewRowEventArgs) Virtual method that will invoke the RowRender . Declaration public virtual void OnRowRender(ListViewRowEventArgs rowEventArgs) Parameters Type Name Description ListViewRowEventArgs rowEventArgs OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ScrollDown(Int32) Scrolls the view down. Declaration public virtual bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll down. Returns Type Description System.Boolean ScrollLeft(Int32) Scrolls the view left. Declaration public virtual bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll left. Returns Type Description System.Boolean ScrollRight(Int32) Scrolls the view right. Declaration public virtual bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll right. Returns Type Description System.Boolean ScrollUp(Int32) Scrolls the view up. Declaration public virtual bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll up. Returns Type Description System.Boolean SetSource(IList) Sets the source of the ListView to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. SetSourceAsync(IList) Sets the source to an System.Collections.IList value asynchronously. Declaration public Task SetSourceAsync(IList source) Parameters Type Name Description System.Collections.IList source Returns Type Description System.Threading.Tasks.Task An item implementing the IList interface. Remarks Use the Source property to set a new IListDataSource source and use custom rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > RowRender This event is invoked when this ListView is being drawn before rendering. Declaration public event Action RowRender Event Type Type Description System.Action < ListViewRowEventArgs > SelectedItemChanged This event is raised when the selected item in the ListView has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html", @@ -342,12 +352,12 @@ "api/Terminal.Gui/Terminal.Gui.MenuBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", "title": "Class MenuBar", - "keywords": "Class MenuBar The MenuBar provides a menu for Terminal.Gui applications. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. Constructors MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() MenuBar(MenuBarItem[]) Initializes a new instance of the MenuBar class with the specified set of toplevel menu items. Declaration public MenuBar(MenuBarItem[] menus) Parameters Type Name Description MenuBarItem [] menus Individual menu items; a null item will result in a separator being drawn. Properties HotKeySpecifier The specifier character for the hotkey to all menus. Declaration public static Rune HotKeySpecifier { get; } Property Value Type Description System.Rune IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View Menus Gets or sets the array of MenuBarItem s for the menu. Only set this when the MenuBar is visible. Declaration public MenuBarItem[] Menus { get; set; } Property Value Type Description MenuBarItem [] The menu array. ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean UseSubMenusSingleFrame Gets or sets if the sub-menus must be displayed in a single or multiple frames. Declaration public bool UseSubMenusSingleFrame { get; set; } Property Value Type Description System.Boolean Methods CloseMenu(Boolean) Closes the current Menu programatically, if open and not canceled. Declaration public bool CloseMenu(bool ignoreUseSubMenusSingleFrame = false) Parameters Type Name Description System.Boolean ignoreUseSubMenusSingleFrame Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnMenuAllClosed() Virtual method that will invoke the MenuAllClosed Declaration public virtual void OnMenuAllClosed() OnMenuClosing(MenuBarItem, Boolean, Boolean) Virtual method that will invoke the MenuClosing Declaration public virtual MenuClosingEventArgs OnMenuClosing(MenuBarItem currentMenu, bool reopen, bool isSubMenu) Parameters Type Name Description MenuBarItem currentMenu The current menu to be closed. System.Boolean reopen Whether the current menu will be reopen. System.Boolean isSubMenu Whether is a sub-menu or not. Returns Type Description MenuClosingEventArgs OnMenuOpened() Virtual method that will invoke the MenuOpened event if it's defined. Declaration public virtual void OnMenuOpened() OnMenuOpening(MenuBarItem) Virtual method that will invoke the MenuOpening event if it's defined. Declaration public virtual MenuOpeningEventArgs OnMenuOpening(MenuBarItem currentMenu) Parameters Type Name Description MenuBarItem currentMenu The current menu to be replaced. Returns Type Description MenuOpeningEventArgs Returns the MenuOpeningEventArgs OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events MenuAllClosed Raised when all the menu are closed. Declaration public event Action MenuAllClosed Event Type Type Description System.Action MenuClosing Raised when a menu is closing passing MenuClosingEventArgs . Declaration public event Action MenuClosing Event Type Type Description System.Action < MenuClosingEventArgs > MenuOpened Raised when a menu is opened. Declaration public event Action MenuOpened Event Type Type Description System.Action < MenuItem > MenuOpening Raised as a menu is opening. Declaration public event Action MenuOpening Event Type Type Description System.Action < MenuOpeningEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class MenuBar The MenuBar provides a menu for Terminal.Gui applications. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. Constructors MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() MenuBar(MenuBarItem[]) Initializes a new instance of the MenuBar class with the specified set of toplevel menu items. Declaration public MenuBar(MenuBarItem[] menus) Parameters Type Name Description MenuBarItem [] menus Individual menu items; a null item will result in a separator being drawn. Properties HotKeySpecifier The specifier character for the hotkey to all menus. Declaration public static Rune HotKeySpecifier { get; } Property Value Type Description System.Rune IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View Menus Gets or sets the array of MenuBarItem s for the menu. Only set this when the MenuBar is visible. Declaration public MenuBarItem[] Menus { get; set; } Property Value Type Description MenuBarItem [] The menu array. ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean UseSubMenusSingleFrame Gets or sets if the sub-menus must be displayed in a single or multiple frames. Declaration public bool UseSubMenusSingleFrame { get; set; } Property Value Type Description System.Boolean Methods CloseMenu(Boolean) Closes the current Menu programatically, if open and not canceled. Declaration public bool CloseMenu(bool ignoreUseSubMenusSingleFrame = false) Parameters Type Name Description System.Boolean ignoreUseSubMenusSingleFrame Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnMenuAllClosed() Virtual method that will invoke the MenuAllClosed Declaration public virtual void OnMenuAllClosed() OnMenuClosing(MenuBarItem, Boolean, Boolean) Virtual method that will invoke the MenuClosing Declaration public virtual MenuClosingEventArgs OnMenuClosing(MenuBarItem currentMenu, bool reopen, bool isSubMenu) Parameters Type Name Description MenuBarItem currentMenu The current menu to be closed. System.Boolean reopen Whether the current menu will be reopen. System.Boolean isSubMenu Whether is a sub-menu or not. Returns Type Description MenuClosingEventArgs OnMenuOpened() Virtual method that will invoke the MenuOpened event if it's defined. Declaration public virtual void OnMenuOpened() OnMenuOpening(MenuBarItem) Virtual method that will invoke the MenuOpening event if it's defined. Declaration public virtual MenuOpeningEventArgs OnMenuOpening(MenuBarItem currentMenu) Parameters Type Name Description MenuBarItem currentMenu The current menu to be replaced. Returns Type Description MenuOpeningEventArgs Returns the MenuOpeningEventArgs OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events MenuAllClosed Raised when all the menu are closed. Declaration public event Action MenuAllClosed Event Type Type Description System.Action MenuClosing Raised when a menu is closing passing MenuClosingEventArgs . Declaration public event Action MenuClosing Event Type Type Description System.Action < MenuClosingEventArgs > MenuOpened Raised when a menu is opened. Declaration public event Action MenuOpened Event Type Type Description System.Action < MenuItem > MenuOpening Raised as a menu is opening. Declaration public event Action MenuOpening Event Type Type Description System.Action < MenuOpeningEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html", "title": "Class MenuBarItem", - "keywords": "Class MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. Inheritance System.Object MenuItem MenuBarItem Inherited Members MenuItem.HotKey MenuItem.Shortcut MenuItem.ShortcutTag MenuItem.Title MenuItem.Help MenuItem.Action MenuItem.CanExecute MenuItem.IsEnabled() MenuItem.Checked MenuItem.CheckType MenuItem.Parent MenuItem.GetMenuItem() MenuItem.GetMenuBarItem() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBarItem : MenuItem Constructors MenuBarItem() Initializes a new MenuBarItem . Declaration public MenuBarItem() MenuBarItem(ustring, ustring, Action, Func, MenuItem) Initializes a new MenuBarItem as a MenuItem . Declaration public MenuBarItem(ustring title, ustring help, Action action, Func canExecute = null, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. NStack.ustring help Help text to display. System.Action action Action to invoke when the menu item is activated. System.Func < System.Boolean > canExecute Function to determine if the action can currently be executed. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(ustring, List, MenuItem) Initializes a new MenuBarItem with separate list of items. Declaration public MenuBarItem(ustring title, List children, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. System.Collections.Generic.List < MenuItem []> children The list of items in the current menu. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(ustring, MenuItem[], MenuItem) Initializes a new MenuBarItem . Declaration public MenuBarItem(ustring title, MenuItem[] children, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. MenuItem [] children The items in the current menu. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(MenuItem[]) Initializes a new MenuBarItem . Declaration public MenuBarItem(MenuItem[] children) Parameters Type Name Description MenuItem [] children The items in the current menu. Properties Children Gets or sets an array of MenuItem objects that are the children of this MenuBarItem Declaration public MenuItem[] Children { get; set; } Property Value Type Description MenuItem [] The children. Methods GetChildrenIndex(MenuItem) Get the index of the MenuItem parameter. Declaration public int GetChildrenIndex(MenuItem children) Parameters Type Name Description MenuItem children Returns Type Description System.Int32 Returns a value bigger than -1 if the MenuItem is a child of this. IsSubMenuOf(MenuItem) Check if the MenuItem parameter is a child of this. Declaration public bool IsSubMenuOf(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem Returns Type Description System.Boolean Returns true if it is a child of this. false otherwise. SubMenu(MenuItem) Check if the children parameter is a MenuBarItem . Declaration public MenuBarItem SubMenu(MenuItem children) Parameters Type Name Description MenuItem children Returns Type Description MenuBarItem Returns a MenuBarItem or null otherwise." + "keywords": "Class MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. Inheritance System.Object MenuItem MenuBarItem Inherited Members MenuItem.Data MenuItem.HotKey MenuItem.Shortcut MenuItem.ShortcutTag MenuItem.Title MenuItem.Help MenuItem.Action MenuItem.CanExecute MenuItem.IsEnabled() MenuItem.Checked MenuItem.CheckType MenuItem.Parent MenuItem.GetMenuItem() MenuItem.GetMenuBarItem() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBarItem : MenuItem Constructors MenuBarItem() Initializes a new MenuBarItem . Declaration public MenuBarItem() MenuBarItem(ustring, ustring, Action, Func, MenuItem) Initializes a new MenuBarItem as a MenuItem . Declaration public MenuBarItem(ustring title, ustring help, Action action, Func canExecute = null, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. NStack.ustring help Help text to display. System.Action action Action to invoke when the menu item is activated. System.Func < System.Boolean > canExecute Function to determine if the action can currently be executed. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(ustring, List, MenuItem) Initializes a new MenuBarItem with separate list of items. Declaration public MenuBarItem(ustring title, List children, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. System.Collections.Generic.List < MenuItem []> children The list of items in the current menu. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(ustring, MenuItem[], MenuItem) Initializes a new MenuBarItem . Declaration public MenuBarItem(ustring title, MenuItem[] children, MenuItem parent = null) Parameters Type Name Description NStack.ustring title Title for the menu item. MenuItem [] children The items in the current menu. MenuItem parent The parent MenuItem of this if exist, otherwise is null. MenuBarItem(MenuItem[]) Initializes a new MenuBarItem . Declaration public MenuBarItem(MenuItem[] children) Parameters Type Name Description MenuItem [] children The items in the current menu. Properties Children Gets or sets an array of MenuItem objects that are the children of this MenuBarItem Declaration public MenuItem[] Children { get; set; } Property Value Type Description MenuItem [] The children. Methods GetChildrenIndex(MenuItem) Get the index of the MenuItem parameter. Declaration public int GetChildrenIndex(MenuItem children) Parameters Type Name Description MenuItem children Returns Type Description System.Int32 Returns a value bigger than -1 if the MenuItem is a child of this. IsSubMenuOf(MenuItem) Check if the MenuItem parameter is a child of this. Declaration public bool IsSubMenuOf(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem Returns Type Description System.Boolean Returns true if it is a child of this. false otherwise. SubMenu(MenuItem) Check if the children parameter is a MenuBarItem . Declaration public MenuBarItem SubMenu(MenuItem children) Parameters Type Name Description MenuItem children Returns Type Description MenuBarItem Returns a MenuBarItem or null otherwise." }, "api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html", @@ -357,7 +367,7 @@ "api/Terminal.Gui/Terminal.Gui.MenuItem.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuItem.html", "title": "Class MenuItem", - "keywords": "Class MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. Inheritance System.Object MenuItem MenuBarItem Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuItem Constructors MenuItem(ustring, ustring, Action, Func, MenuItem, Key) Initializes a new instance of MenuItem . Declaration public MenuItem(ustring title, ustring help, Action action, Func canExecute = null, MenuItem parent = null, Key shortcut = Key.Null) Parameters Type Name Description NStack.ustring title Title for the menu item. NStack.ustring help Help text to display. System.Action action Action to invoke when the menu item is activated. System.Func < System.Boolean > canExecute Function to determine if the action can currently be executed. MenuItem parent The Parent of this menu item. Key shortcut The Shortcut keystroke combination. MenuItem(Key) Initializes a new instance of MenuItem Declaration public MenuItem(Key shortcut = Key.Null) Parameters Type Name Description Key shortcut Fields HotKey The HotKey is used when the menu is active, the shortcut can be triggered when the menu is not active. For example HotKey would be \"N\" when the File Menu is open (assuming there is a \"_New\" entry if the Shortcut is set to \"Control-N\", this would be a global hotkey that would trigger as well Declaration public Rune HotKey Field Value Type Description System.Rune Properties Action Gets or sets the action to be invoked when the menu is triggered Declaration public Action Action { get; set; } Property Value Type Description System.Action Method to invoke. CanExecute Gets or sets the action to be invoked if the menu can be triggered Declaration public Func CanExecute { get; set; } Property Value Type Description System.Func < System.Boolean > Function to determine if action is ready to be executed. Checked Sets or gets whether the MenuItem shows a check indicator or not. See MenuItemCheckStyle . Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean CheckType Sets or gets the type selection indicator the menu item will be displayed with. Declaration public MenuItemCheckStyle CheckType { get; set; } Property Value Type Description MenuItemCheckStyle Help Gets or sets the help text for the menu item. Declaration public ustring Help { get; set; } Property Value Type Description NStack.ustring The help text. Parent Gets or sets the parent for this MenuItem . Declaration public MenuItem Parent { get; } Property Value Type Description MenuItem The parent. Shortcut This is the global setting that can be used as a global Shortcut to invoke the action on the menu. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutTag The keystroke combination used in the ShortcutTag as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Title Gets or sets the title. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods GetMenuBarItem() Merely a debugging aid to see the interaction with main Declaration public bool GetMenuBarItem() Returns Type Description System.Boolean GetMenuItem() Merely a debugging aid to see the interaction with main Declaration public MenuItem GetMenuItem() Returns Type Description MenuItem IsEnabled() Shortcut to check if the menu item is enabled Declaration public bool IsEnabled() Returns Type Description System.Boolean" + "keywords": "Class MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. Inheritance System.Object MenuItem MenuBarItem Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuItem Constructors MenuItem(ustring, ustring, Action, Func, MenuItem, Key) Initializes a new instance of MenuItem . Declaration public MenuItem(ustring title, ustring help, Action action, Func canExecute = null, MenuItem parent = null, Key shortcut = Key.Null) Parameters Type Name Description NStack.ustring title Title for the menu item. NStack.ustring help Help text to display. System.Action action Action to invoke when the menu item is activated. System.Func < System.Boolean > canExecute Function to determine if the action can currently be executed. MenuItem parent The Parent of this menu item. Key shortcut The Shortcut keystroke combination. MenuItem(Key) Initializes a new instance of MenuItem Declaration public MenuItem(Key shortcut = Key.Null) Parameters Type Name Description Key shortcut Fields HotKey The HotKey is used when the menu is active, the shortcut can be triggered when the menu is not active. For example HotKey would be \"N\" when the File Menu is open (assuming there is a \"_New\" entry if the Shortcut is set to \"Control-N\", this would be a global hotkey that would trigger as well Declaration public Rune HotKey Field Value Type Description System.Rune Properties Action Gets or sets the action to be invoked when the menu is triggered Declaration public Action Action { get; set; } Property Value Type Description System.Action Method to invoke. CanExecute Gets or sets the action to be invoked if the menu can be triggered Declaration public Func CanExecute { get; set; } Property Value Type Description System.Func < System.Boolean > Function to determine if action is ready to be executed. Checked Sets or gets whether the MenuItem shows a check indicator or not. See MenuItemCheckStyle . Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean CheckType Sets or gets the type selection indicator the menu item will be displayed with. Declaration public MenuItemCheckStyle CheckType { get; set; } Property Value Type Description MenuItemCheckStyle Data Gets or sets arbitrary data for the menu item. Declaration public object Data { get; set; } Property Value Type Description System.Object Remarks This property is not used internally. Help Gets or sets the help text for the menu item. Declaration public ustring Help { get; set; } Property Value Type Description NStack.ustring The help text. Parent Gets or sets the parent for this MenuItem . Declaration public MenuItem Parent { get; } Property Value Type Description MenuItem The parent. Shortcut This is the global setting that can be used as a global Shortcut to invoke the action on the menu. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutTag The keystroke combination used in the ShortcutTag as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Title Gets or sets the title. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods GetMenuBarItem() Merely a debugging aid to see the interaction with main Declaration public bool GetMenuBarItem() Returns Type Description System.Boolean GetMenuItem() Merely a debugging aid to see the interaction with main Declaration public MenuItem GetMenuItem() Returns Type Description MenuItem IsEnabled() Shortcut to check if the menu item is enabled Declaration public bool IsEnabled() Returns Type Description System.Boolean" }, "api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html", @@ -387,7 +397,7 @@ "api/Terminal.Gui/Terminal.Gui.OpenDialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.OpenDialog.html", "title": "Class OpenDialog", - "keywords": "Class OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FileDialog.WillPresent() FileDialog.Prompt FileDialog.NameDirLabel FileDialog.NameFieldLabel FileDialog.Message FileDialog.CanCreateDirectories FileDialog.IsExtensionHidden FileDialog.DirectoryPath FileDialog.AllowedFileTypes FileDialog.AllowsOtherFileTypes FileDialog.FilePath FileDialog.Canceled Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class OpenDialog : FileDialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The open dialog can be used to select files for opening, it can be configured to allow multiple items to be selected (based on the AllowsMultipleSelection) variable and you can control whether this should allow files or directories to be selected. To use, create an instance of OpenDialog , and pass it to Run(Func) . This will run the dialog modally, and when this returns, the list of files will be available on the FilePaths property. To select more than one file, users can use the spacebar, or control-t. Constructors OpenDialog() Initializes a new OpenDialog . Declaration public OpenDialog() OpenDialog(ustring, ustring, List, OpenDialog.OpenMode) Initializes a new OpenDialog . Declaration public OpenDialog(ustring title, ustring message, List allowedTypes = null, OpenDialog.OpenMode openMode = OpenDialog.OpenMode.File) Parameters Type Name Description NStack.ustring title The title. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. OpenDialog.OpenMode openMode The open mode. Properties AllowsMultipleSelection Gets or sets a value indicating whether this OpenDialog allows multiple selection. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean true if allows multiple selection; otherwise, false , defaults to false. CanChooseDirectories Gets or sets a value indicating whether this OpenDialog can choose directories. Declaration public bool CanChooseDirectories { get; set; } Property Value Type Description System.Boolean true if can choose directories; otherwise, false defaults to false . CanChooseFiles Gets or sets a value indicating whether this OpenDialog can choose files. Declaration public bool CanChooseFiles { get; set; } Property Value Type Description System.Boolean true if can choose files; otherwise, false . Defaults to true FilePaths Returns the selected files, or an empty list if nothing has been selected Declaration public IReadOnlyList FilePaths { get; } Property Value Type Description System.Collections.Generic.IReadOnlyList < System.String > The file paths. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FileDialog.WillPresent() FileDialog.Prompt FileDialog.NameDirLabel FileDialog.NameFieldLabel FileDialog.Message FileDialog.CanCreateDirectories FileDialog.IsExtensionHidden FileDialog.DirectoryPath FileDialog.AllowedFileTypes FileDialog.AllowsOtherFileTypes FileDialog.FilePath FileDialog.Canceled Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class OpenDialog : FileDialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The open dialog can be used to select files for opening, it can be configured to allow multiple items to be selected (based on the AllowsMultipleSelection) variable and you can control whether this should allow files or directories to be selected. To use, create an instance of OpenDialog , and pass it to Run(Func) . This will run the dialog modally, and when this returns, the list of files will be available on the FilePaths property. To select more than one file, users can use the spacebar, or control-t. Constructors OpenDialog() Initializes a new OpenDialog . Declaration public OpenDialog() OpenDialog(ustring, ustring, List, OpenDialog.OpenMode) Initializes a new OpenDialog . Declaration public OpenDialog(ustring title, ustring message, List allowedTypes = null, OpenDialog.OpenMode openMode = OpenDialog.OpenMode.File) Parameters Type Name Description NStack.ustring title The title. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. OpenDialog.OpenMode openMode The open mode. Properties AllowsMultipleSelection Gets or sets a value indicating whether this OpenDialog allows multiple selection. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean true if allows multiple selection; otherwise, false , defaults to false. CanChooseDirectories Gets or sets a value indicating whether this OpenDialog can choose directories. Declaration public bool CanChooseDirectories { get; set; } Property Value Type Description System.Boolean true if can choose directories; otherwise, false defaults to false . CanChooseFiles Gets or sets a value indicating whether this OpenDialog can choose files. Declaration public bool CanChooseFiles { get; set; } Property Value Type Description System.Boolean true if can choose files; otherwise, false . Defaults to true FilePaths Returns the selected files, or an empty list if nothing has been selected Declaration public IReadOnlyList FilePaths { get; } Property Value Type Description System.Collections.Generic.IReadOnlyList < System.String > The file paths. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html": { "href": "api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html", @@ -397,7 +407,7 @@ "api/Terminal.Gui/Terminal.Gui.PanelView.html": { "href": "api/Terminal.Gui/Terminal.Gui.PanelView.html", "title": "Class PanelView", - "keywords": "Class PanelView A container for single Child that will allow to drawn Border in two ways. If UsePanelFrame the borders and the child will be accommodated in the available panel size, otherwise the panel will be resized based on the child and borders thickness sizes. Inheritance System.Object Responder View PanelView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class PanelView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors PanelView() Initializes a panel with a null child. Declaration public PanelView() PanelView(View) Initializes a panel with a valid child. Declaration public PanelView(View child) Parameters Type Name Description View child Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Child The child that will use this panel. Declaration public View Child { get; set; } Property Value Type Description View UsePanelFrame Gets or sets if the panel size will used, otherwise the child size. Declaration public bool UsePanelFrame { get; set; } Property Value Type Description System.Boolean Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class PanelView A container for single Child that will allow to drawn Border in two ways. If UsePanelFrame the borders and the child will be accommodated in the available panel size, otherwise the panel will be resized based on the child and borders thickness sizes. Inheritance System.Object Responder View PanelView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class PanelView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors PanelView() Initializes a panel with a null child. Declaration public PanelView() PanelView(View) Initializes a panel with a valid child. Declaration public PanelView(View child) Parameters Type Name Description View child Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Child The child that will use this panel. Declaration public View Child { get; set; } Property Value Type Description View UsePanelFrame Gets or sets if the panel size will used, otherwise the child size. Declaration public bool UsePanelFrame { get; set; } Property Value Type Description System.Boolean Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Point.html": { "href": "api/Terminal.Gui/Terminal.Gui.Point.html", @@ -417,7 +427,7 @@ "api/Terminal.Gui/Terminal.Gui.ProgressBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.ProgressBar.html", "title": "Class ProgressBar", - "keywords": "Class ProgressBar A Progress Bar view that can indicate progress of an activity visually. Inheritance System.Object Responder View ProgressBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ProgressBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks ProgressBar can operate in two modes, percentage mode, or activity mode. The progress bar starts in percentage mode and setting the Fraction property will reflect on the UI the progress made so far. Activity mode is used when the application has no way of knowing how much time is left, and is started when the Pulse() method is called. Call Pulse() repeatedly as progress is made. Constructors ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() ProgressBar(Rect) Initializes a new instance of the ProgressBar class, starts in percentage mode with an absolute position and size. Declaration public ProgressBar(Rect rect) Parameters Type Name Description Rect rect Rect. Properties BidirectionalMarquee Specifies if the MarqueeBlocks or the MarqueeContinuous styles is unidirectional or bidirectional. Declaration public bool BidirectionalMarquee { get; set; } Property Value Type Description System.Boolean Fraction Gets or sets the ProgressBar fraction to display, must be a value between 0 and 1. Declaration public float Fraction { get; set; } Property Value Type Description System.Single The fraction representing the progress. ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. Declaration public ProgressBarFormat ProgressBarFormat { get; set; } Property Value Type Description ProgressBarFormat ProgressBarStyle Gets/Sets the progress bar style based on the ProgressBarStyle Declaration public ProgressBarStyle ProgressBarStyle { get; set; } Property Value Type Description ProgressBarStyle SegmentCharacter Segment indicator for meter views. Declaration public Rune SegmentCharacter { get; set; } Property Value Type Description System.Rune Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() Remarks If the ProgressBar is percentage mode, it switches to activity mode. If is in activity mode, the marker is moved. Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ProgressBar A Progress Bar view that can indicate progress of an activity visually. Inheritance System.Object Responder View ProgressBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ProgressBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks ProgressBar can operate in two modes, percentage mode, or activity mode. The progress bar starts in percentage mode and setting the Fraction property will reflect on the UI the progress made so far. Activity mode is used when the application has no way of knowing how much time is left, and is started when the Pulse() method is called. Call Pulse() repeatedly as progress is made. Constructors ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() ProgressBar(Rect) Initializes a new instance of the ProgressBar class, starts in percentage mode with an absolute position and size. Declaration public ProgressBar(Rect rect) Parameters Type Name Description Rect rect Rect. Properties BidirectionalMarquee Specifies if the MarqueeBlocks or the MarqueeContinuous styles is unidirectional or bidirectional. Declaration public bool BidirectionalMarquee { get; set; } Property Value Type Description System.Boolean Fraction Gets or sets the ProgressBar fraction to display, must be a value between 0 and 1. Declaration public float Fraction { get; set; } Property Value Type Description System.Single The fraction representing the progress. ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. Declaration public ProgressBarFormat ProgressBarFormat { get; set; } Property Value Type Description ProgressBarFormat ProgressBarStyle Gets/Sets the progress bar style based on the ProgressBarStyle Declaration public ProgressBarStyle ProgressBarStyle { get; set; } Property Value Type Description ProgressBarStyle SegmentCharacter Segment indicator for meter views. Declaration public Rune SegmentCharacter { get; set; } Property Value Type Description System.Rune Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() Remarks If the ProgressBar is percentage mode, it switches to activity mode. If is in activity mode, the marker is moved. Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html": { "href": "api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html", @@ -432,7 +442,7 @@ "api/Terminal.Gui/Terminal.Gui.RadioGroup.html": { "href": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", "title": "Class RadioGroup", - "keywords": "Class RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Inheritance System.Object Responder View RadioGroup Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class RadioGroup : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() RadioGroup(ustring[], Int32) Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup(ustring[] radioLabels, int selected = 0) Parameters Type Name Description NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of the item to be selected, the value is clamped to the number of items. RadioGroup(Int32, Int32, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. The View frame is computed from the provided radio labels. Declaration public RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The item to be selected, the value is clamped to the number of items. RadioGroup(Rect, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. Declaration public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0) Parameters Type Name Description Rect rect Boundaries for the radio group. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of item to be selected, the value is clamped to the number of items. Properties DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout HorizontalSpace Gets or sets the horizontal space for this RadioGroup if the DisplayMode is Horizontal Declaration public int HorizontalSpace { get; set; } Property Value Type Description System.Int32 RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. SelectedItem The currently selected item from the list of radio labels Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected. Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnSelectedItemChanged(Int32, Int32) Called whenever the current selected item changes. Invokes the SelectedItemChanged event. Declaration public virtual void OnSelectedItemChanged(int selectedItem, int previousSelectedItem) Parameters Type Name Description System.Int32 selectedItem System.Int32 previousSelectedItem PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events SelectedItemChanged Invoked when the selected radio label has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < SelectedItemChangedArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Inheritance System.Object Responder View RadioGroup Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class RadioGroup : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() RadioGroup(ustring[], Int32) Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup(ustring[] radioLabels, int selected = 0) Parameters Type Name Description NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of the item to be selected, the value is clamped to the number of items. RadioGroup(Int32, Int32, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. The View frame is computed from the provided radio labels. Declaration public RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The item to be selected, the value is clamped to the number of items. RadioGroup(Rect, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. Declaration public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0) Parameters Type Name Description Rect rect Boundaries for the radio group. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of item to be selected, the value is clamped to the number of items. Properties DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout HorizontalSpace Gets or sets the horizontal space for this RadioGroup if the DisplayMode is Horizontal Declaration public int HorizontalSpace { get; set; } Property Value Type Description System.Int32 RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. SelectedItem The currently selected item from the list of radio labels Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected. Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnSelectedItemChanged(Int32, Int32) Called whenever the current selected item changes. Invokes the SelectedItemChanged event. Declaration public virtual void OnSelectedItemChanged(int selectedItem, int previousSelectedItem) Parameters Type Name Description System.Int32 selectedItem System.Int32 previousSelectedItem PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events SelectedItemChanged Invoked when the selected radio label has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < SelectedItemChangedArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Rect.html": { "href": "api/Terminal.Gui/Terminal.Gui.Rect.html", @@ -452,17 +462,17 @@ "api/Terminal.Gui/Terminal.Gui.SaveDialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.SaveDialog.html", "title": "Class SaveDialog", - "keywords": "Class SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FileDialog.WillPresent() FileDialog.Prompt FileDialog.NameDirLabel FileDialog.NameFieldLabel FileDialog.Message FileDialog.CanCreateDirectories FileDialog.IsExtensionHidden FileDialog.DirectoryPath FileDialog.AllowedFileTypes FileDialog.AllowsOtherFileTypes FileDialog.FilePath FileDialog.Canceled Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class SaveDialog : FileDialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To use, create an instance of SaveDialog , and pass it to Run(Func) . This will run the dialog modally, and when this returns, the FileName property will contain the selected file name or null if the user canceled. Constructors SaveDialog() Initializes a new SaveDialog . Declaration public SaveDialog() SaveDialog(ustring, ustring, List) Initializes a new SaveDialog . Declaration public SaveDialog(ustring title, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. Properties FileName Gets the name of the file the user selected for saving, or null if the user canceled the SaveDialog . Declaration public ustring FileName { get; } Property Value Type Description NStack.ustring The name of the file. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FileDialog.WillPresent() FileDialog.Prompt FileDialog.NameDirLabel FileDialog.NameFieldLabel FileDialog.Message FileDialog.CanCreateDirectories FileDialog.IsExtensionHidden FileDialog.DirectoryPath FileDialog.AllowedFileTypes FileDialog.AllowsOtherFileTypes FileDialog.FilePath FileDialog.Canceled Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class SaveDialog : FileDialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To use, create an instance of SaveDialog , and pass it to Run(Func) . This will run the dialog modally, and when this returns, the FileName property will contain the selected file name or null if the user canceled. Constructors SaveDialog() Initializes a new SaveDialog . Declaration public SaveDialog() SaveDialog(ustring, ustring, List) Initializes a new SaveDialog . Declaration public SaveDialog(ustring title, ustring message, List allowedTypes = null) Parameters Type Name Description NStack.ustring title The title. NStack.ustring message The message. System.Collections.Generic.List < System.String > allowedTypes The allowed types. Properties FileName Gets the name of the file the user selected for saving, or null if the user canceled the SaveDialog . Declaration public ustring FileName { get; } Property Value Type Description NStack.ustring The name of the file. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html", "title": "Class ScrollBarView", - "keywords": "Class ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical Inheritance System.Object Responder View ScrollBarView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollBarView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The scrollbar is drawn to be a representation of the Size, assuming that the scroll position is set at Position. If the region to display the scrollbar is larger than three characters, arrow indicators are drawn. Constructors ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() ScrollBarView(Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(int size, int position, bool isVertical) Parameters Type Name Description System.Int32 size The size that this scrollbar represents. System.Int32 position The position within this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. ScrollBarView(Rect) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect) Parameters Type Name Description Rect rect Frame for the scrollbar. ScrollBarView(Rect, Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect, int size, int position, bool isVertical) Parameters Type Name Description Rect rect Frame for the scrollbar. System.Int32 size The size that this scrollbar represents. Sets the Size property. System.Int32 position The position within this scrollbar. Sets the Position property. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the IsVertical property. ScrollBarView(View, Boolean, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true) Parameters Type Name Description View host The view that will host this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. System.Boolean showBothScrollIndicator If set to true (default) will have the other scrollbar, otherwise will have only one. Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View IsVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Declaration public bool IsVertical { get; set; } Property Value Type Description System.Boolean KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollBarView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView Position The position, relative to Size , to set the scrollbar at. Declaration public int Position { get; set; } Property Value Type Description System.Int32 The position. ShowScrollIndicator Gets or sets the visibility for the vertical or horizontal scroll indicator. Declaration public bool ShowScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical or horizontal scroll indicator; otherwise, false . Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Remarks The Size is typically the size of the virtual content. E.g. when a Scrollbar is part of a View the Size is set to the appropriate dimension of Host . Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events ChangedPosition This event is raised when the position on the scrollbar has changed. Declaration public event Action ChangedPosition Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical Inheritance System.Object Responder View ScrollBarView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollBarView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The scrollbar is drawn to be a representation of the Size, assuming that the scroll position is set at Position. If the region to display the scrollbar is larger than three characters, arrow indicators are drawn. Constructors ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() ScrollBarView(Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(int size, int position, bool isVertical) Parameters Type Name Description System.Int32 size The size that this scrollbar represents. System.Int32 position The position within this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. ScrollBarView(Rect) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect) Parameters Type Name Description Rect rect Frame for the scrollbar. ScrollBarView(Rect, Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect, int size, int position, bool isVertical) Parameters Type Name Description Rect rect Frame for the scrollbar. System.Int32 size The size that this scrollbar represents. Sets the Size property. System.Int32 position The position within this scrollbar. Sets the Position property. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the IsVertical property. ScrollBarView(View, Boolean, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true) Parameters Type Name Description View host The view that will host this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. System.Boolean showBothScrollIndicator If set to true (default) will have the other scrollbar, otherwise will have only one. Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View IsVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Declaration public bool IsVertical { get; set; } Property Value Type Description System.Boolean KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollBarView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView Position The position, relative to Size , to set the scrollbar at. Declaration public int Position { get; set; } Property Value Type Description System.Int32 The position. ShowScrollIndicator Gets or sets the visibility for the vertical or horizontal scroll indicator. Declaration public bool ShowScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical or horizontal scroll indicator; otherwise, false . Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Remarks The Size is typically the size of the virtual content. E.g. when a Scrollbar is part of a View the Size is set to the appropriate dimension of Host . Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events ChangedPosition This event is raised when the position on the scrollbar has changed. Declaration public event Action ChangedPosition Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ScrollView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ScrollView.html", "title": "Class ScrollView", - "keywords": "Class ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. Inheritance System.Object Responder View ScrollView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The subviews that are added to this ScrollView are offset by the ContentOffset property. The view itself is a window into the space represented by the ContentSize . Use the Constructors ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() ScrollView(Rect) Initializes a new instance of the ScrollView class using Absolute positioning. Declaration public ScrollView(Rect frame) Parameters Type Name Description Rect frame Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean ContentOffset Represents the top left corner coordinate that is displayed by the scrollview Declaration public Point ContentOffset { get; set; } Property Value Type Description Point The content offset. ContentSize Represents the contents of the data shown inside the scrollview Declaration public Size ContentSize { get; set; } Property Value Type Description Size The size of the content. KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean ShowHorizontalScrollIndicator Gets or sets the visibility for the horizontal scroll indicator. Declaration public bool ShowHorizontalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show horizontal scroll indicator; otherwise, false . ShowVerticalScrollIndicator Gets or sets the visibility for the vertical scroll indicator. Declaration public bool ShowVerticalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical scroll indicator; otherwise, false . Methods Add(View) Adds the view to the scrollview. Declaration public override void Add(View view) Parameters Type Name Description View view The view to add to the scrollview. Overrides View.Add(View) Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks ScrollDown(Int32) Scrolls the view down. Declaration public bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollLeft(Int32) Scrolls the view to the left Declaration public bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollRight(Int32) Scrolls the view to the right. Declaration public bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if right was scrolled, false otherwise. ScrollUp(Int32) Scrolls the view up. Declaration public bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. Inheritance System.Object Responder View ScrollView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The subviews that are added to this ScrollView are offset by the ContentOffset property. The view itself is a window into the space represented by the ContentSize . Use the Constructors ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() ScrollView(Rect) Initializes a new instance of the ScrollView class using Absolute positioning. Declaration public ScrollView(Rect frame) Parameters Type Name Description Rect frame Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean ContentOffset Represents the top left corner coordinate that is displayed by the scrollview Declaration public Point ContentOffset { get; set; } Property Value Type Description Point The content offset. ContentSize Represents the contents of the data shown inside the scrollview Declaration public Size ContentSize { get; set; } Property Value Type Description Size The size of the content. KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean ShowHorizontalScrollIndicator Gets or sets the visibility for the horizontal scroll indicator. Declaration public bool ShowHorizontalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show horizontal scroll indicator; otherwise, false . ShowVerticalScrollIndicator Gets or sets the visibility for the vertical scroll indicator. Declaration public bool ShowVerticalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical scroll indicator; otherwise, false . Methods Add(View) Adds the view to the scrollview. Declaration public override void Add(View view) Parameters Type Name Description View view The view to add to the scrollview. Overrides View.Add(View) Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks ScrollDown(Int32) Scrolls the view down. Declaration public bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollLeft(Int32) Scrolls the view to the left Declaration public bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollRight(Int32) Scrolls the view to the right. Declaration public bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if right was scrolled, false otherwise. ScrollUp(Int32) Scrolls the view up. Declaration public bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html", @@ -492,7 +502,7 @@ "api/Terminal.Gui/Terminal.Gui.StatusBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.StatusBar.html", "title": "Class StatusBar", - "keywords": "Class StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. Inheritance System.Object Responder View StatusBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class StatusBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() StatusBar(StatusItem[]) Initializes a new instance of the StatusBar class with the specified set of StatusItem s. The StatusBar will be drawn on the lowest line of the terminal or SuperView (if not null). Declaration public StatusBar(StatusItem[] items) Parameters Type Name Description StatusItem [] items A list of statusbar items. Properties Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring Methods AddItemAt(Int32, StatusItem) Inserts a StatusItem in the specified index of Items . Declaration public void AddItemAt(int index, StatusItem item) Parameters Type Name Description System.Int32 index The zero-based index at which item should be inserted. StatusItem item The item to insert. Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RemoveItem(Int32) Removes a StatusItem at specified index of Items . Declaration public StatusItem RemoveItem(int index) Parameters Type Name Description System.Int32 index The zero-based index of the item to remove. Returns Type Description StatusItem The StatusItem removed. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. Inheritance System.Object Responder View StatusBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class StatusBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() StatusBar(StatusItem[]) Initializes a new instance of the StatusBar class with the specified set of StatusItem s. The StatusBar will be drawn on the lowest line of the terminal or SuperView (if not null). Declaration public StatusBar(StatusItem[] items) Parameters Type Name Description StatusItem [] items A list of statusbar items. Properties Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring Methods AddItemAt(Int32, StatusItem) Inserts a StatusItem in the specified index of Items . Declaration public void AddItemAt(int index, StatusItem item) Parameters Type Name Description System.Int32 index The zero-based index at which item should be inserted. StatusItem item The item to insert. Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RemoveItem(Int32) Removes a StatusItem at specified index of Items . Declaration public StatusItem RemoveItem(int index) Parameters Type Name Description System.Int32 index The zero-based index of the item to remove. Returns Type Description StatusItem The StatusItem removed. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.StatusItem.html": { "href": "api/Terminal.Gui/Terminal.Gui.StatusItem.html", @@ -522,7 +532,7 @@ "api/Terminal.Gui/Terminal.Gui.TableView.html": { "href": "api/Terminal.Gui/Terminal.Gui.TableView.html", "title": "Class TableView", - "keywords": "Class TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . Inheritance System.Object Responder View TableView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TableView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() TableView(DataTable) Initialzies a TableView class using Computed layout. Declaration public TableView(DataTable table) Parameters Type Name Description System.Data.DataTable table The table to display in the control Fields DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 Properties CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key ColumnOffset Horizontal scroll offset. The index of the first column in Table to display when when rendering the view. Declaration public int ColumnOffset { get; set; } Property Value Type Description System.Int32 Remarks This property allows very wide tables to be rendered with horizontal scrolling FullRowSelect True to select the entire row at once. False to select individual cells. Defaults to false Declaration public bool FullRowSelect { get; set; } Property Value Type Description System.Boolean MaxCellWidth The maximum number of characters to render in any given column. This prevents one long column from pushing out all the others Declaration public int MaxCellWidth { get; set; } Property Value Type Description System.Int32 MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean MultiSelectedRegions When MultiSelect is enabled this property contain all rectangles of selected cells. Rectangles describe column/rows selected in Table (not screen coordinates) Declaration public Stack MultiSelectedRegions { get; } Property Value Type Description System.Collections.Generic.Stack < TableView.TableSelection > NullSymbol The text representation that should be rendered for cells with the value System.DBNull.Value Declaration public string NullSymbol { get; set; } Property Value Type Description System.String RowOffset Vertical scroll offset. The index of the first row in Table to display in the first non header line of the control when rendering the view. Declaration public int RowOffset { get; set; } Property Value Type Description System.Int32 SelectedColumn The index of System.Data.DataTable.Columns in Table that the user has currently selected Declaration public int SelectedColumn { get; set; } Property Value Type Description System.Int32 SelectedRow The index of System.Data.DataTable.Rows in Table that the user has currently selected Declaration public int SelectedRow { get; set; } Property Value Type Description System.Int32 SeparatorSymbol The symbol to add after each cell value and header value to visually seperate values (if not using vertical gridlines) Declaration public char SeparatorSymbol { get; set; } Property Value Type Description System.Char Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle Table The data table to render in the view. Setting this property automatically updates and redraws the control. Declaration public DataTable Table { get; set; } Property Value Type Description System.Data.DataTable Methods CellToScreen(Int32, Int32) Returns the screen position (relative to the control client area) that the given cell is rendered or null if it is outside the current scroll area or no table is loaded Declaration public Point? CellToScreen(int tableColumn, int tableRow) Parameters Type Name Description System.Int32 tableColumn The index of the Table column you are looking for, use System.Data.DataColumn.Ordinal System.Int32 tableRow The index of the row in Table that you are looking for Returns Type Description System.Nullable < Point > ChangeSelectionByOffset(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn by the provided offsets. Optionally starting a box selection (see MultiSelect ) Declaration public void ChangeSelectionByOffset(int offsetX, int offsetY, bool extendExistingSelection) Parameters Type Name Description System.Int32 offsetX Offset in number of columns System.Int32 offsetY Offset in number of rows System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one ChangeSelectionToEndOfRow(Boolean) Moves or extends the selection to the last cell in the current row Declaration public void ChangeSelectionToEndOfRow(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToEndOfTable(Boolean) Moves or extends the selection to the final cell in the table Declaration public void ChangeSelectionToEndOfTable(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToStartOfRow(Boolean) Moves or extends the selection to the first cell in the current row Declaration public void ChangeSelectionToStartOfRow(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToStartOfTable(Boolean) Moves or extends the selection to the first cell in the table (0,0) Declaration public void ChangeSelectionToStartOfTable(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing EnsureSelectedCellIsVisible() Updates scroll offsets to ensure that the selected cell is visible. Has no effect if Table has not been set. Declaration public void EnsureSelectedCellIsVisible() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidScrollOffsets() Updates ColumnOffset and RowOffset where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidSelection() Updates SelectedColumn , SelectedRow and MultiSelectedRegions where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidSelection() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() GetAllSelectedCells() Returns all cells in any MultiSelectedRegions (if MultiSelect is enabled) and the selected cell Declaration public IEnumerable GetAllSelectedCells() Returns Type Description System.Collections.Generic.IEnumerable < Point > IsSelected(Int32, Int32) Returns true if the given cell is selected either because it is the active cell or part of a multi cell selection (e.g. FullRowSelect ) Declaration public bool IsSelected(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args PageDown(Boolean) Moves the selection down by one page Declaration public void PageDown(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing PageUp(Boolean) Moves the selection up by one page Declaration public void PageUp(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing PositionCursor() Positions the cursor in the area of the screen in which the start of the active cell is rendered. Calls base implementation if active cell is not visible due to scrolling or table is loaded etc Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RenderCell(Attribute, String, Boolean) Override to provide custom multi colouring to cells. Use Driver to with AddStr(ustring) . The driver will already be in the correct place when rendering and you must render the full render or the view will not look right. For simpler provision of color use ColorGetter For changing the content that is rendered use RepresentationGetter Declaration protected virtual void RenderCell(Attribute cellColor, string render, bool isPrimaryCell) Parameters Type Name Description Attribute cellColor System.String render System.Boolean isPrimaryCell ScreenToCell(Int32, Int32) Returns the column and row of Table that corresponds to a given point on the screen (relative to the control client area). Returns null if the point is in the header, no table is loaded or outside the control bounds Declaration public Point? ScreenToCell(int clientX, int clientY) Parameters Type Name Description System.Int32 clientX X offset from the top left of the control System.Int32 clientY Y offset from the top left of the control Returns Type Description System.Nullable < Point > SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() SetSelection(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn to the given col/row in Table . Optionally starting a box selection (see MultiSelect ) Declaration public void SetSelection(int col, int row, bool extendExistingSelection) Parameters Type Name Description System.Int32 col System.Int32 row System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Remarks This always calls SetNeedsDisplay() Events CellActivated This event is raised when a cell is activated e.g. by double clicking or pressing CellActivationKey Declaration public event Action CellActivated Event Type Type Description System.Action < TableView.CellActivatedEventArgs > SelectedCellChanged This event is raised when the selected cell in the table changes. Declaration public event Action SelectedCellChanged Event Type Type Description System.Action < TableView.SelectedCellChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . Inheritance System.Object Responder View TableView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TableView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() TableView(DataTable) Initialzies a TableView class using Computed layout. Declaration public TableView(DataTable table) Parameters Type Name Description System.Data.DataTable table The table to display in the control Fields DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 Properties CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key ColumnOffset Horizontal scroll offset. The index of the first column in Table to display when when rendering the view. Declaration public int ColumnOffset { get; set; } Property Value Type Description System.Int32 Remarks This property allows very wide tables to be rendered with horizontal scrolling FullRowSelect True to select the entire row at once. False to select individual cells. Defaults to false Declaration public bool FullRowSelect { get; set; } Property Value Type Description System.Boolean MaxCellWidth The maximum number of characters to render in any given column. This prevents one long column from pushing out all the others Declaration public int MaxCellWidth { get; set; } Property Value Type Description System.Int32 MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean MultiSelectedRegions When MultiSelect is enabled this property contain all rectangles of selected cells. Rectangles describe column/rows selected in Table (not screen coordinates) Declaration public Stack MultiSelectedRegions { get; } Property Value Type Description System.Collections.Generic.Stack < TableView.TableSelection > NullSymbol The text representation that should be rendered for cells with the value System.DBNull.Value Declaration public string NullSymbol { get; set; } Property Value Type Description System.String RowOffset Vertical scroll offset. The index of the first row in Table to display in the first non header line of the control when rendering the view. Declaration public int RowOffset { get; set; } Property Value Type Description System.Int32 SelectedColumn The index of System.Data.DataTable.Columns in Table that the user has currently selected Declaration public int SelectedColumn { get; set; } Property Value Type Description System.Int32 SelectedRow The index of System.Data.DataTable.Rows in Table that the user has currently selected Declaration public int SelectedRow { get; set; } Property Value Type Description System.Int32 SeparatorSymbol The symbol to add after each cell value and header value to visually seperate values (if not using vertical gridlines) Declaration public char SeparatorSymbol { get; set; } Property Value Type Description System.Char Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle Table The data table to render in the view. Setting this property automatically updates and redraws the control. Declaration public DataTable Table { get; set; } Property Value Type Description System.Data.DataTable Methods CellToScreen(Int32, Int32) Returns the screen position (relative to the control client area) that the given cell is rendered or null if it is outside the current scroll area or no table is loaded Declaration public Point? CellToScreen(int tableColumn, int tableRow) Parameters Type Name Description System.Int32 tableColumn The index of the Table column you are looking for, use System.Data.DataColumn.Ordinal System.Int32 tableRow The index of the row in Table that you are looking for Returns Type Description System.Nullable < Point > ChangeSelectionByOffset(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn by the provided offsets. Optionally starting a box selection (see MultiSelect ) Declaration public void ChangeSelectionByOffset(int offsetX, int offsetY, bool extendExistingSelection) Parameters Type Name Description System.Int32 offsetX Offset in number of columns System.Int32 offsetY Offset in number of rows System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one ChangeSelectionToEndOfRow(Boolean) Moves or extends the selection to the last cell in the current row Declaration public void ChangeSelectionToEndOfRow(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToEndOfTable(Boolean) Moves or extends the selection to the final cell in the table Declaration public void ChangeSelectionToEndOfTable(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToStartOfRow(Boolean) Moves or extends the selection to the first cell in the current row Declaration public void ChangeSelectionToStartOfRow(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing ChangeSelectionToStartOfTable(Boolean) Moves or extends the selection to the first cell in the table (0,0) Declaration public void ChangeSelectionToStartOfTable(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing EnsureSelectedCellIsVisible() Updates scroll offsets to ensure that the selected cell is visible. Has no effect if Table has not been set. Declaration public void EnsureSelectedCellIsVisible() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidScrollOffsets() Updates ColumnOffset and RowOffset where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidSelection() Updates SelectedColumn , SelectedRow and MultiSelectedRegions where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidSelection() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() GetAllSelectedCells() Returns all cells in any MultiSelectedRegions (if MultiSelect is enabled) and the selected cell Declaration public IEnumerable GetAllSelectedCells() Returns Type Description System.Collections.Generic.IEnumerable < Point > IsSelected(Int32, Int32) Returns true if the given cell is selected either because it is the active cell or part of a multi cell selection (e.g. FullRowSelect ) Declaration public bool IsSelected(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args PageDown(Boolean) Moves the selection down by one page Declaration public void PageDown(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing PageUp(Boolean) Moves the selection up by one page Declaration public void PageUp(bool extend) Parameters Type Name Description System.Boolean extend true to extend the current selection (if any) instead of replacing PositionCursor() Positions the cursor in the area of the screen in which the start of the active cell is rendered. Calls base implementation if active cell is not visible due to scrolling or table is loaded etc Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RenderCell(Attribute, String, Boolean) Override to provide custom multi colouring to cells. Use Driver to with AddStr(ustring) . The driver will already be in the correct place when rendering and you must render the full render or the view will not look right. For simpler provision of color use ColorGetter For changing the content that is rendered use RepresentationGetter Declaration protected virtual void RenderCell(Attribute cellColor, string render, bool isPrimaryCell) Parameters Type Name Description Attribute cellColor System.String render System.Boolean isPrimaryCell ScreenToCell(Int32, Int32) Returns the column and row of Table that corresponds to a given point on the screen (relative to the control client area). Returns null if the point is in the header, no table is loaded or outside the control bounds Declaration public Point? ScreenToCell(int clientX, int clientY) Parameters Type Name Description System.Int32 clientX X offset from the top left of the control System.Int32 clientY Y offset from the top left of the control Returns Type Description System.Nullable < Point > SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() SetSelection(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn to the given col/row in Table . Optionally starting a box selection (see MultiSelect ) Declaration public void SetSelection(int col, int row, bool extendExistingSelection) Parameters Type Name Description System.Int32 col System.Int32 row System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Remarks This always calls SetNeedsDisplay() Events CellActivated This event is raised when a cell is activated e.g. by double clicking or pressing CellActivationKey Declaration public event Action CellActivated Event Type Type Description System.Action < TableView.CellActivatedEventArgs > SelectedCellChanged This event is raised when the selected cell in the table changes. Declaration public event Action SelectedCellChanged Event Type Type Description System.Action < TableView.SelectedCellChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html", @@ -552,7 +562,7 @@ "api/Terminal.Gui/Terminal.Gui.TabView.html": { "href": "api/Terminal.Gui/Terminal.Gui.TabView.html", "title": "Class TabView", - "keywords": "Class TabView Control that hosts multiple sub views, presenting a single one at once Inheritance System.Object Responder View TabView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TabView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties MaxTabTextWidth The maximum number of characters to render in a Tab header. This prevents one long tab from pushing out all the others. Declaration public uint MaxTabTextWidth { get; set; } Property Value Type Description System.UInt32 SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab Style Render choices for how to display tabs. After making changes, call ApplyStyleChanges() Declaration public TabView.TabStyle Style { get; set; } Property Value Type Description TabView.TabStyle Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > TabScrollOffset When there are too many tabs to render, this indicates the first tab to render on the screen. Declaration public int TabScrollOffset { get; set; } Property Value Type Description System.Int32 Methods AddTab(TabView.Tab, Boolean) Adds the given tab to Tabs Declaration public void AddTab(TabView.Tab tab, bool andSelect) Parameters Type Name Description TabView.Tab tab System.Boolean andSelect True to make the newly added Tab the SelectedTab ApplyStyleChanges() Updates the control to use the latest state settings in Style . This can change the size of the client area of the tab (for rendering the selected tab's content). This method includes a call to SetNeedsDisplay() Declaration public void ApplyStyleChanges() Dispose(Boolean) Disposes the control and all Tabs Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() OnSelectedTabChanged(TabView.Tab, TabView.Tab) Raises the SelectedTabChanged event Declaration protected virtual void OnSelectedTabChanged(TabView.Tab oldTab, TabView.Tab newTab) Parameters Type Name Description TabView.Tab oldTab TabView.Tab newTab ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RemoveTab(TabView.Tab) Removes the given tab from Tabs . Caller is responsible for disposing the tab's hosted View if appropriate. Declaration public void RemoveTab(TabView.Tab tab) Parameters Type Name Description TabView.Tab tab SwitchTabBy(Int32) Changes the SelectedTab by the given amount . Positive for right, negative for left. If no tab is currently selected then the first tab will become selected Declaration public void SwitchTabBy(int amount) Parameters Type Name Description System.Int32 amount Events SelectedTabChanged Event for when SelectedTab changes Declaration public event EventHandler SelectedTabChanged Event Type Type Description System.EventHandler < TabView.TabChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TabView Control that hosts multiple sub views, presenting a single one at once Inheritance System.Object Responder View TabView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TabView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties MaxTabTextWidth The maximum number of characters to render in a Tab header. This prevents one long tab from pushing out all the others. Declaration public uint MaxTabTextWidth { get; set; } Property Value Type Description System.UInt32 SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab Style Render choices for how to display tabs. After making changes, call ApplyStyleChanges() Declaration public TabView.TabStyle Style { get; set; } Property Value Type Description TabView.TabStyle Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > TabScrollOffset When there are too many tabs to render, this indicates the first tab to render on the screen. Declaration public int TabScrollOffset { get; set; } Property Value Type Description System.Int32 Methods AddTab(TabView.Tab, Boolean) Adds the given tab to Tabs Declaration public void AddTab(TabView.Tab tab, bool andSelect) Parameters Type Name Description TabView.Tab tab System.Boolean andSelect True to make the newly added Tab the SelectedTab ApplyStyleChanges() Updates the control to use the latest state settings in Style . This can change the size of the client area of the tab (for rendering the selected tab's content). This method includes a call to SetNeedsDisplay() Declaration public void ApplyStyleChanges() Dispose(Boolean) Disposes the control and all Tabs Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() OnSelectedTabChanged(TabView.Tab, TabView.Tab) Raises the SelectedTabChanged event Declaration protected virtual void OnSelectedTabChanged(TabView.Tab oldTab, TabView.Tab newTab) Parameters Type Name Description TabView.Tab oldTab TabView.Tab newTab ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RemoveTab(TabView.Tab) Removes the given tab from Tabs . Caller is responsible for disposing the tab's hosted View if appropriate. Declaration public void RemoveTab(TabView.Tab tab) Parameters Type Name Description TabView.Tab tab SwitchTabBy(Int32) Changes the SelectedTab by the given amount . Positive for right, negative for left. If no tab is currently selected then the first tab will become selected Declaration public void SwitchTabBy(int amount) Parameters Type Name Description System.Int32 amount Events SelectedTabChanged Event for when SelectedTab changes Declaration public event EventHandler SelectedTabChanged Event Type Type Description System.EventHandler < TabView.TabChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html": { "href": "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html", @@ -587,7 +597,7 @@ "api/Terminal.Gui/Terminal.Gui.TextField.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextField.html", "title": "Class TextField", - "keywords": "Class TextField Single-line text entry View Inheritance System.Object Responder View TextField DateField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TextField View provides editing functionality and mouse support. Constructors TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() TextField(ustring) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(ustring text) Parameters Type Name Description NStack.ustring text Initial text contents. TextField(Int32, Int32, Int32, ustring) Initializes a new instance of the TextField class using Absolute positioning. Declaration public TextField(int x, int y, int w, ustring text) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.Int32 w The width. NStack.ustring text Initial text contents. TextField(String) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(string text) Parameters Type Name Description System.String text Initial text contents. Properties Autocomplete Provides autocomplete context menu based on suggestions at the current cursor position. Populate AllSuggestions to enable this feature. Declaration public IAutocomplete Autocomplete { get; protected set; } Property Value Type Description IAutocomplete CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu CursorPosition Sets or gets the current cursor position. Declaration public virtual int CursorPosition { get; set; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame HasHistoryChanges Indicates whatever the text has history changes or not. true if the text has history changes false otherwise. Declaration public bool HasHistoryChanges { get; } Property Value Type Description System.Boolean IsDirty Indicates whatever the text was changed or not. true if the text was changed false otherwise. Declaration public bool IsDirty { get; } Property Value Type Description System.Boolean ReadOnly If set to true its not allow any changes in the text. Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean ScrollOffset Gets the left offset position. Declaration public int ScrollOffset { get; } Property Value Type Description System.Int32 Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean Remarks This makes the text entry suitable for entering passwords. SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks Used Tracks whether the text field should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean Methods ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() DeleteAll() Deletes all text. Declaration public void DeleteAll() DeleteCharLeft(Boolean) Deletes the left character. Declaration public virtual void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos DeleteCharRight() Deletes the right character. Declaration public virtual void DeleteCharRight() InsertText(String, Boolean) Inserts the given toAdd text at the current cursor position exactly as if the user had just typed it Declaration public void InsertText(string toAdd, bool useOldCursorPos = true) Parameters Type Name Description System.String toAdd Text to add System.Boolean useOldCursorPos If uses the Terminal.Gui.TextField.oldCursorPos . KillWordBackwards() Deletes word backwards. Declaration public virtual void KillWordBackwards() KillWordForwards() Deletes word forwards. Declaration public virtual void KillWordForwards() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnTextChanging(ustring) Virtual method that invoke the TextChanging event if it's defined. Declaration public virtual TextChangingEventArgs OnTextChanging(ustring newText) Parameters Type Name Description NStack.ustring newText The new text to be replaced. Returns Type Description TextChangingEventArgs Returns the TextChangingEventArgs Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Processes key presses for the TextField . Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) SelectAll() Selects all text. Declaration public void SelectAll() Events TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > Remarks This event is raised when the Text changes. TextChanging Changing event, raised before the Text changes and can be canceled or changing the new text. Declaration public event Action TextChanging Event Type Type Description System.Action < TextChangingEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TextField Single-line text entry View Inheritance System.Object Responder View TextField DateField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TextField View provides editing functionality and mouse support. Constructors TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() TextField(ustring) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(ustring text) Parameters Type Name Description NStack.ustring text Initial text contents. TextField(Int32, Int32, Int32, ustring) Initializes a new instance of the TextField class using Absolute positioning. Declaration public TextField(int x, int y, int w, ustring text) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.Int32 w The width. NStack.ustring text Initial text contents. TextField(String) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(string text) Parameters Type Name Description System.String text Initial text contents. Properties Autocomplete Provides autocomplete context menu based on suggestions at the current cursor position. Populate AllSuggestions to enable this feature. Declaration public IAutocomplete Autocomplete { get; protected set; } Property Value Type Description IAutocomplete CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu CursorPosition Sets or gets the current cursor position. Declaration public virtual int CursorPosition { get; set; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame HasHistoryChanges Indicates whatever the text has history changes or not. true if the text has history changes false otherwise. Declaration public bool HasHistoryChanges { get; } Property Value Type Description System.Boolean IsDirty Indicates whatever the text was changed or not. true if the text was changed false otherwise. Declaration public bool IsDirty { get; } Property Value Type Description System.Boolean ReadOnly If set to true its not allow any changes in the text. Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean ScrollOffset Gets the left offset position. Declaration public int ScrollOffset { get; } Property Value Type Description System.Int32 Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean Remarks This makes the text entry suitable for entering passwords. SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks Used Tracks whether the text field should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean Methods ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() DeleteAll() Deletes all text. Declaration public void DeleteAll() DeleteCharLeft(Boolean) Deletes the left character. Declaration public virtual void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos DeleteCharRight() Deletes the right character. Declaration public virtual void DeleteCharRight() InsertText(String, Boolean) Inserts the given toAdd text at the current cursor position exactly as if the user had just typed it Declaration public void InsertText(string toAdd, bool useOldCursorPos = true) Parameters Type Name Description System.String toAdd Text to add System.Boolean useOldCursorPos If uses the Terminal.Gui.TextField.oldCursorPos . KillWordBackwards() Deletes word backwards. Declaration public virtual void KillWordBackwards() KillWordForwards() Deletes word forwards. Declaration public virtual void KillWordForwards() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnTextChanging(ustring) Virtual method that invoke the TextChanging event if it's defined. Declaration public virtual TextChangingEventArgs OnTextChanging(ustring newText) Parameters Type Name Description NStack.ustring newText The new text to be replaced. Returns Type Description TextChangingEventArgs Returns the TextChangingEventArgs Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Processes key presses for the TextField . Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) SelectAll() Selects all text. Declaration public void SelectAll() Events TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > Remarks This event is raised when the Text changes. TextChanging Changing event, raised before the Text changes and can be canceled or changing the new text. Declaration public event Action TextChanging Event Type Type Description System.Action < TextChangingEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html", @@ -597,12 +607,12 @@ "api/Terminal.Gui/Terminal.Gui.TextFormatter.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextFormatter.html", "title": "Class TextFormatter", - "keywords": "Class TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. Inheritance System.Object TextFormatter Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextFormatter Properties Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public bool AutoSize { get; set; } Property Value Type Description System.Boolean CursorPosition Gets the cursor position from HotKey . If the HotKey is defined, the cursor will be positioned over it. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key HotKeyPos The position in the text of the hotkey. The hotkey will be rendered using the hot color. Declaration public int HotKeyPos { get; set; } Property Value Type Description System.Int32 HotKeySpecifier The specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune HotKeyTagMask Specifies the mask to apply to the hotkey to tag it as the hotkey. The default value of 0x100000 causes the underlying Rune to be identified as a \"private use\" Unicode character. Declaration public uint HotKeyTagMask { get; set; } Property Value Type Description System.UInt32 Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > Remarks Upon a 'get' of this property, if the text needs to be formatted (if NeedsFormat is true ) Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) will be called internally. NeedsFormat Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute) is called. If it is false when Draw is called, the Draw call will be faster. Declaration public bool NeedsFormat { get; set; } Property Value Type Description System.Boolean Remarks This is set to true when the properties of TextFormatter are set. Size Gets or sets the size of the area the text will be constrained to when formatted. Declaration public Size Size { get; set; } Property Value Type Description Size Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods CalcRect(Int32, Int32, ustring, TextDirection) Calculates the rectangle required to hold text, assuming no word wrapping. Declaration public static Rect CalcRect(int x, int y, ustring text, TextDirection direction = TextDirection.LeftRight_TopBottom) Parameters Type Name Description System.Int32 x The x location of the rectangle System.Int32 y The y location of the rectangle NStack.ustring text The text to measure TextDirection direction The text direction. Returns Type Description Rect ClipAndJustify(ustring, Int32, Boolean) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, bool justify) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. System.Boolean justify Justify. Returns Type Description NStack.ustring Justified and clipped text. ClipAndJustify(ustring, Int32, TextAlignment) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. TextAlignment talign Alignment. Returns Type Description NStack.ustring Justified and clipped text. ClipOrPad(String, Int32) Adds trailing whitespace or truncates text so that it fits exactly width console units. Note that some unicode characters take 2+ columns Declaration public static string ClipOrPad(string text, int width) Parameters Type Name Description System.String text System.Int32 width Returns Type Description System.String Draw(Rect, Attribute, Attribute) Draws the text held by TextFormatter to Driver using the colors specified. Declaration public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor) Parameters Type Name Description Rect bounds Specifies the screen-relative location and maximum size for drawing the text. Attribute normalColor The color to use for all text except the hotkey Attribute hotColor The color to use to draw the hotkey FindHotKey(ustring, Rune, Boolean, out Int32, out Key) Finds the hotkey and its location in text. Declaration public static bool FindHotKey(ustring text, Rune hotKeySpecifier, bool firstUpperCase, out int hotPos, out Key hotKey) Parameters Type Name Description NStack.ustring text The text to look in. System.Rune hotKeySpecifier The hotkey specifier (e.g. '_') to look for. System.Boolean firstUpperCase If true the legacy behavior of identifying the first upper case character as the hotkey will be enabled. Regardless of the value of this parameter, hotKeySpecifier takes precedence. System.Int32 hotPos Outputs the Rune index into text . Key hotKey Outputs the hotKey. Returns Type Description System.Boolean true if a hotkey was found; false otherwise. Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. System.Boolean justify Specifies whether the text should be justified. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. TextAlignment talign Specifies how the text will be aligned horizontally. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. IsHorizontalDirection(TextDirection) Check if it is a horizontal direction Declaration public static bool IsHorizontalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsLeftToRight(TextDirection) Check if it is Left to Right direction Declaration public static bool IsLeftToRight(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsTopToBottom(TextDirection) Check if it is Top to Bottom direction Declaration public static bool IsTopToBottom(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsVerticalDirection(TextDirection) Check if it is a vertical direction Declaration public static bool IsVerticalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean Justify(ustring, Int32, Char) Justifies the text to fill the width provided. Space will be added between words (demarked by spaces and tabs) to make the text just fit width . Spaces will not be added to the ends. Declaration public static ustring Justify(ustring text, int width, char spaceChar = ' ') Parameters Type Name Description NStack.ustring text System.Int32 width System.Char spaceChar Character to replace whitespace and pad with. For debugging purposes. Returns Type Description NStack.ustring The justified text. MaxLines(ustring, Int32) Computes the number of lines needed to render the specified text given the width. Declaration public static int MaxLines(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Number of lines. MaxWidth(ustring, Int32) Computes the maximum width needed to render the text (single line or multiple lines) given a minimum width. Declaration public static int MaxWidth(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Max width of lines. RemoveHotKeySpecifier(ustring, Int32, Rune) Removes the hotkey specifier from text. Declaration public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier) Parameters Type Name Description NStack.ustring text The text to manipulate. System.Int32 hotPos Returns the position of the hot-key in the text. -1 if not found. System.Rune hotKeySpecifier The hot-key specifier (e.g. '_') to look for. Returns Type Description NStack.ustring The input text with the hotkey specifier ('_') removed. ReplaceHotKeyWithTag(ustring, Int32) Replaces the Rune at the index specified by the hotPos parameter with a tag identifying it as the hotkey. Declaration public ustring ReplaceHotKeyWithTag(ustring text, int hotPos) Parameters Type Name Description NStack.ustring text The text to tag the hotkey in. System.Int32 hotPos The Rune index of the hotkey in text . Returns Type Description NStack.ustring The text with the hotkey tagged. Remarks The returned string will not render correctly without first un-doing the tag. To undo the tag, search for Runes with a bitmask of otKeyTagMask and remove that bitmask. WordWrap(ustring, Int32, Boolean, Int32) Formats the provided text to fit within the width provided using word wrapping. Declaration public static List WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text The text to word wrap System.Int32 width The width to contain the text to System.Boolean preserveTrailingSpaces If true , the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > Returns a list of word wrapped lines. Remarks This method does not do any justification. This method strips Newline ('\\n' and '\\r\\n') sequences before processing. Events HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key >" + "keywords": "Class TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. Inheritance System.Object TextFormatter Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextFormatter Properties Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public bool AutoSize { get; set; } Property Value Type Description System.Boolean CursorPosition Gets the cursor position from HotKey . If the HotKey is defined, the cursor will be positioned over it. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key HotKeyPos The position in the text of the hotkey. The hotkey will be rendered using the hot color. Declaration public int HotKeyPos { get; set; } Property Value Type Description System.Int32 HotKeySpecifier The specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune HotKeyTagMask Specifies the mask to apply to the hotkey to tag it as the hotkey. The default value of 0x100000 causes the underlying Rune to be identified as a \"private use\" Unicode character. Declaration public uint HotKeyTagMask { get; set; } Property Value Type Description System.UInt32 Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > Remarks Upon a 'get' of this property, if the text needs to be formatted (if NeedsFormat is true ) Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection) will be called internally. NeedsFormat Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute, Rect) is called. If it is false when Draw is called, the Draw call will be faster. Declaration public bool NeedsFormat { get; set; } Property Value Type Description System.Boolean Remarks This is set to true when the properties of TextFormatter are set. Size Gets or sets the size of the area the text will be constrained to when formatted. Declaration public Size Size { get; set; } Property Value Type Description Size Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods CalcRect(Int32, Int32, ustring, TextDirection) Calculates the rectangle required to hold text, assuming no word wrapping. Declaration public static Rect CalcRect(int x, int y, ustring text, TextDirection direction = TextDirection.LeftRight_TopBottom) Parameters Type Name Description System.Int32 x The x location of the rectangle System.Int32 y The y location of the rectangle NStack.ustring text The text to measure TextDirection direction The text direction. Returns Type Description Rect ClipAndJustify(ustring, Int32, Boolean, TextDirection) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, bool justify, TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. System.Boolean justify Justify. TextDirection textDirection The text direction. Returns Type Description NStack.ustring Justified and clipped text. ClipAndJustify(ustring, Int32, TextAlignment, TextDirection) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign, TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. TextAlignment talign Alignment. TextDirection textDirection The text direction. Returns Type Description NStack.ustring Justified and clipped text. ClipOrPad(String, Int32) Adds trailing whitespace or truncates text so that it fits exactly width console units. Note that some unicode characters take 2+ columns Declaration public static string ClipOrPad(string text, int width) Parameters Type Name Description System.String text System.Int32 width Returns Type Description System.String Draw(Rect, Attribute, Attribute, Rect) Draws the text held by TextFormatter to Driver using the colors specified. Declaration public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default(Rect)) Parameters Type Name Description Rect bounds Specifies the screen-relative location and maximum size for drawing the text. Attribute normalColor The color to use for all text except the hotkey Attribute hotColor The color to use to draw the hotkey Rect containerBounds Specifies the screen-relative location and maximum container size. FindHotKey(ustring, Rune, Boolean, out Int32, out Key) Finds the hotkey and its location in text. Declaration public static bool FindHotKey(ustring text, Rune hotKeySpecifier, bool firstUpperCase, out int hotPos, out Key hotKey) Parameters Type Name Description NStack.ustring text The text to look in. System.Rune hotKeySpecifier The hotkey specifier (e.g. '_') to look for. System.Boolean firstUpperCase If true the legacy behavior of identifying the first upper case character as the hotkey will be enabled. Regardless of the value of this parameter, hotKeySpecifier takes precedence. System.Int32 hotPos Outputs the Rune index into text . Key hotKey Outputs the hotKey. Returns Type Description System.Boolean true if a hotkey was found; false otherwise. Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. System.Boolean justify Specifies whether the text should be justified. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. TextDirection textDirection The text direction. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32, TextDirection) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. TextAlignment talign Specifies how the text will be aligned horizontally. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. TextDirection textDirection The text direction. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. GetMaxLengthForWidth(ustring, Int32) Gets the index position from the text based on the width . Declaration public static int GetMaxLengthForWidth(ustring text, int width) Parameters Type Name Description NStack.ustring text The text. System.Int32 width The width. Returns Type Description System.Int32 The index of the text that fit the width. GetMaxLengthForWidth(List, Int32) Gets the index position from the list based on the width . Declaration public static int GetMaxLengthForWidth(List runes, int width) Parameters Type Name Description System.Collections.Generic.List < System.Rune > runes The runes. System.Int32 width The width. Returns Type Description System.Int32 The index of the list that fit the width. GetSumMaxCharWidth(ustring, Int32, Int32) Gets the maximum characters width from the text based on the startIndex and the length . Declaration public static int GetSumMaxCharWidth(ustring text, int startIndex = -1, int length = -1) Parameters Type Name Description NStack.ustring text The text. System.Int32 startIndex The start index. System.Int32 length The length. Returns Type Description System.Int32 The maximum characters width. GetSumMaxCharWidth(List, Int32, Int32) Gets the maximum characters width from the list based on the startIndex and the length . Declaration public static int GetSumMaxCharWidth(List lines, int startIndex = -1, int length = -1) Parameters Type Name Description System.Collections.Generic.List < NStack.ustring > lines The lines. System.Int32 startIndex The start index. System.Int32 length The length. Returns Type Description System.Int32 The maximum characters width. GetTextWidth(ustring) Gets the total width of the passed text. Declaration public static int GetTextWidth(ustring text) Parameters Type Name Description NStack.ustring text Returns Type Description System.Int32 The text width. IsHorizontalDirection(TextDirection) Check if it is a horizontal direction Declaration public static bool IsHorizontalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsLeftToRight(TextDirection) Check if it is Left to Right direction Declaration public static bool IsLeftToRight(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsTopToBottom(TextDirection) Check if it is Top to Bottom direction Declaration public static bool IsTopToBottom(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsVerticalDirection(TextDirection) Check if it is a vertical direction Declaration public static bool IsVerticalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean Justify(ustring, Int32, Char, TextDirection) Justifies the text to fill the width provided. Space will be added between words (demarked by spaces and tabs) to make the text just fit width . Spaces will not be added to the ends. Declaration public static ustring Justify(ustring text, int width, char spaceChar = ' ', TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text System.Int32 width System.Char spaceChar Character to replace whitespace and pad with. For debugging purposes. TextDirection textDirection The text direction. Returns Type Description NStack.ustring The justified text. MaxLines(ustring, Int32) Computes the number of lines needed to render the specified text given the width. Declaration public static int MaxLines(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Number of lines. MaxWidth(ustring, Int32) Computes the maximum width needed to render the text (single line or multiple lines) given a minimum width. Declaration public static int MaxWidth(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Max width of lines. RemoveHotKeySpecifier(ustring, Int32, Rune) Removes the hotkey specifier from text. Declaration public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier) Parameters Type Name Description NStack.ustring text The text to manipulate. System.Int32 hotPos Returns the position of the hot-key in the text. -1 if not found. System.Rune hotKeySpecifier The hot-key specifier (e.g. '_') to look for. Returns Type Description NStack.ustring The input text with the hotkey specifier ('_') removed. ReplaceHotKeyWithTag(ustring, Int32) Replaces the Rune at the index specified by the hotPos parameter with a tag identifying it as the hotkey. Declaration public ustring ReplaceHotKeyWithTag(ustring text, int hotPos) Parameters Type Name Description NStack.ustring text The text to tag the hotkey in. System.Int32 hotPos The Rune index of the hotkey in text . Returns Type Description NStack.ustring The text with the hotkey tagged. Remarks The returned string will not render correctly without first un-doing the tag. To undo the tag, search for Runes with a bitmask of otKeyTagMask and remove that bitmask. WordWrap(ustring, Int32, Boolean, Int32, TextDirection) Formats the provided text to fit within the width provided using word wrapping. Declaration public static List WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0, TextDirection textDirection = TextDirection.LeftRight_TopBottom) Parameters Type Name Description NStack.ustring text The text to word wrap System.Int32 width The width to contain the text to System.Boolean preserveTrailingSpaces If true , the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. TextDirection textDirection The text direction. Returns Type Description System.Collections.Generic.List < NStack.ustring > Returns a list of word wrapped lines. Remarks This method does not do any justification. This method strips Newline ('\\n' and '\\r\\n') sequences before processing. Events HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key >" }, "api/Terminal.Gui/Terminal.Gui.TextValidateField.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateField.html", "title": "Class TextValidateField", - "keywords": "Class TextValidateField Text field that validates input through a ITextValidateProvider Inheritance System.Object Responder View TextValidateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextValidateField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() TextValidateField(ITextValidateProvider) Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField(ITextValidateProvider provider) Parameters Type Name Description ITextValidateProvider provider Properties IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean Provider Provider Declaration public ITextValidateProvider Provider { get; set; } Property Value Type Description ITextValidateProvider Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TextValidateField Text field that validates input through a ITextValidateProvider Inheritance System.Object Responder View TextValidateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextValidateField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() TextValidateField(ITextValidateProvider) Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField(ITextValidateProvider provider) Parameters Type Name Description ITextValidateProvider provider Properties IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean Provider Provider Declaration public ITextValidateProvider Provider { get; set; } Property Value Type Description ITextValidateProvider Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html", @@ -627,7 +637,7 @@ "api/Terminal.Gui/Terminal.Gui.TextView.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextView.html", "title": "Class TextView", - "keywords": "Class TextView Multi-line text editing View Inheritance System.Object Responder View TextView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks TextView provides a multi-line text editor. Users interact with it with the standard Emacs commands for movement or the arrow keys. Shortcut Action performed Left cursor, Control-b Moves the editing point left. Right cursor, Control-f Moves the editing point right. Alt-b Moves one word back. Alt-f Moves one word forward. Up cursor, Control-p Moves the editing point one line up. Down cursor, Control-n Moves the editing point one line down Home key, Control-a Moves the cursor to the beginning of the line. End key, Control-e Moves the cursor to the end of the line. Control-Home Scrolls to the first line and moves the cursor there. Control-End Scrolls to the last line and moves the cursor there. Delete, Control-d Deletes the character in front of the cursor. Backspace Deletes the character behind the cursor. Control-k Deletes the text until the end of the line and replaces the kill buffer with the deleted text. You can paste this text in a different place by using Control-y. Control-y Pastes the content of the kill ring into the current position. Alt-d Deletes the word above the cursor and adds it to the kill ring. You can paste the contents of the kill ring with Control-y. Control-q Quotes the next input character, to prevent the normal processing of key handling to take place. Constructors TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() TextView(Rect) Initializes a TextView on the specified area, with absolute position and size. Declaration public TextView(Rect frame) Parameters Type Name Description Rect frame Remarks Properties AllowsReturn Gets or sets a value indicating whether pressing ENTER in a TextView creates a new line of text in the view or activates the default button for the toplevel. Declaration public bool AllowsReturn { get; set; } Property Value Type Description System.Boolean AllowsTab Gets or sets a value indicating whether pressing the TAB key in a TextView types a TAB character in the view instead of moving the focus to the next view in the tab order. Declaration public bool AllowsTab { get; set; } Property Value Type Description System.Boolean Autocomplete Provides autocomplete context menu based on suggestions at the current cursor position. Populate AllSuggestions to enable this feature Declaration public IAutocomplete Autocomplete { get; protected set; } Property Value Type Description IAutocomplete BottomOffset The bottom offset needed to use a horizontal scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int BottomOffset { get; set; } Property Value Type Description System.Int32 CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame HasHistoryChanges Indicates whatever the text has history changes or not. true if the text has history changes false otherwise. Declaration public bool HasHistoryChanges { get; } Property Value Type Description System.Boolean IsDirty Indicates whatever the text was changed or not. true if the text was changed false otherwise. Declaration public bool IsDirty { get; } Property Value Type Description System.Boolean LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 Multiline Gets or sets a value indicating whether this TextView is a multiline text view. Declaration public bool Multiline { get; set; } Property Value Type Description System.Boolean ReadOnly Gets or sets whether the TextView is in read-only mode or not Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean Boolean value(Default false) RightOffset The right offset needed to use a vertical scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int RightOffset { get; set; } Property Value Type Description System.Int32 SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 TabWidth Gets or sets a value indicating the number of whitespace when pressing the TAB key. Declaration public int TabWidth { get; set; } Property Value Type Description System.Int32 Text Sets or gets the text in the TextView . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Remarks TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 Used Tracks whether the text view should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() CloseFile() Closes the contents of the stream into the TextView . Declaration public bool CloseFile() Returns Type Description System.Boolean true , if stream was closed, false otherwise. ColorNormal() Sets the driver to the default color for the control where no text is being rendered. Defaults to Normal . Declaration protected virtual void ColorNormal() ColorNormal(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to Normal . Declaration protected virtual void ColorNormal(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx ColorSelection(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to Focus . Declaration protected virtual void ColorSelection(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx ColorUsed(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to HotFocus . Declaration protected virtual void ColorUsed(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() DeleteAll() Deletes all text. Declaration public void DeleteAll() DeleteCharLeft() Deletes all the selected or a single character at left from the position of the cursor. Declaration public void DeleteCharLeft() DeleteCharRight() Deletes all the selected or a single character at right from the position of the cursor. Declaration public void DeleteCharRight() FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the next text based on the match case with the option to replace it. Declaration public bool FindNextText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was forward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If is replacing. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the previous text based on the match case with the option to replace it. Declaration public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was backward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If the text was found. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() GetCurrentLine() Returns the characters on the current line (where the cursor is positioned). Use CurrentColumn to determine the position of the cursor within that line Declaration public List GetCurrentLine() Returns Type Description System.Collections.Generic.List < System.Rune > InsertText(String) Inserts the given toAdd text at the current cursor position exactly as if the user had just typed it Declaration public void InsertText(string toAdd) Parameters Type Name Description System.String toAdd Text to add LoadFile(String) Loads the contents of the file into the TextView . Declaration public bool LoadFile(string path) Parameters Type Name Description System.String path Path to the file to load. Returns Type Description System.Boolean true , if file was loaded, false otherwise. LoadStream(Stream) Loads the contents of the stream into the TextView . Declaration public void LoadStream(Stream stream) Parameters Type Name Description System.IO.Stream stream Stream to load the contents from. MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ReplaceAllText(ustring, Boolean, Boolean, ustring) Replaces all the text based on the match case. Declaration public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. Returns Type Description System.Boolean true If the text was found. false otherwise. ScrollTo(Int32, Boolean) Will scroll the TextView to display the specified row at the top if isRow is true or will scroll the TextView to display the specified column at the left if isRow is false. Declaration public void ScrollTo(int idx, bool isRow = true) Parameters Type Name Description System.Int32 idx Row that should be displayed at the top or Column that should be displayed at the left, if the value is negative it will be reset to zero System.Boolean isRow If true (default) the idx is a row, column otherwise. SelectAll() Select all text. Declaration public void SelectAll() Events TextChanged Raised when the Text of the TextView changes. Declaration public event Action TextChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TextView Multi-line text editing View Inheritance System.Object Responder View TextView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks TextView provides a multi-line text editor. Users interact with it with the standard Emacs commands for movement or the arrow keys. Shortcut Action performed Left cursor, Control-b Moves the editing point left. Right cursor, Control-f Moves the editing point right. Alt-b Moves one word back. Alt-f Moves one word forward. Up cursor, Control-p Moves the editing point one line up. Down cursor, Control-n Moves the editing point one line down Home key, Control-a Moves the cursor to the beginning of the line. End key, Control-e Moves the cursor to the end of the line. Control-Home Scrolls to the first line and moves the cursor there. Control-End Scrolls to the last line and moves the cursor there. Delete, Control-d Deletes the character in front of the cursor. Backspace Deletes the character behind the cursor. Control-k Deletes the text until the end of the line and replaces the kill buffer with the deleted text. You can paste this text in a different place by using Control-y. Control-y Pastes the content of the kill ring into the current position. Alt-d Deletes the word above the cursor and adds it to the kill ring. You can paste the contents of the kill ring with Control-y. Control-q Quotes the next input character, to prevent the normal processing of key handling to take place. Constructors TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() TextView(Rect) Initializes a TextView on the specified area, with absolute position and size. Declaration public TextView(Rect frame) Parameters Type Name Description Rect frame Remarks Properties AllowsReturn Gets or sets a value indicating whether pressing ENTER in a TextView creates a new line of text in the view or activates the default button for the toplevel. Declaration public bool AllowsReturn { get; set; } Property Value Type Description System.Boolean AllowsTab Gets or sets a value indicating whether pressing the TAB key in a TextView types a TAB character in the view instead of moving the focus to the next view in the tab order. Declaration public bool AllowsTab { get; set; } Property Value Type Description System.Boolean Autocomplete Provides autocomplete context menu based on suggestions at the current cursor position. Populate AllSuggestions to enable this feature Declaration public IAutocomplete Autocomplete { get; protected set; } Property Value Type Description IAutocomplete BottomOffset The bottom offset needed to use a horizontal scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int BottomOffset { get; set; } Property Value Type Description System.Int32 CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame HasHistoryChanges Indicates whatever the text has history changes or not. true if the text has history changes false otherwise. Declaration public bool HasHistoryChanges { get; } Property Value Type Description System.Boolean IsDirty Indicates whatever the text was changed or not. true if the text was changed false otherwise. Declaration public bool IsDirty { get; } Property Value Type Description System.Boolean LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 Multiline Gets or sets a value indicating whether this TextView is a multiline text view. Declaration public bool Multiline { get; set; } Property Value Type Description System.Boolean ReadOnly Gets or sets whether the TextView is in read-only mode or not Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean Boolean value(Default false) RightOffset The right offset needed to use a vertical scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int RightOffset { get; set; } Property Value Type Description System.Int32 SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 TabWidth Gets or sets a value indicating the number of whitespace when pressing the TAB key. Declaration public int TabWidth { get; set; } Property Value Type Description System.Int32 Text Sets or gets the text in the TextView . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Remarks TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 Used Tracks whether the text view should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() CloseFile() Closes the contents of the stream into the TextView . Declaration public bool CloseFile() Returns Type Description System.Boolean true , if stream was closed, false otherwise. ColorNormal() Sets the driver to the default color for the control where no text is being rendered. Defaults to Normal . Declaration protected virtual void ColorNormal() ColorNormal(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to Normal . Declaration protected virtual void ColorNormal(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx ColorSelection(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to Focus . Declaration protected virtual void ColorSelection(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx ColorUsed(List, Int32) Sets the Driver to an appropriate color for rendering the given idx of the current line . Override to provide custom coloring by calling SetAttribute(Attribute) Defaults to HotFocus . Declaration protected virtual void ColorUsed(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() DeleteAll() Deletes all text. Declaration public void DeleteAll() DeleteCharLeft() Deletes all the selected or a single character at left from the position of the cursor. Declaration public void DeleteCharLeft() DeleteCharRight() Deletes all the selected or a single character at right from the position of the cursor. Declaration public void DeleteCharRight() FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the next text based on the match case with the option to replace it. Declaration public bool FindNextText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was forward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If is replacing. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the previous text based on the match case with the option to replace it. Declaration public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was backward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If the text was found. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() GetCurrentLine() Returns the characters on the current line (where the cursor is positioned). Use CurrentColumn to determine the position of the cursor within that line Declaration public List GetCurrentLine() Returns Type Description System.Collections.Generic.List < System.Rune > InsertText(String) Inserts the given toAdd text at the current cursor position exactly as if the user had just typed it Declaration public void InsertText(string toAdd) Parameters Type Name Description System.String toAdd Text to add LoadFile(String) Loads the contents of the file into the TextView . Declaration public bool LoadFile(string path) Parameters Type Name Description System.String path Path to the file to load. Returns Type Description System.Boolean true , if file was loaded, false otherwise. LoadStream(Stream) Loads the contents of the stream into the TextView . Declaration public void LoadStream(Stream stream) Parameters Type Name Description System.IO.Stream stream Stream to load the contents from. MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ReplaceAllText(ustring, Boolean, Boolean, ustring) Replaces all the text based on the match case. Declaration public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. Returns Type Description System.Boolean true If the text was found. false otherwise. ScrollTo(Int32, Boolean) Will scroll the TextView to display the specified row at the top if isRow is true or will scroll the TextView to display the specified column at the left if isRow is false. Declaration public void ScrollTo(int idx, bool isRow = true) Parameters Type Name Description System.Int32 idx Row that should be displayed at the top or Column that should be displayed at the left, if the value is negative it will be reset to zero System.Boolean isRow If true (default) the idx is a row, column otherwise. SelectAll() Select all text. Declaration public void SelectAll() Events TextChanged Raised when the Text of the TextView changes. Declaration public event Action TextChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html", @@ -642,12 +652,12 @@ "api/Terminal.Gui/Terminal.Gui.TimeField.html": { "href": "api/Terminal.Gui/Terminal.Gui.TimeField.html", "title": "Class TimeField", - "keywords": "Class TimeField Time editing View Inheritance System.Object Responder View TextField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Autocomplete TextField.Frame TextField.Text TextField.Secret TextField.ScrollOffset TextField.IsDirty TextField.HasHistoryChanges TextField.ContextMenu TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.KillWordBackwards() TextField.KillWordForwards() TextField.SelectAll() TextField.DeleteAll() TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) TextField.InsertText(String, Boolean) TextField.ClearHistoryChanges() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TimeField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TimeField View provides time editing functionality with mouse support. Constructors TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() TimeField(Int32, Int32, TimeSpan, Boolean) Initializes a new instance of TimeField using Absolute positioning. Declaration public TimeField(int x, int y, TimeSpan time, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.TimeSpan time Initial time. System.Boolean isShort If true, the seconds are hidden. Sets the IsShortFormat property. TimeField(TimeSpan) Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField(TimeSpan time) Parameters Type Name Description System.TimeSpan time Initial time Properties CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition IsShortFormat Get or sets whether TimeField uses the short or long time format. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Remarks Methods DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnTimeChanged(DateTimeEventArgs) Event firing method that invokes the TimeChanged event. Declaration public virtual void OnTimeChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.TimeSpan > args The event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> Remarks This event is raised when the Time changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TimeField Time editing View Inheritance System.Object Responder View TextField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Autocomplete TextField.Frame TextField.Text TextField.Secret TextField.ScrollOffset TextField.IsDirty TextField.HasHistoryChanges TextField.ContextMenu TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.KillWordBackwards() TextField.KillWordForwards() TextField.SelectAll() TextField.DeleteAll() TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) TextField.InsertText(String, Boolean) TextField.ClearHistoryChanges() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TimeField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TimeField View provides time editing functionality with mouse support. Constructors TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() TimeField(Int32, Int32, TimeSpan, Boolean) Initializes a new instance of TimeField using Absolute positioning. Declaration public TimeField(int x, int y, TimeSpan time, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.TimeSpan time Initial time. System.Boolean isShort If true, the seconds are hidden. Sets the IsShortFormat property. TimeField(TimeSpan) Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField(TimeSpan time) Parameters Type Name Description System.TimeSpan time Initial time Properties CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition IsShortFormat Get or sets whether TimeField uses the short or long time format. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Remarks Methods DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnTimeChanged(DateTimeEventArgs) Event firing method that invokes the TimeChanged event. Declaration public virtual void OnTimeChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.TimeSpan > args The event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> Remarks This event is raised when the Time changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Toplevel.html": { "href": "api/Terminal.Gui/Terminal.Gui.Toplevel.html", "title": "Class Toplevel", - "keywords": "Class Toplevel Toplevel views can be modally executed. Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Toplevel : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Toplevels can be modally executing views, started by calling Run(Toplevel, Func) . They return control to the caller when RequestStop(Toplevel) has been called (which sets the Running property to false). A Toplevel is created when an application initializes Terminal.Gui by calling Init(ConsoleDriver, IMainLoopDriver) . The application Toplevel can be accessed via Top . Additional Toplevels can be created and run (e.g. Dialog s. To run a Toplevel, create the Toplevel and call Run(Toplevel, Func) . Toplevels can also opt-in to more sophisticated initialization by implementing System.ComponentModel.ISupportInitialize . When they do so, the System.ComponentModel.ISupportInitialize.BeginInit() and System.ComponentModel.ISupportInitialize.EndInit() methods will be called before running the view. If first-run-only initialization is preferred, the System.ComponentModel.ISupportInitializeNotification can be implemented too, in which case the System.ComponentModel.ISupportInitialize methods will only be called if System.ComponentModel.ISupportInitializeNotification.IsInitialized is false . This allows proper View inheritance hierarchies to override base class layout code optimally by doing so only on first run, instead of on every run. Constructors Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() Toplevel(Rect) Initializes a new instance of the Toplevel class with the specified absolute layout. Declaration public Toplevel(Rect frame) Parameters Type Name Description Rect frame A superview-relative rectangle specifying the location and size for the new Toplevel Properties CanFocus Gets or sets a value indicating whether this Toplevel can focus. Declaration public override bool CanFocus { get; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus IsMdiChild Gets or sets if this Toplevel is a Mdi child. Declaration public bool IsMdiChild { get; } Property Value Type Description System.Boolean IsMdiContainer Gets or sets if this Toplevel is a Mdi container. Declaration public bool IsMdiContainer { get; set; } Property Value Type Description System.Boolean MenuBar Gets or sets the menu for this Toplevel Declaration public virtual MenuBar MenuBar { get; set; } Property Value Type Description MenuBar Modal Determines whether the Toplevel is modal or not. Causes ProcessKey(KeyEvent) to propagate keys upwards by default unless set to true . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean Running Gets or sets whether the MainLoop for this Toplevel is running or not. Declaration public bool Running { get; set; } Property Value Type Description System.Boolean Remarks Setting this property directly is discouraged. Use RequestStop(Toplevel) instead. StatusBar Gets or sets the status bar for this Toplevel Declaration public virtual StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The create. GetTopMdiChild(Type, String[]) Gets the current visible toplevel Mdi child that match the arguments pattern. Declaration public View GetTopMdiChild(Type type = null, string[] exclude = null) Parameters Type Name Description System.Type type The type. System.String [] exclude The strings to exclude. Returns Type Description View The matched view. MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveNext() Move to the next Mdi child from the MdiTop . Declaration public virtual void MoveNext() MovePrevious() Move to the previous Mdi child from the MdiTop . Declaration public virtual void MovePrevious() OnAlternateBackwardKeyChanged(Key) Virtual method to invoke the AlternateBackwardKeyChanged event. Declaration public virtual void OnAlternateBackwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey OnAlternateForwardKeyChanged(Key) Virtual method to invoke the AlternateForwardKeyChanged event. Declaration public virtual void OnAlternateForwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnQuitKeyChanged(Key) Virtual method to invoke the QuitKeyChanged event. Declaration public virtual void OnQuitKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() PositionToplevel(Toplevel) Virtual method which allow to be overridden to implement specific positions for inherited Toplevel . Declaration public virtual void PositionToplevel(Toplevel top) Parameters Type Name Description Toplevel top The toplevel. ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() RequestStop() Stops running this Toplevel . Declaration public virtual void RequestStop() RequestStop(Toplevel) Stops running the top Toplevel . Declaration public virtual void RequestStop(Toplevel top) Parameters Type Name Description Toplevel top The toplevel to request stop. ShowChild(Toplevel) Shows the Mdi child indicated by the top setting as Current . Declaration public virtual bool ShowChild(Toplevel top = null) Parameters Type Name Description Toplevel top The toplevel. Returns Type Description System.Boolean true if the toplevel can be showed. false otherwise. WillPresent() Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func) after the views have been laid out, and before the views are drawn for the first time. Declaration public virtual void WillPresent() Events Activate Invoked once the Toplevel's Application.RunState becomes the Current . Declaration public event Action Activate Event Type Type Description System.Action < Toplevel > AllChildClosed Invoked once the last child Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action AllChildClosed Event Type Type Description System.Action AlternateBackwardKeyChanged Invoked when the AlternateBackwardKey is changed. Declaration public event Action AlternateBackwardKeyChanged Event Type Type Description System.Action < Key > AlternateForwardKeyChanged Invoked when the AlternateForwardKey is changed. Declaration public event Action AlternateForwardKeyChanged Event Type Type Description System.Action < Key > ChildClosed Invoked once the child Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action ChildClosed Event Type Type Description System.Action < Toplevel > ChildLoaded Invoked once the child Toplevel's Application.RunState has begin loaded. Declaration public event Action ChildLoaded Event Type Type Description System.Action < Toplevel > ChildUnloaded Invoked once the child Toplevel's Application.RunState has begin unloaded. Declaration public event Action ChildUnloaded Event Type Type Description System.Action < Toplevel > Closed Invoked once the Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action Closed Event Type Type Description System.Action < Toplevel > Closing Invoked once the Toplevel's Application.RunState is being closing from the RequestStop(Toplevel) Declaration public event Action Closing Event Type Type Description System.Action < ToplevelClosingEventArgs > Deactivate Invoked once the Toplevel's Application.RunState ceases to be the Current . Declaration public event Action Deactivate Event Type Type Description System.Action < Toplevel > Loaded Fired once the Toplevel's Application.RunState has begin loaded. A Loaded event handler is a good place to finalize initialization before calling ` RunLoop(Application.RunState, Boolean) . Declaration public event Action Loaded Event Type Type Description System.Action QuitKeyChanged Invoked when the QuitKey is changed. Declaration public event Action QuitKeyChanged Event Type Type Description System.Action < Key > Ready Fired once the Toplevel's MainLoop has started it's first iteration. Subscribe to this event to perform tasks when the Toplevel has been laid out and focus has been set. changes. A Ready event handler is a good place to finalize initialization after calling ` Run(Func) (topLevel)`. Declaration public event Action Ready Event Type Type Description System.Action Resized Invoked when the terminal was resized. The new Size of the terminal is provided. Declaration public event Action Resized Event Type Type Description System.Action < Size > Unloaded Fired once the Toplevel's Application.RunState has begin unloaded. A Unloaded event handler is a good place to disposing after calling ` End(Application.RunState) . Declaration public event Action Unloaded Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Toplevel Toplevel views can be modally executed. Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Toplevel : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Toplevels can be modally executing views, started by calling Run(Toplevel, Func) . They return control to the caller when RequestStop(Toplevel) has been called (which sets the Running property to false). A Toplevel is created when an application initializes Terminal.Gui by calling Init(ConsoleDriver, IMainLoopDriver) . The application Toplevel can be accessed via Top . Additional Toplevels can be created and run (e.g. Dialog s. To run a Toplevel, create the Toplevel and call Run(Toplevel, Func) . Toplevels can also opt-in to more sophisticated initialization by implementing System.ComponentModel.ISupportInitialize . When they do so, the System.ComponentModel.ISupportInitialize.BeginInit() and System.ComponentModel.ISupportInitialize.EndInit() methods will be called before running the view. If first-run-only initialization is preferred, the System.ComponentModel.ISupportInitializeNotification can be implemented too, in which case the System.ComponentModel.ISupportInitialize methods will only be called if System.ComponentModel.ISupportInitializeNotification.IsInitialized is false . This allows proper View inheritance hierarchies to override base class layout code optimally by doing so only on first run, instead of on every run. Constructors Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() Toplevel(Rect) Initializes a new instance of the Toplevel class with the specified absolute layout. Declaration public Toplevel(Rect frame) Parameters Type Name Description Rect frame A superview-relative rectangle specifying the location and size for the new Toplevel Properties CanFocus Gets or sets a value indicating whether this Toplevel can focus. Declaration public override bool CanFocus { get; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus IsMdiChild Gets or sets if this Toplevel is a Mdi child. Declaration public bool IsMdiChild { get; } Property Value Type Description System.Boolean IsMdiContainer Gets or sets if this Toplevel is a Mdi container. Declaration public bool IsMdiContainer { get; set; } Property Value Type Description System.Boolean MenuBar Gets or sets the menu for this Toplevel Declaration public virtual MenuBar MenuBar { get; set; } Property Value Type Description MenuBar Modal Determines whether the Toplevel is modal or not. Causes ProcessKey(KeyEvent) to propagate keys upwards by default unless set to true . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean Running Gets or sets whether the MainLoop for this Toplevel is running or not. Declaration public bool Running { get; set; } Property Value Type Description System.Boolean Remarks Setting this property directly is discouraged. Use RequestStop(Toplevel) instead. StatusBar Gets or sets the status bar for this Toplevel Declaration public virtual StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The create. GetTopMdiChild(Type, String[]) Gets the current visible toplevel Mdi child that match the arguments pattern. Declaration public View GetTopMdiChild(Type type = null, string[] exclude = null) Parameters Type Name Description System.Type type The type. System.String [] exclude The strings to exclude. Returns Type Description View The matched view. MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveNext() Move to the next Mdi child from the MdiTop . Declaration public virtual void MoveNext() MovePrevious() Move to the previous Mdi child from the MdiTop . Declaration public virtual void MovePrevious() OnAlternateBackwardKeyChanged(Key) Virtual method to invoke the AlternateBackwardKeyChanged event. Declaration public virtual void OnAlternateBackwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey OnAlternateForwardKeyChanged(Key) Virtual method to invoke the AlternateForwardKeyChanged event. Declaration public virtual void OnAlternateForwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnQuitKeyChanged(Key) Virtual method to invoke the QuitKeyChanged event. Declaration public virtual void OnQuitKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() PositionToplevel(Toplevel) Virtual method which allow to be overridden to implement specific positions for inherited Toplevel . Declaration public virtual void PositionToplevel(Toplevel top) Parameters Type Name Description Toplevel top The toplevel. ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() RequestStop() Stops running this Toplevel . Declaration public virtual void RequestStop() RequestStop(Toplevel) Stops running the top Toplevel . Declaration public virtual void RequestStop(Toplevel top) Parameters Type Name Description Toplevel top The toplevel to request stop. ShowChild(Toplevel) Shows the Mdi child indicated by the top setting as Current . Declaration public virtual bool ShowChild(Toplevel top = null) Parameters Type Name Description Toplevel top The toplevel. Returns Type Description System.Boolean true if the toplevel can be showed. false otherwise. WillPresent() Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func) after the views have been laid out, and before the views are drawn for the first time. Declaration public virtual void WillPresent() Events Activate Invoked once the Toplevel's Application.RunState becomes the Current . Declaration public event Action Activate Event Type Type Description System.Action < Toplevel > AllChildClosed Invoked once the last child Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action AllChildClosed Event Type Type Description System.Action AlternateBackwardKeyChanged Invoked when the AlternateBackwardKey is changed. Declaration public event Action AlternateBackwardKeyChanged Event Type Type Description System.Action < Key > AlternateForwardKeyChanged Invoked when the AlternateForwardKey is changed. Declaration public event Action AlternateForwardKeyChanged Event Type Type Description System.Action < Key > ChildClosed Invoked once the child Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action ChildClosed Event Type Type Description System.Action < Toplevel > ChildLoaded Invoked once the child Toplevel's Application.RunState has begin loaded. Declaration public event Action ChildLoaded Event Type Type Description System.Action < Toplevel > ChildUnloaded Invoked once the child Toplevel's Application.RunState has begin unloaded. Declaration public event Action ChildUnloaded Event Type Type Description System.Action < Toplevel > Closed Invoked once the Toplevel's Application.RunState is closed from the Terminal.Gui.Application.End(Terminal.Gui.View) Declaration public event Action Closed Event Type Type Description System.Action < Toplevel > Closing Invoked once the Toplevel's Application.RunState is being closing from the RequestStop(Toplevel) Declaration public event Action Closing Event Type Type Description System.Action < ToplevelClosingEventArgs > Deactivate Invoked once the Toplevel's Application.RunState ceases to be the Current . Declaration public event Action Deactivate Event Type Type Description System.Action < Toplevel > Loaded Fired once the Toplevel's Application.RunState has begin loaded. A Loaded event handler is a good place to finalize initialization before calling ` RunLoop(Application.RunState, Boolean) . Declaration public event Action Loaded Event Type Type Description System.Action QuitKeyChanged Invoked when the QuitKey is changed. Declaration public event Action QuitKeyChanged Event Type Type Description System.Action < Key > Ready Fired once the Toplevel's MainLoop has started it's first iteration. Subscribe to this event to perform tasks when the Toplevel has been laid out and focus has been set. changes. A Ready event handler is a good place to finalize initialization after calling ` Run(Func) (topLevel)`. Declaration public event Action Ready Event Type Type Description System.Action Resized Invoked when the terminal was resized. The new Size of the terminal is provided. Declaration public event Action Resized Event Type Type Description System.Action < Size > Unloaded Fired once the Toplevel's Application.RunState has begin unloaded. A Unloaded event handler is a good place to disposing after calling ` End(Application.RunState) . Declaration public event Action Unloaded Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html", @@ -722,12 +732,12 @@ "api/Terminal.Gui/Terminal.Gui.TreeView.html": { "href": "api/Terminal.Gui/Terminal.Gui.TreeView.html", "title": "Class TreeView", - "keywords": "Class TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . Inheritance System.Object Responder View TreeView < ITreeNode > TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView Inherited Members TreeView.TreeBuilder TreeView.Style TreeView.MultiSelect TreeView.AllowLetterBasedNavigation TreeView.SelectedObject TreeView.ObjectActivated TreeView.ObjectActivationKey TreeView.ObjectActivationButton TreeView.NoBuilderError TreeView.SelectionChanged TreeView.Objects TreeView.ScrollOffsetVertical TreeView.ScrollOffsetHorizontal TreeView.ContentHeight TreeView.AspectGetter TreeView.DesiredCursorVisibility TreeView.OnEnter(View) TreeView.AddObject(ITreeNode) TreeView.ClearObjects() TreeView.Remove(ITreeNode) TreeView.AddObjects(IEnumerable) TreeView.RefreshObject(ITreeNode, Boolean) TreeView.RebuildTree() TreeView.GetChildren(ITreeNode) TreeView.GetParent(ITreeNode) TreeView.Redraw(Rect) TreeView.GetScrollOffsetOf(ITreeNode) TreeView.GetContentWidth(Boolean) TreeView.ProcessKey(KeyEvent) TreeView.ActivateSelectedObjectIfAny() TreeView.AdjustSelectionToNextItemBeginningWith(Char, StringComparison) TreeView.MovePageUp(Boolean) TreeView.MovePageDown(Boolean) TreeView.ScrollDown() TreeView.ScrollUp() TreeView.OnObjectActivated(ObjectActivatedEventArgs) TreeView.MouseEvent(MouseEvent) TreeView.PositionCursor() TreeView.CursorLeft(Boolean) TreeView.GoToFirst() TreeView.GoToEnd() TreeView.GoTo(ITreeNode) TreeView.AdjustSelection(Int32, Boolean) TreeView.AdjustSelectionToBranchStart() TreeView.AdjustSelectionToBranchEnd() TreeView.EnsureVisible(ITreeNode) TreeView.Expand() TreeView.Expand(ITreeNode) TreeView.ExpandAll(ITreeNode) TreeView.ExpandAll() TreeView.CanExpand(ITreeNode) TreeView.IsExpanded(ITreeNode) TreeView.Collapse() TreeView.Collapse(ITreeNode) TreeView.CollapseAll(ITreeNode) TreeView.CollapseAll() TreeView.CollapseImpl(ITreeNode, Boolean) TreeView.InvalidateLineMap() TreeView.IsSelected(ITreeNode) TreeView.GetAllSelectedObjects() TreeView.SelectAll() TreeView.OnSelectionChanged(SelectionChangedEventArgs) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : TreeView, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView Constructors TreeView() Creates a new instance of the tree control with absolute positioning and initialises TreeBuilder with default ITreeNode based builder Declaration public TreeView() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" + "keywords": "Class TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . Inheritance System.Object Responder View TreeView < ITreeNode > TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView Inherited Members TreeView.TreeBuilder TreeView.Style TreeView.MultiSelect TreeView.AllowLetterBasedNavigation TreeView.SelectedObject TreeView.ObjectActivated TreeView.ObjectActivationKey TreeView.ObjectActivationButton TreeView.ColorGetter TreeView.NoBuilderError TreeView.SelectionChanged TreeView.Objects TreeView.ScrollOffsetVertical TreeView.ScrollOffsetHorizontal TreeView.ContentHeight TreeView.AspectGetter TreeView.DesiredCursorVisibility TreeView.OnEnter(View) TreeView.AddObject(ITreeNode) TreeView.ClearObjects() TreeView.Remove(ITreeNode) TreeView.AddObjects(IEnumerable) TreeView.RefreshObject(ITreeNode, Boolean) TreeView.RebuildTree() TreeView.GetChildren(ITreeNode) TreeView.GetParent(ITreeNode) TreeView.Redraw(Rect) TreeView.GetScrollOffsetOf(ITreeNode) TreeView.GetContentWidth(Boolean) TreeView.ProcessKey(KeyEvent) TreeView.ActivateSelectedObjectIfAny() TreeView.AdjustSelectionToNextItemBeginningWith(Char, StringComparison) TreeView.MovePageUp(Boolean) TreeView.MovePageDown(Boolean) TreeView.ScrollDown() TreeView.ScrollUp() TreeView.OnObjectActivated(ObjectActivatedEventArgs) TreeView.MouseEvent(MouseEvent) TreeView.PositionCursor() TreeView.CursorLeft(Boolean) TreeView.GoToFirst() TreeView.GoToEnd() TreeView.GoTo(ITreeNode) TreeView.AdjustSelection(Int32, Boolean) TreeView.AdjustSelectionToBranchStart() TreeView.AdjustSelectionToBranchEnd() TreeView.EnsureVisible(ITreeNode) TreeView.Expand() TreeView.Expand(ITreeNode) TreeView.ExpandAll(ITreeNode) TreeView.ExpandAll() TreeView.CanExpand(ITreeNode) TreeView.IsExpanded(ITreeNode) TreeView.Collapse() TreeView.Collapse(ITreeNode) TreeView.CollapseAll(ITreeNode) TreeView.CollapseAll() TreeView.CollapseImpl(ITreeNode, Boolean) TreeView.InvalidateLineMap() TreeView.IsSelected(ITreeNode) TreeView.GetAllSelectedObjects() TreeView.SelectAll() TreeView.OnSelectionChanged(SelectionChangedEventArgs) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : TreeView, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView Constructors TreeView() Creates a new instance of the tree control with absolute positioning and initialises TreeBuilder with default ITreeNode based builder Declaration public TreeView() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" }, "api/Terminal.Gui/Terminal.Gui.TreeView-1.html": { "href": "api/Terminal.Gui/Terminal.Gui.TreeView-1.html", "title": "Class TreeView", - "keywords": "Class TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . Inheritance System.Object Responder View TreeView TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView where T : class Type Parameters Name Description T Constructors TreeView() Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Children will not be rendered until you set TreeBuilder Declaration public TreeView() TreeView(ITreeBuilder) Initialises TreeBuilder .Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Declaration public TreeView(ITreeBuilder builder) Parameters Type Name Description ITreeBuilder builder Fields NoBuilderError Error message to display when the control is not properly initialized at draw time (nodes added but no tree builder set) Declaration public static ustring NoBuilderError Field Value Type Description NStack.ustring Properties AllowLetterBasedNavigation True makes a letter key press navigate to the next visible branch that begins with that letter/digit Declaration public bool AllowLetterBasedNavigation { get; set; } Property Value Type Description System.Boolean AspectGetter Returns the string representation of model objects hosted in the tree. Default implementation is to call System.Object.ToString() Declaration public AspectGetterDelegate AspectGetter { get; set; } Property Value Type Description AspectGetterDelegate ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the tree is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean ObjectActivationButton Mouse event to trigger ObjectActivated . Defaults to double click ( Button1DoubleClicked ). Set to null to disable this feature. Declaration public MouseFlags? ObjectActivationButton { get; set; } Property Value Type Description System.Nullable < MouseFlags > ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key Objects The root objects in the tree, note that this collection is of root objects only Declaration public IEnumerable Objects { get; } Property Value Type Description System.Collections.Generic.IEnumerable ScrollOffsetHorizontal The amount of tree view that has been scrolled to the right (horizontally) Declaration public int ScrollOffsetHorizontal { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() ScrollOffsetVertical The amount of tree view that has been scrolled off the top of the screen (by the user scrolling down) Declaration public int ScrollOffsetVertical { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() SelectedObject The currently selected object in the tree. When MultiSelect is true this is the object at which the cursor is at Declaration public T SelectedObject { get; set; } Property Value Type Description T Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle TreeBuilder Determines how sub branches of the tree are dynamically built at runtime as the user expands root nodes Declaration public ITreeBuilder TreeBuilder { get; set; } Property Value Type Description ITreeBuilder Methods ActivateSelectedObjectIfAny() Triggers the ObjectActivated event with the SelectedObject . This method also ensures that the selected object is visible Declaration public void ActivateSelectedObjectIfAny() AddObject(T) Adds a new root level object unless it is already a root of the tree Declaration public void AddObject(T o) Parameters Type Name Description T o AddObjects(IEnumerable) Adds many new root level objects. Objects that are already root objects are ignored Declaration public void AddObjects(IEnumerable collection) Parameters Type Name Description System.Collections.Generic.IEnumerable collection Objects to add as new root level objects AdjustSelection(Int32, Boolean) The number of screen lines to move the currently selected object by. Supports negative offset . Each branch occupies 1 line on screen Declaration public void AdjustSelection(int offset, bool expandSelection = false) Parameters Type Name Description System.Int32 offset Positive to move the selection down the screen, negative to move it up System.Boolean expandSelection True to expand the selection (assuming MultiSelect is enabled). False to replace Remarks If nothing is currently selected or the selected object is no longer in the tree then the first object in the tree is selected instead AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() AdjustSelectionToNextItemBeginningWith(Char, StringComparison) Moves the SelectedObject to the next item that begins with character This method will loop back to the start of the tree if reaching the end without finding a match Declaration public void AdjustSelectionToNextItemBeginningWith(char character, StringComparison caseSensitivity = StringComparison.CurrentCultureIgnoreCase) Parameters Type Name Description System.Char character The first character of the next item you want selected System.StringComparison caseSensitivity Case sensitivity of the search CanExpand(T) Returns true if the given object o is exposed in the tree and can be expanded otherwise false Declaration public bool CanExpand(T o) Parameters Type Name Description T o Returns Type Description System.Boolean ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() Collapse() Collapses the SelectedObject Declaration public void Collapse() Collapse(T) Collapses the supplied object if it is currently expanded Declaration public void Collapse(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() CollapseAll(T) Collapses the supplied object if it is currently expanded. Also collapses all children branches (this will only become apparent when/if the user expands it again) Declaration public void CollapseAll(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseImpl(T, Boolean) Implementation of Collapse(T) and CollapseAll(T) . Performs operation and updates selection if disapeared Declaration protected void CollapseImpl(T toCollapse, bool all) Parameters Type Name Description T toCollapse System.Boolean all CursorLeft(Boolean) Determines systems behaviour when the left arrow key is pressed. Default behaviour is to collapse the current tree node if possible otherwise changes selection to current branches parent Declaration protected virtual void CursorLeft(bool ctrl) Parameters Type Name Description System.Boolean ctrl EnsureVisible(T) Adjusts the ScrollOffsetVertical to ensure the given model is visible. Has no effect if already visible Declaration public void EnsureVisible(T model) Parameters Type Name Description T model Expand() Expands the currently SelectedObject Declaration public void Expand() Expand(T) Expands the supplied object if it is contained in the tree (either as a root object or as an exposed branch object) Declaration public void Expand(T toExpand) Parameters Type Name Description T toExpand The object to expand ExpandAll() Fully expands all nodes in the tree, if the tree is very big and built dynamically this may take a while (e.g. for file system) Declaration public void ExpandAll() ExpandAll(T) Expands the supplied object and all child objects Declaration public void ExpandAll(T toExpand) Parameters Type Name Description T toExpand The object to expand GetAllSelectedObjects() Returns SelectedObject (if not null) and all multi selected objects if MultiSelect is true Declaration public IEnumerable GetAllSelectedObjects() Returns Type Description System.Collections.Generic.IEnumerable GetChildren(T) Returns the currently expanded children of the passed object. Returns an empty collection if the branch is not exposed or not expanded Declaration public IEnumerable GetChildren(T o) Parameters Type Name Description T o An object in the tree Returns Type Description System.Collections.Generic.IEnumerable GetContentWidth(Boolean) Returns the maximum width line in the tree including prefix and expansion symbols Declaration public int GetContentWidth(bool visible) Parameters Type Name Description System.Boolean visible True to consider only rows currently visible (based on window bounds and ScrollOffsetVertical . False to calculate the width of every exposed branch in the tree Returns Type Description System.Int32 GetParent(T) Returns the parent object of o in the tree. Returns null if the object is not exposed in the tree Declaration public T GetParent(T o) Parameters Type Name Description T o An object in the tree Returns Type Description T GetScrollOffsetOf(T) Returns the index of the object o if it is currently exposed (it's parent(s) have been expanded). This can be used with ScrollOffsetVertical and SetNeedsDisplay() to scroll to a specific object Declaration public int GetScrollOffsetOf(T o) Parameters Type Name Description T o An object that appears in your tree and is currently exposed Returns Type Description System.Int32 The index the object was found at or -1 if it is not currently revealed or not in the tree at all Remarks Uses the Equals method and returns the first index at which the object is found or -1 if it is not found GoTo(T) Changes the SelectedObject to toSelect and scrolls to ensure it is visible. Has no effect if toSelect is not exposed in the tree (e.g. its parents are collapsed) Declaration public void GoTo(T toSelect) Parameters Type Name Description T toSelect GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() IsExpanded(T) Returns true if the given object o is exposed in the tree and expanded otherwise false Declaration public bool IsExpanded(T o) Parameters Type Name Description T o Returns Type Description System.Boolean IsSelected(T) Returns true if the model is either the SelectedObject or part of a MultiSelect Declaration public bool IsSelected(T model) Parameters Type Name Description T model Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MovePageDown(Boolean) Moves the selection down by the height of the control (1 page). Declaration public void MovePageDown(bool expandSelection = false) Parameters Type Name Description System.Boolean expandSelection True if the navigation should add the covered nodes to the selected current selection Exceptions Type Condition System.NotImplementedException MovePageUp(Boolean) Moves the selection up by the height of the control (1 page). Declaration public void MovePageUp(bool expandSelection = false) Parameters Type Name Description System.Boolean expandSelection True if the navigation should add the covered nodes to the selected current selection Exceptions Type Condition System.NotImplementedException OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) RebuildTree() Rebuilds the tree structure for all exposed objects starting with the root objects. Call this method when you know there are changes to the tree but don't know which objects have changed (otherwise use RefreshObject(T, Boolean) ) Declaration public void RebuildTree() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RefreshObject(T, Boolean) Refreshes the state of the object o in the tree. This will recompute children, string representation etc Declaration public void RefreshObject(T o, bool startAtTop = false) Parameters Type Name Description T o System.Boolean startAtTop True to also refresh all ancestors of the objects branch (starting with the root). False to refresh only the passed node Remarks This has no effect if the object is not exposed in the tree. Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o Remarks If o is the currently SelectedObject then the selection is cleared ScrollDown() Scrolls the view area down a single line without changing the current selection Declaration public void ScrollDown() ScrollUp() Scrolls the view area up a single line without changing the current selection Declaration public void ScrollUp() SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events ObjectActivated This event is raised when an object is activated e.g. by double clicking or pressing ObjectActivationKey Declaration public event Action> ObjectActivated Event Type Type Description System.Action < ObjectActivatedEventArgs > SelectionChanged Called when the SelectedObject changes Declaration public event EventHandler> SelectionChanged Event Type Type Description System.EventHandler < SelectionChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" + "keywords": "Class TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . Inheritance System.Object Responder View TreeView TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView where T : class Type Parameters Name Description T Constructors TreeView() Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Children will not be rendered until you set TreeBuilder Declaration public TreeView() TreeView(ITreeBuilder) Initialises TreeBuilder .Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Declaration public TreeView(ITreeBuilder builder) Parameters Type Name Description ITreeBuilder builder Fields NoBuilderError Error message to display when the control is not properly initialized at draw time (nodes added but no tree builder set) Declaration public static ustring NoBuilderError Field Value Type Description NStack.ustring Properties AllowLetterBasedNavigation True makes a letter key press navigate to the next visible branch that begins with that letter/digit Declaration public bool AllowLetterBasedNavigation { get; set; } Property Value Type Description System.Boolean AspectGetter Returns the string representation of model objects hosted in the tree. Default implementation is to call System.Object.ToString() Declaration public AspectGetterDelegate AspectGetter { get; set; } Property Value Type Description AspectGetterDelegate ColorGetter Delegate for multi colored tree views. Return the ColorScheme to use for each passed object or null to use the default. Declaration public Func ColorGetter { get; set; } Property Value Type Description System.Func ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the tree is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean ObjectActivationButton Mouse event to trigger ObjectActivated . Defaults to double click ( Button1DoubleClicked ). Set to null to disable this feature. Declaration public MouseFlags? ObjectActivationButton { get; set; } Property Value Type Description System.Nullable < MouseFlags > ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key Objects The root objects in the tree, note that this collection is of root objects only Declaration public IEnumerable Objects { get; } Property Value Type Description System.Collections.Generic.IEnumerable ScrollOffsetHorizontal The amount of tree view that has been scrolled to the right (horizontally) Declaration public int ScrollOffsetHorizontal { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() ScrollOffsetVertical The amount of tree view that has been scrolled off the top of the screen (by the user scrolling down) Declaration public int ScrollOffsetVertical { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() SelectedObject The currently selected object in the tree. When MultiSelect is true this is the object at which the cursor is at Declaration public T SelectedObject { get; set; } Property Value Type Description T Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle TreeBuilder Determines how sub branches of the tree are dynamically built at runtime as the user expands root nodes Declaration public ITreeBuilder TreeBuilder { get; set; } Property Value Type Description ITreeBuilder Methods ActivateSelectedObjectIfAny() Triggers the ObjectActivated event with the SelectedObject . This method also ensures that the selected object is visible Declaration public void ActivateSelectedObjectIfAny() AddObject(T) Adds a new root level object unless it is already a root of the tree Declaration public void AddObject(T o) Parameters Type Name Description T o AddObjects(IEnumerable) Adds many new root level objects. Objects that are already root objects are ignored Declaration public void AddObjects(IEnumerable collection) Parameters Type Name Description System.Collections.Generic.IEnumerable collection Objects to add as new root level objects AdjustSelection(Int32, Boolean) The number of screen lines to move the currently selected object by. Supports negative offset . Each branch occupies 1 line on screen Declaration public void AdjustSelection(int offset, bool expandSelection = false) Parameters Type Name Description System.Int32 offset Positive to move the selection down the screen, negative to move it up System.Boolean expandSelection True to expand the selection (assuming MultiSelect is enabled). False to replace Remarks If nothing is currently selected or the selected object is no longer in the tree then the first object in the tree is selected instead AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() AdjustSelectionToNextItemBeginningWith(Char, StringComparison) Moves the SelectedObject to the next item that begins with character This method will loop back to the start of the tree if reaching the end without finding a match Declaration public void AdjustSelectionToNextItemBeginningWith(char character, StringComparison caseSensitivity = StringComparison.CurrentCultureIgnoreCase) Parameters Type Name Description System.Char character The first character of the next item you want selected System.StringComparison caseSensitivity Case sensitivity of the search CanExpand(T) Returns true if the given object o is exposed in the tree and can be expanded otherwise false Declaration public bool CanExpand(T o) Parameters Type Name Description T o Returns Type Description System.Boolean ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() Collapse() Collapses the SelectedObject Declaration public void Collapse() Collapse(T) Collapses the supplied object if it is currently expanded Declaration public void Collapse(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() CollapseAll(T) Collapses the supplied object if it is currently expanded. Also collapses all children branches (this will only become apparent when/if the user expands it again) Declaration public void CollapseAll(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseImpl(T, Boolean) Implementation of Collapse(T) and CollapseAll(T) . Performs operation and updates selection if disapeared Declaration protected void CollapseImpl(T toCollapse, bool all) Parameters Type Name Description T toCollapse System.Boolean all CursorLeft(Boolean) Determines systems behaviour when the left arrow key is pressed. Default behaviour is to collapse the current tree node if possible otherwise changes selection to current branches parent Declaration protected virtual void CursorLeft(bool ctrl) Parameters Type Name Description System.Boolean ctrl EnsureVisible(T) Adjusts the ScrollOffsetVertical to ensure the given model is visible. Has no effect if already visible Declaration public void EnsureVisible(T model) Parameters Type Name Description T model Expand() Expands the currently SelectedObject Declaration public void Expand() Expand(T) Expands the supplied object if it is contained in the tree (either as a root object or as an exposed branch object) Declaration public void Expand(T toExpand) Parameters Type Name Description T toExpand The object to expand ExpandAll() Fully expands all nodes in the tree, if the tree is very big and built dynamically this may take a while (e.g. for file system) Declaration public void ExpandAll() ExpandAll(T) Expands the supplied object and all child objects Declaration public void ExpandAll(T toExpand) Parameters Type Name Description T toExpand The object to expand GetAllSelectedObjects() Returns SelectedObject (if not null) and all multi selected objects if MultiSelect is true Declaration public IEnumerable GetAllSelectedObjects() Returns Type Description System.Collections.Generic.IEnumerable GetChildren(T) Returns the currently expanded children of the passed object. Returns an empty collection if the branch is not exposed or not expanded Declaration public IEnumerable GetChildren(T o) Parameters Type Name Description T o An object in the tree Returns Type Description System.Collections.Generic.IEnumerable GetContentWidth(Boolean) Returns the maximum width line in the tree including prefix and expansion symbols Declaration public int GetContentWidth(bool visible) Parameters Type Name Description System.Boolean visible True to consider only rows currently visible (based on window bounds and ScrollOffsetVertical . False to calculate the width of every exposed branch in the tree Returns Type Description System.Int32 GetParent(T) Returns the parent object of o in the tree. Returns null if the object is not exposed in the tree Declaration public T GetParent(T o) Parameters Type Name Description T o An object in the tree Returns Type Description T GetScrollOffsetOf(T) Returns the index of the object o if it is currently exposed (it's parent(s) have been expanded). This can be used with ScrollOffsetVertical and SetNeedsDisplay() to scroll to a specific object Declaration public int GetScrollOffsetOf(T o) Parameters Type Name Description T o An object that appears in your tree and is currently exposed Returns Type Description System.Int32 The index the object was found at or -1 if it is not currently revealed or not in the tree at all Remarks Uses the Equals method and returns the first index at which the object is found or -1 if it is not found GoTo(T) Changes the SelectedObject to toSelect and scrolls to ensure it is visible. Has no effect if toSelect is not exposed in the tree (e.g. its parents are collapsed) Declaration public void GoTo(T toSelect) Parameters Type Name Description T toSelect GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() IsExpanded(T) Returns true if the given object o is exposed in the tree and expanded otherwise false Declaration public bool IsExpanded(T o) Parameters Type Name Description T o Returns Type Description System.Boolean IsSelected(T) Returns true if the model is either the SelectedObject or part of a MultiSelect Declaration public bool IsSelected(T model) Parameters Type Name Description T model Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MovePageDown(Boolean) Moves the selection down by the height of the control (1 page). Declaration public void MovePageDown(bool expandSelection = false) Parameters Type Name Description System.Boolean expandSelection True if the navigation should add the covered nodes to the selected current selection Exceptions Type Condition System.NotImplementedException MovePageUp(Boolean) Moves the selection up by the height of the control (1 page). Declaration public void MovePageUp(bool expandSelection = false) Parameters Type Name Description System.Boolean expandSelection True if the navigation should add the covered nodes to the selected current selection Exceptions Type Condition System.NotImplementedException OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) RebuildTree() Rebuilds the tree structure for all exposed objects starting with the root objects. Call this method when you know there are changes to the tree but don't know which objects have changed (otherwise use RefreshObject(T, Boolean) ) Declaration public void RebuildTree() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RefreshObject(T, Boolean) Refreshes the state of the object o in the tree. This will recompute children, string representation etc Declaration public void RefreshObject(T o, bool startAtTop = false) Parameters Type Name Description T o System.Boolean startAtTop True to also refresh all ancestors of the objects branch (starting with the root). False to refresh only the passed node Remarks This has no effect if the object is not exposed in the tree. Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o Remarks If o is the currently SelectedObject then the selection is cleared ScrollDown() Scrolls the view area down a single line without changing the current selection Declaration public void ScrollDown() ScrollUp() Scrolls the view area up a single line without changing the current selection Declaration public void ScrollUp() SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events ObjectActivated This event is raised when an object is activated e.g. by double clicking or pressing ObjectActivationKey Declaration public event Action> ObjectActivated Event Type Type Description System.Action < ObjectActivatedEventArgs > SelectionChanged Called when the SelectedObject changes Declaration public event EventHandler> SelectionChanged Event Type Type Description System.EventHandler < SelectionChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" }, "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html": { "href": "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html", @@ -742,7 +752,7 @@ "api/Terminal.Gui/Terminal.Gui.View.html": { "href": "api/Terminal.Gui/Terminal.Gui.View.html", "title": "Class View", - "keywords": "Class View 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. Inheritance System.Object Responder View Button CheckBox ComboBox FrameView GraphView HexView Label ListView MenuBar PanelView ProgressBar RadioGroup ScrollBarView ScrollView StatusBar TableView TabView TextField TextValidateField TextView Toplevel TreeView LineView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class View : Responder, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The View defines the base functionality for user interface elements in Terminal.Gui. Views can contain one or more subviews, can respond to user input and render themselves on the screen. Views supports two layout styles: Absolute or Computed. The choice as to which layout style is used by the View is determined when the View is initialized. To create a View using Absolute layout, call a constructor that takes a Rect parameter to specify the absolute position and size (the View. Frame )/. To create a View using Computed layout use a constructor that does not take a Rect parameter and set the X, Y, Width and Height properties on the view. Both approaches use coordinates that are relative to the container they are being added to. To switch between Absolute and Computed layout, use the LayoutStyle property. Computed layout is more flexible and supports dynamic console apps where controls adjust layout as the terminal resizes or other Views change size or position. The X, Y, Width and Height properties are Dim and Pos objects that dynamically update the position of a view. The X and Y properties are of type Pos and you can use either absolute positions, percentages or anchor points. The Width and Height properties are of type Dim and can use absolute position, percentages and anchors. These are useful as they will take care of repositioning views when view's frames are resized or if the terminal size changes. Absolute layout requires specifying coordinates and sizes of Views explicitly, and the View will typically stay in a fixed position and size. To change the position and size use the Frame property. Subviews (child views) can be added to a View by calling the Add(View) method. The container of a View can be accessed with the SuperView property. To flag a region of the View's Bounds to be redrawn call SetNeedsDisplay(Rect) . To flag the entire view for redraw call SetNeedsDisplay() . Views have a ColorScheme property that defines the default colors that subviews should use for rendering. This ensures that the views fit in the context where they are being used, and allows for themes to be plugged in. For example, the default colors for windows and toplevels uses a blue background, while it uses a white background for dialog boxes and a red background for errors. Subclasses should not rely on ColorScheme being set at construction time. If a ColorScheme is not set on a view, the view will inherit the value from its SuperView and the value might only be valid once a view has been added to a SuperView. By using ColorScheme applications will work both in color as well as black and white displays. Views that are focusable should implement the PositionCursor() to make sure that the cursor is placed in a location that makes sense. Unix terminals do not have a way of hiding the cursor, so it can be distracting to have the cursor left at the last focused view. So views should make sure that they place the cursor in a visually sensible place. The LayoutSubviews() method is invoked when the size or layout of a view has changed. The default processing system will keep the size and dimensions for views that use the Absolute , and will recompute the frames for the vies that use Computed . Constructors View() Initializes a new instance of View using Computed layout. Declaration public View() Remarks Use X , Y , Width , and Height properties to dynamically control the size and location of the view. The Label will be created using Computed coordinates. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. This constructor initialize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. View(ustring, TextDirection, Border) Initializes a new instance of View using Computed layout. Declaration public View(ustring text, TextDirection direction = TextDirection.LeftRight_TopBottom, Border border = null) Parameters Type Name Description NStack.ustring text text to initialize the Text property with. TextDirection direction The text direction. Border border The Border . Remarks The View will be created using Computed coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. View(Int32, Int32, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(int x, int y, ustring text) Parameters Type Name Description System.Int32 x column to locate the Label. System.Int32 y row to locate the Label. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. No line wrapping is provided. View(Rect) Initializes a new instance of a Absolute View class with the absolute dimensions specified in the frame parameter. Declaration public View(Rect frame) Parameters Type Name Description Rect frame The region covered by this view. Remarks This constructor initialize a View with a LayoutStyle of Absolute . Use View() to initialize a View with LayoutStyle of Computed View(Rect, ustring, Border) Initializes a new instance of View using Absolute layout. Declaration public View(Rect rect, ustring text, Border border = null) Parameters Type Name Description Rect rect Location. NStack.ustring text text to initialize the Text property with. Border border The Border . Remarks The View will be created at the given coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If rect.Height is greater than one, word wrapping is provided. Properties AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean Border Declaration public virtual Border Border { get; set; } Property Value Type Description Border Bounds The bounds represent the View-relative rectangle used for this view; the area inside of the view. Declaration public Rect Bounds { get; set; } Property Value Type Description Rect The bounds. Remarks Updates to the Bounds update the Frame , and has the same side effects as updating the Frame . Because Bounds coordinates are relative to the upper-left corner of the View , the coordinates of the upper-left corner of the rectangle returned by this property are (0,0). Use this property to obtain the size and coordinates of the client area of the control for tasks such as drawing on the surface of the control. CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides Responder.CanFocus ColorScheme The color scheme for this view, if it is not defined, it returns the SuperView 's color scheme. Declaration public virtual ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object Remarks This property is not used internally. Driver Points to the current driver in use by the view, it is a convenience property for simplifying the development of new views. Declaration public static ConsoleDriver Driver { get; } Property Value Type Description ConsoleDriver Enabled Declaration public override bool Enabled { get; set; } Property Value Type Description System.Boolean Overrides Responder.Enabled Focused Returns the currently focused view inside this view, or null if nothing is focused. Declaration public View Focused { get; } Property Value Type Description View The focused. Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public virtual Rect Frame { get; set; } Property Value Type Description Rect The frame. Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . HasFocus Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean Overrides Responder.HasFocus Height Gets or sets the height of the view. Only used the LayoutStyle is Computed . Declaration public Dim Height { get; set; } Property Value Type Description Dim The height. HotKey Gets or sets the HotKey defined for this view. A user pressing HotKey on the keyboard while this view has focus will cause the Clicked event to fire. Declaration public virtual Key HotKey { get; set; } Property Value Type Description Key HotKeySpecifier Gets or sets the specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public virtual Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. Remarks The id should be unique across all Views that share a SuperView. IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean IsInitialized Get or sets if the View was already initialized. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public virtual bool IsInitialized { get; set; } Property Value Type Description System.Boolean LayoutStyle Controls how the View's Frame is computed during the LayoutSubviews method, if the style is set to Absolute , LayoutSubviews does not change the Frame . If the style is Computed the Frame is updated using the X , Y , Width , and Height properties. Declaration public LayoutStyle LayoutStyle { get; set; } Property Value Type Description LayoutStyle The layout style. MostFocused Returns the most focused view in the chain of subviews (the leaf view that has the focus). Declaration public View MostFocused { get; } Property Value Type Description View The most focused. Shortcut This is the global setting that can be used as a global shortcut to invoke an action if provided. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Subviews This returns a list of the subviews contained by this view. Declaration public IList Subviews { get; } Property Value Type Description System.Collections.Generic.IList < View > The subviews. SuperView Returns the container for this view, or null if this view has not been added to a container. Declaration public View SuperView { get; } Property Value Type Description View The super view. TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 TabIndexes This returns a tab index list of the subviews contained by this view. Declaration public IList TabIndexes { get; } Property Value Type Description System.Collections.Generic.IList < View > The tabIndexes. TabStop This only be true if the CanFocus is also true and the focus can be avoided by setting this to false Declaration public bool TabStop { get; set; } Property Value Type Description System.Boolean Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks If provided, the text will be drawn before any subviews are drawn. The text will be drawn starting at the view origin (0, 0) and will be formatted according to the TextAlignment property. If the view's height is greater than 1, the text will word-wrap to additional lines if it does not fit horizontally. If the view's height is 1, the text will be clipped. Set the HotKeySpecifier to enable hotkey support. To disable hotkey support set HotKeySpecifier to (Rune)0xffff . TextAlignment Gets or sets how the View's Text is aligned horizontally when drawn. Changing this property will redisplay the View . Declaration public virtual TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. TextDirection Gets or sets the direction of the View's Text . Changing this property will redisplay the View . Declaration public virtual TextDirection TextDirection { get; set; } Property Value Type Description TextDirection The text alignment. VerticalTextAlignment Gets or sets how the View's Text is aligned verticaly when drawn. Changing this property will redisplay the View . Declaration public virtual VerticalTextAlignment VerticalTextAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text alignment. Visible Declaration public override bool Visible { get; set; } Property Value Type Description System.Boolean Overrides Responder.Visible WantContinuousButtonPressed Gets or sets a value indicating whether this View want continuous button pressed event. Declaration public virtual bool WantContinuousButtonPressed { get; set; } Property Value Type Description System.Boolean WantMousePositionReports Gets or sets a value indicating whether this View wants mouse position reports. Declaration public virtual bool WantMousePositionReports { get; set; } Property Value Type Description System.Boolean true if want mouse position reports; otherwise, false . Width Gets or sets the width of the view. Only used the LayoutStyle is Computed . Declaration public Dim Width { get; set; } Property Value Type Description Dim The width. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. X Gets or sets the X position for the view (the column). Only used the LayoutStyle is Computed . Declaration public Pos X { get; set; } Property Value Type Description Pos The X Position. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Y Gets or sets the Y position for the view (the row). Only used the LayoutStyle is Computed . Declaration public Pos Y { get; set; } Property Value Type Description Pos The y position (line). Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Methods Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() Add(View[]) Adds the specified views (children) to the view. Declaration public void Add(params View[] views) Parameters Type Name Description View [] views Array of one or more views (can be optional parameter). Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() AddCommand(Command, Func>) States that the given View supports a given command and what f to perform to make that command happen If the command already has an implementation the f will replace the old one Declaration protected void AddCommand(Command command, Func f) Parameters Type Name Description Command command The command. System.Func < System.Nullable < System.Boolean >> f The function. AddKeyBinding(Key, Command) Adds a new key combination that will trigger the given command (if supported by the View - see GetSupportedCommands() ) If the key is already bound to a different Command it will be rebound to this one Declaration public void AddKeyBinding(Key key, Command command) Parameters Type Name Description Key key Command command AddRune(Int32, Int32, Rune) Displays the specified character in the specified column and row of the View. Declaration public void AddRune(int col, int row, Rune ch) Parameters Type Name Description System.Int32 col Column (view-relative). System.Int32 row Row (view-relative). System.Rune ch Ch. BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() BringSubviewForward(View) Moves the subview backwards in the hierarchy, only one step Declaration public void BringSubviewForward(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. BringSubviewToFront(View) Brings the specified subview to the front so it is drawn on top of any other views. Declaration public void BringSubviewToFront(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks SendSubviewToBack(View) . Clear() Clears the view region with the current color. Declaration public void Clear() Remarks This clears the entire region used by this view. Clear(Rect) Clears the specified region with the current color. Declaration public void Clear(Rect regionScreen) Parameters Type Name Description Rect regionScreen The screen-relative region to clear. Remarks ClearKeybinding(Command) Removes all key bindings that trigger the given command. Views can have multiple different keys bound to the same command and this method will clear all of them. Declaration public void ClearKeybinding(Command command) Parameters Type Name Description Command command ClearKeybinding(Key) Clears the existing keybinding (if any) for the given key Declaration public void ClearKeybinding(Key key) Parameters Type Name Description Key key ClearKeybindings() Removes all bound keys from the View making including the default key combinations such as cursor navigation, scrolling etc Declaration public void ClearKeybindings() ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() ClipToBounds() Sets the ConsoleDriver 's clip region to the current View's Bounds . Declaration public Rect ClipToBounds() Returns Type Description Rect The existing driver's clip region, which can be then re-applied by setting Driver .Clip ( Clip ). Remarks Bounds is View-relative. ContainsKeyBinding(Key) Checks if key combination already exist. Declaration public bool ContainsKeyBinding(Key key) Parameters Type Name Description Key key The key to check. Returns Type Description System.Boolean true If the key already exist, false otherwise. Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) DrawFrame(Rect, Int32, Boolean) Draws a frame in the current view, clipped by the boundary of this view Declaration public void DrawFrame(Rect region, int padding = 0, bool fill = false) Parameters Type Name Description Rect region View-relative region for the frame to be drawn. System.Int32 padding The padding to add around the outside of the drawn frame. System.Boolean fill If set to true it fill will the contents. DrawHotString(ustring, Boolean, ColorScheme) Utility function to draw strings that contains a hotkey using a ColorScheme and the \"focused\" state. Declaration public void DrawHotString(ustring text, bool focused, ColorScheme scheme) Parameters Type Name Description NStack.ustring text String to display, the underscore before a letter flags the next letter as the hotkey. System.Boolean focused If set to true this uses the focused colors from the color scheme, otherwise the regular ones. ColorScheme scheme The color scheme to use. DrawHotString(ustring, Attribute, Attribute) Utility function to draw strings that contain a hotkey. Declaration public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor) Parameters Type Name Description NStack.ustring text String to display, the hotkey specifier before a letter flags the next letter as the hotkey. Attribute hotColor Hot color. Attribute normalColor Normal color. Remarks The hotkey is any character following the hotkey specifier, which is the underscore ('_') character by default. The hotkey specifier can be changed via HotKeySpecifier EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() EnsureFocus() Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing. Declaration public void EnsureFocus() FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. GetCurrentHeight(out Int32) Calculate the height based on the Height settings. Declaration public bool GetCurrentHeight(out int currentHeight) Parameters Type Name Description System.Int32 currentHeight The real current height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. GetCurrentWidth(out Int32) Gets the current width based on the Width settings. Declaration public bool GetCurrentWidth(out int currentWidth) Parameters Type Name Description System.Int32 currentWidth The real current width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. GetKeyFromCommand(Command) Gets the key used by a command. Declaration public Key GetKeyFromCommand(Command command) Parameters Type Name Description Command command The command to search. Returns Type Description Key The Key used by a Command GetNormalColor() Determines the current ColorScheme based on the Enabled value. Declaration public Attribute GetNormalColor() Returns Type Description Attribute Normal if Enabled is true or Disabled if Enabled is false GetSupportedCommands() Returns all commands that are supported by this View Declaration public IEnumerable GetSupportedCommands() Returns Type Description System.Collections.Generic.IEnumerable < Command > GetTopSuperView() Get the top superview of a given View . Declaration public View GetTopSuperView() Returns Type Description View The superview view. InvokeKeybindings(KeyEvent) Invokes any binding that is registered on this View and matches the keyEvent Declaration protected bool? InvokeKeybindings(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent The key event passed. Returns Type Description System.Nullable < System.Boolean > LayoutSubviews() Invoked when a view starts executing or when the dimensions of the view have changed, for example in response to the container view or terminal resizing. Declaration public virtual void LayoutSubviews() Remarks Calls Terminal.Gui.View.OnLayoutComplete(Terminal.Gui.View.LayoutEventArgs) (which raises the LayoutComplete event) before it returns. Move(Int32, Int32, Boolean) This moves the cursor to the specified column and row in the view. Declaration public void Move(int col, int row, bool clipped = true) Parameters Type Name Description System.Int32 col Col. System.Int32 row Row. System.Boolean clipped Whether to clip the result of the ViewToScreen method, if set to true , the col, row values are clamped to the screen (terminal) dimensions (0..TerminalDim-1). OnAdded(View) Method invoked when a subview is being added to this view. Declaration public virtual void OnAdded(View view) Parameters Type Name Description View view The subview being added. OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides Responder.OnCanFocusChanged() OnDrawContent(Rect) Enables overrides to draw infinitely scrolled content and/or a background behind added controls. Declaration public virtual void OnDrawContent(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called before any subviews added with Add(View) have been drawn. OnDrawContentComplete(Rect) Enables overrides after completed drawing infinitely scrolled content and/or a background behind removed controls. Declaration public virtual void OnDrawContentComplete(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called after any subviews removed with Remove(View) have been completed drawing. OnEnabledChanged() Declaration public override void OnEnabledChanged() Overrides Responder.OnEnabledChanged() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnLeave(View) OnMouseClick(View.MouseEventArgs) Invokes the MouseClick event. Declaration protected bool OnMouseClick(View.MouseEventArgs args) Parameters Type Name Description View.MouseEventArgs args Returns Type Description System.Boolean OnMouseEnter(MouseEvent) Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseEnter(MouseEvent) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public virtual bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. OnMouseLeave(MouseEvent) Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseLeave(MouseEvent) OnRemoved(View) Method invoked when a subview is being removed from this view. Declaration public virtual void OnRemoved(View view) Parameters Type Name Description View view The subview being removed. OnVisibleChanged() Declaration public override void OnVisibleChanged() Overrides Responder.OnVisibleChanged() PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public virtual void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public virtual void Remove(View view) Parameters Type Name Description View view Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() ReplaceKeyBinding(Key, Key) Replaces a key combination already bound to Command . Declaration protected void ReplaceKeyBinding(Key fromKey, Key toKey) Parameters Type Name Description Key fromKey The key to be replaced. Key toKey The new key to be used. ScreenToView(Int32, Int32) Converts a point from screen-relative coordinates to view-relative coordinates. Declaration public Point ScreenToView(int x, int y) Parameters Type Name Description System.Int32 x X screen-coordinate point. System.Int32 y Y screen-coordinate point. Returns Type Description Point The mapped point. SendSubviewBackwards(View) Moves the subview backwards in the hierarchy, only one step Declaration public void SendSubviewBackwards(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. SendSubviewToBack(View) Sends the specified subview to the front so it is the first view drawn Declaration public void SendSubviewToBack(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks BringSubviewToFront(View) . SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() SetClip(Rect) Sets the clip region to the specified view-relative region. Declaration public Rect SetClip(Rect region) Parameters Type Name Description Rect region View-relative clip region. Returns Type Description Rect The previous screen-relative clip region. SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() SetHeight(Int32, out Int32) Calculate the height based on the Height settings. Declaration public bool SetHeight(int desiredHeight, out int resultHeight) Parameters Type Name Description System.Int32 desiredHeight The desired height. System.Int32 resultHeight The real result height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() SetNeedsDisplay(Rect) Flags the view-relative region on this View as needing to be repainted. Declaration public void SetNeedsDisplay(Rect region) Parameters Type Name Description Rect region The view-relative region that must be flagged for repaint. SetWidth(Int32, out Int32) Calculate the width based on the Width settings. Declaration public bool SetWidth(int desiredWidth, out int resultWidth) Parameters Type Name Description System.Int32 desiredWidth The desired width. System.Int32 resultWidth The real result width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Events Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > CanFocusChanged Event fired when the CanFocus value is being changed. Declaration public event Action CanFocusChanged Event Type Type Description System.Action DrawContent Event invoked when the content area of the View is to be drawn. Declaration public event Action DrawContent Event Type Type Description System.Action < Rect > Remarks Will be invoked before any subviews added with Add(View) have been drawn. Rect provides the view-relative rectangle describing the currently visible viewport into the View . DrawContentComplete Event invoked when the content area of the View is completed drawing. Declaration public event Action DrawContentComplete Event Type Type Description System.Action < Rect > Remarks Will be invoked after any subviews removed with Remove(View) have been completed drawing. Rect provides the view-relative rectangle describing the currently visible viewport into the View . EnabledChanged Event fired when the Enabled value is being changed. Declaration public event Action EnabledChanged Event Type Type Description System.Action Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key > Initialized Event called only once when the View is being initialized for the first time. Allows configurations and assignments to be performed before the View being shown. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public event EventHandler Initialized Event Type Type Description System.EventHandler KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > KeyPress Invoked when a character key is pressed and occurs after the key up event. Declaration public event Action KeyPress Event Type Type Description System.Action < View.KeyEventEventArgs > KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > MouseEnter Event fired when the view receives the mouse event for the first time. Declaration public event Action MouseEnter Event Type Type Description System.Action < View.MouseEventArgs > MouseLeave Event fired when the view receives a mouse event for the last time. Declaration public event Action MouseLeave Event Type Type Description System.Action < View.MouseEventArgs > Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > VisibleChanged Event fired when the Visible value is being changed. Declaration public event Action VisibleChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class View 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. Inheritance System.Object Responder View Button CheckBox ColorPicker ComboBox FrameView GraphView HexView Label LineView ListView MenuBar PanelView ProgressBar RadioGroup ScrollBarView ScrollView StatusBar TableView TabView TextField TextValidateField TextView Toplevel TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class View : Responder, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The View defines the base functionality for user interface elements in Terminal.Gui. Views can contain one or more subviews, can respond to user input and render themselves on the screen. Views supports two layout styles: Absolute or Computed. The choice as to which layout style is used by the View is determined when the View is initialized. To create a View using Absolute layout, call a constructor that takes a Rect parameter to specify the absolute position and size (the View. Frame )/. To create a View using Computed layout use a constructor that does not take a Rect parameter and set the X, Y, Width and Height properties on the view. Both approaches use coordinates that are relative to the container they are being added to. To switch between Absolute and Computed layout, use the LayoutStyle property. Computed layout is more flexible and supports dynamic console apps where controls adjust layout as the terminal resizes or other Views change size or position. The X, Y, Width and Height properties are Dim and Pos objects that dynamically update the position of a view. The X and Y properties are of type Pos and you can use either absolute positions, percentages or anchor points. The Width and Height properties are of type Dim and can use absolute position, percentages and anchors. These are useful as they will take care of repositioning views when view's frames are resized or if the terminal size changes. Absolute layout requires specifying coordinates and sizes of Views explicitly, and the View will typically stay in a fixed position and size. To change the position and size use the Frame property. Subviews (child views) can be added to a View by calling the Add(View) method. The container of a View can be accessed with the SuperView property. To flag a region of the View's Bounds to be redrawn call SetNeedsDisplay(Rect) . To flag the entire view for redraw call SetNeedsDisplay() . Views have a ColorScheme property that defines the default colors that subviews should use for rendering. This ensures that the views fit in the context where they are being used, and allows for themes to be plugged in. For example, the default colors for windows and toplevels uses a blue background, while it uses a white background for dialog boxes and a red background for errors. Subclasses should not rely on ColorScheme being set at construction time. If a ColorScheme is not set on a view, the view will inherit the value from its SuperView and the value might only be valid once a view has been added to a SuperView. By using ColorScheme applications will work both in color as well as black and white displays. Views that are focusable should implement the PositionCursor() to make sure that the cursor is placed in a location that makes sense. Unix terminals do not have a way of hiding the cursor, so it can be distracting to have the cursor left at the last focused view. So views should make sure that they place the cursor in a visually sensible place. The LayoutSubviews() method is invoked when the size or layout of a view has changed. The default processing system will keep the size and dimensions for views that use the Absolute , and will recompute the frames for the vies that use Computed . Constructors View() Initializes a new instance of View using Computed layout. Declaration public View() Remarks Use X , Y , Width , and Height properties to dynamically control the size and location of the view. The Label will be created using Computed coordinates. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. This constructor initialize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. View(ustring, TextDirection, Border) Initializes a new instance of View using Computed layout. Declaration public View(ustring text, TextDirection direction = TextDirection.LeftRight_TopBottom, Border border = null) Parameters Type Name Description NStack.ustring text text to initialize the Text property with. TextDirection direction The text direction. Border border The Border . Remarks The View will be created using Computed coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. View(Int32, Int32, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(int x, int y, ustring text) Parameters Type Name Description System.Int32 x column to locate the Label. System.Int32 y row to locate the Label. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. No line wrapping is provided. View(Rect) Initializes a new instance of a Absolute View class with the absolute dimensions specified in the frame parameter. Declaration public View(Rect frame) Parameters Type Name Description Rect frame The region covered by this view. Remarks This constructor initialize a View with a LayoutStyle of Absolute . Use View() to initialize a View with LayoutStyle of Computed View(Rect, ustring, Border) Initializes a new instance of View using Absolute layout. Declaration public View(Rect rect, ustring text, Border border = null) Parameters Type Name Description Rect rect Location. NStack.ustring text text to initialize the Text property with. Border border The Border . Remarks The View will be created at the given coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If rect.Height is greater than one, word wrapping is provided. Properties AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean Border Declaration public virtual Border Border { get; set; } Property Value Type Description Border Bounds The bounds represent the View-relative rectangle used for this view; the area inside of the view. Declaration public Rect Bounds { get; set; } Property Value Type Description Rect The bounds. Remarks Updates to the Bounds update the Frame , and has the same side effects as updating the Frame . Because Bounds coordinates are relative to the upper-left corner of the View , the coordinates of the upper-left corner of the rectangle returned by this property are (0,0). Use this property to obtain the size and coordinates of the client area of the control for tasks such as drawing on the surface of the control. CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides Responder.CanFocus ColorScheme The color scheme for this view, if it is not defined, it returns the SuperView 's color scheme. Declaration public virtual ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object Remarks This property is not used internally. Driver Points to the current driver in use by the view, it is a convenience property for simplifying the development of new views. Declaration public static ConsoleDriver Driver { get; } Property Value Type Description ConsoleDriver Enabled Declaration public override bool Enabled { get; set; } Property Value Type Description System.Boolean Overrides Responder.Enabled Focused Returns the currently focused view inside this view, or null if nothing is focused. Declaration public View Focused { get; } Property Value Type Description View The focused. Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public virtual Rect Frame { get; set; } Property Value Type Description Rect The frame. Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . HasFocus Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean Overrides Responder.HasFocus Height Gets or sets the height of the view. Only used the LayoutStyle is Computed . Declaration public Dim Height { get; set; } Property Value Type Description Dim The height. HotKey Gets or sets the HotKey defined for this view. A user pressing HotKey on the keyboard while this view has focus will cause the Clicked event to fire. Declaration public virtual Key HotKey { get; set; } Property Value Type Description Key HotKeySpecifier Gets or sets the specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public virtual Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. Remarks The id should be unique across all Views that share a SuperView. IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean IsInitialized Get or sets if the View was already initialized. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public virtual bool IsInitialized { get; set; } Property Value Type Description System.Boolean LayoutStyle Controls how the View's Frame is computed during the LayoutSubviews method, if the style is set to Absolute , LayoutSubviews does not change the Frame . If the style is Computed the Frame is updated using the X , Y , Width , and Height properties. Declaration public LayoutStyle LayoutStyle { get; set; } Property Value Type Description LayoutStyle The layout style. MostFocused Returns the most focused view in the chain of subviews (the leaf view that has the focus). Declaration public View MostFocused { get; } Property Value Type Description View The most focused. Shortcut This is the global setting that can be used as a global shortcut to invoke an action if provided. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Subviews This returns a list of the subviews contained by this view. Declaration public IList Subviews { get; } Property Value Type Description System.Collections.Generic.IList < View > The subviews. SuperView Returns the container for this view, or null if this view has not been added to a container. Declaration public View SuperView { get; } Property Value Type Description View The super view. TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 TabIndexes This returns a tab index list of the subviews contained by this view. Declaration public IList TabIndexes { get; } Property Value Type Description System.Collections.Generic.IList < View > The tabIndexes. TabStop This only be true if the CanFocus is also true and the focus can be avoided by setting this to false Declaration public bool TabStop { get; set; } Property Value Type Description System.Boolean Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks If provided, the text will be drawn before any subviews are drawn. The text will be drawn starting at the view origin (0, 0) and will be formatted according to the TextAlignment property. If the view's height is greater than 1, the text will word-wrap to additional lines if it does not fit horizontally. If the view's height is 1, the text will be clipped. Set the HotKeySpecifier to enable hotkey support. To disable hotkey support set HotKeySpecifier to (Rune)0xffff . TextAlignment Gets or sets how the View's Text is aligned horizontally when drawn. Changing this property will redisplay the View . Declaration public virtual TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. TextDirection Gets or sets the direction of the View's Text . Changing this property will redisplay the View . Declaration public virtual TextDirection TextDirection { get; set; } Property Value Type Description TextDirection The text alignment. TextFormatter Gets or sets the TextFormatter which can be handled differently by any derived class. Declaration public TextFormatter TextFormatter { get; set; } Property Value Type Description TextFormatter VerticalTextAlignment Gets or sets how the View's Text is aligned verticaly when drawn. Changing this property will redisplay the View . Declaration public virtual VerticalTextAlignment VerticalTextAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text alignment. Visible Declaration public override bool Visible { get; set; } Property Value Type Description System.Boolean Overrides Responder.Visible WantContinuousButtonPressed Gets or sets a value indicating whether this View want continuous button pressed event. Declaration public virtual bool WantContinuousButtonPressed { get; set; } Property Value Type Description System.Boolean WantMousePositionReports Gets or sets a value indicating whether this View wants mouse position reports. Declaration public virtual bool WantMousePositionReports { get; set; } Property Value Type Description System.Boolean true if want mouse position reports; otherwise, false . Width Gets or sets the width of the view. Only used the LayoutStyle is Computed . Declaration public Dim Width { get; set; } Property Value Type Description Dim The width. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. X Gets or sets the X position for the view (the column). Only used the LayoutStyle is Computed . Declaration public Pos X { get; set; } Property Value Type Description Pos The X Position. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Y Gets or sets the Y position for the view (the row). Only used the LayoutStyle is Computed . Declaration public Pos Y { get; set; } Property Value Type Description Pos The y position (line). Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Methods Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() Add(View[]) Adds the specified views (children) to the view. Declaration public void Add(params View[] views) Parameters Type Name Description View [] views Array of one or more views (can be optional parameter). Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() AddCommand(Command, Func>) States that the given View supports a given command and what f to perform to make that command happen If the command already has an implementation the f will replace the old one Declaration protected void AddCommand(Command command, Func f) Parameters Type Name Description Command command The command. System.Func < System.Nullable < System.Boolean >> f The function. AddKeyBinding(Key, Command) Adds a new key combination that will trigger the given command (if supported by the View - see GetSupportedCommands() ) If the key is already bound to a different Command it will be rebound to this one Declaration public void AddKeyBinding(Key key, Command command) Parameters Type Name Description Key key Command command AddRune(Int32, Int32, Rune) Displays the specified character in the specified column and row of the View. Declaration public void AddRune(int col, int row, Rune ch) Parameters Type Name Description System.Int32 col Column (view-relative). System.Int32 row Row (view-relative). System.Rune ch Ch. BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() BringSubviewForward(View) Moves the subview backwards in the hierarchy, only one step Declaration public void BringSubviewForward(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. BringSubviewToFront(View) Brings the specified subview to the front so it is drawn on top of any other views. Declaration public void BringSubviewToFront(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks SendSubviewToBack(View) . Clear() Clears the view region with the current color. Declaration public void Clear() Remarks This clears the entire region used by this view. Clear(Rect) Clears the specified region with the current color. Declaration public void Clear(Rect regionScreen) Parameters Type Name Description Rect regionScreen The screen-relative region to clear. Remarks ClearKeybinding(Command) Removes all key bindings that trigger the given command. Views can have multiple different keys bound to the same command and this method will clear all of them. Declaration public void ClearKeybinding(Command command) Parameters Type Name Description Command command ClearKeybinding(Key) Clears the existing keybinding (if any) for the given key Declaration public void ClearKeybinding(Key key) Parameters Type Name Description Key key ClearKeybindings() Removes all bound keys from the View making including the default key combinations such as cursor navigation, scrolling etc Declaration public void ClearKeybindings() ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() ClipToBounds() Sets the ConsoleDriver 's clip region to the current View's Bounds . Declaration public Rect ClipToBounds() Returns Type Description Rect The existing driver's clip region, which can be then re-applied by setting Driver .Clip ( Clip ). Remarks Bounds is View-relative. ContainsKeyBinding(Key) Checks if key combination already exist. Declaration public bool ContainsKeyBinding(Key key) Parameters Type Name Description Key key The key to check. Returns Type Description System.Boolean true If the key already exist, false otherwise. Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) DrawFrame(Rect, Int32, Boolean) Draws a frame in the current view, clipped by the boundary of this view Declaration public void DrawFrame(Rect region, int padding = 0, bool fill = false) Parameters Type Name Description Rect region View-relative region for the frame to be drawn. System.Int32 padding The padding to add around the outside of the drawn frame. System.Boolean fill If set to true it fill will the contents. DrawHotString(ustring, Boolean, ColorScheme) Utility function to draw strings that contains a hotkey using a ColorScheme and the \"focused\" state. Declaration public void DrawHotString(ustring text, bool focused, ColorScheme scheme) Parameters Type Name Description NStack.ustring text String to display, the underscore before a letter flags the next letter as the hotkey. System.Boolean focused If set to true this uses the focused colors from the color scheme, otherwise the regular ones. ColorScheme scheme The color scheme to use. DrawHotString(ustring, Attribute, Attribute) Utility function to draw strings that contain a hotkey. Declaration public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor) Parameters Type Name Description NStack.ustring text String to display, the hotkey specifier before a letter flags the next letter as the hotkey. Attribute hotColor Hot color. Attribute normalColor Normal color. Remarks The hotkey is any character following the hotkey specifier, which is the underscore ('_') character by default. The hotkey specifier can be changed via HotKeySpecifier EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() EnsureFocus() Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing. Declaration public void EnsureFocus() FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. GetCurrentHeight(out Int32) Calculate the height based on the Height settings. Declaration public bool GetCurrentHeight(out int currentHeight) Parameters Type Name Description System.Int32 currentHeight The real current height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. GetCurrentWidth(out Int32) Gets the current width based on the Width settings. Declaration public bool GetCurrentWidth(out int currentWidth) Parameters Type Name Description System.Int32 currentWidth The real current width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. GetKeyFromCommand(Command) Gets the key used by a command. Declaration public Key GetKeyFromCommand(Command command) Parameters Type Name Description Command command The command to search. Returns Type Description Key The Key used by a Command GetNormalColor() Determines the current ColorScheme based on the Enabled value. Declaration public Attribute GetNormalColor() Returns Type Description Attribute Normal if Enabled is true or Disabled if Enabled is false GetSupportedCommands() Returns all commands that are supported by this View Declaration public IEnumerable GetSupportedCommands() Returns Type Description System.Collections.Generic.IEnumerable < Command > GetTopSuperView() Get the top superview of a given View . Declaration public View GetTopSuperView() Returns Type Description View The superview view. InvokeKeybindings(KeyEvent) Invokes any binding that is registered on this View and matches the keyEvent Declaration protected bool? InvokeKeybindings(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent The key event passed. Returns Type Description System.Nullable < System.Boolean > LayoutSubviews() Invoked when a view starts executing or when the dimensions of the view have changed, for example in response to the container view or terminal resizing. Declaration public virtual void LayoutSubviews() Remarks Calls Terminal.Gui.View.OnLayoutComplete(Terminal.Gui.View.LayoutEventArgs) (which raises the LayoutComplete event) before it returns. Move(Int32, Int32, Boolean) This moves the cursor to the specified column and row in the view. Declaration public void Move(int col, int row, bool clipped = true) Parameters Type Name Description System.Int32 col Col. System.Int32 row Row. System.Boolean clipped Whether to clip the result of the ViewToScreen method, if set to true , the col, row values are clamped to the screen (terminal) dimensions (0..TerminalDim-1). OnAdded(View) Method invoked when a subview is being added to this view. Declaration public virtual void OnAdded(View view) Parameters Type Name Description View view The subview being added. OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides Responder.OnCanFocusChanged() OnDrawContent(Rect) Enables overrides to draw infinitely scrolled content and/or a background behind added controls. Declaration public virtual void OnDrawContent(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called before any subviews added with Add(View) have been drawn. OnDrawContentComplete(Rect) Enables overrides after completed drawing infinitely scrolled content and/or a background behind removed controls. Declaration public virtual void OnDrawContentComplete(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called after any subviews removed with Remove(View) have been completed drawing. OnEnabledChanged() Declaration public override void OnEnabledChanged() Overrides Responder.OnEnabledChanged() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnLeave(View) OnMouseClick(View.MouseEventArgs) Invokes the MouseClick event. Declaration protected bool OnMouseClick(View.MouseEventArgs args) Parameters Type Name Description View.MouseEventArgs args Returns Type Description System.Boolean OnMouseEnter(MouseEvent) Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseEnter(MouseEvent) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public virtual bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. OnMouseLeave(MouseEvent) Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseLeave(MouseEvent) OnRemoved(View) Method invoked when a subview is being removed from this view. Declaration public virtual void OnRemoved(View view) Parameters Type Name Description View view The subview being removed. OnVisibleChanged() Declaration public override void OnVisibleChanged() Overrides Responder.OnVisibleChanged() PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public virtual void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public virtual void Remove(View view) Parameters Type Name Description View view Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() ReplaceKeyBinding(Key, Key) Replaces a key combination already bound to Command . Declaration protected void ReplaceKeyBinding(Key fromKey, Key toKey) Parameters Type Name Description Key fromKey The key to be replaced. Key toKey The new key to be used. ScreenToView(Int32, Int32) Converts a point from screen-relative coordinates to view-relative coordinates. Declaration public Point ScreenToView(int x, int y) Parameters Type Name Description System.Int32 x X screen-coordinate point. System.Int32 y Y screen-coordinate point. Returns Type Description Point The mapped point. SendSubviewBackwards(View) Moves the subview backwards in the hierarchy, only one step Declaration public void SendSubviewBackwards(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. SendSubviewToBack(View) Sends the specified subview to the front so it is the first view drawn Declaration public void SendSubviewToBack(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks BringSubviewToFront(View) . SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() SetClip(Rect) Sets the clip region to the specified view-relative region. Declaration public Rect SetClip(Rect region) Parameters Type Name Description Rect region View-relative clip region. Returns Type Description Rect The previous screen-relative clip region. SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() SetHeight(Int32, out Int32) Calculate the height based on the Height settings. Declaration public bool SetHeight(int desiredHeight, out int resultHeight) Parameters Type Name Description System.Int32 desiredHeight The desired height. System.Int32 resultHeight The real result height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() SetNeedsDisplay(Rect) Flags the view-relative region on this View as needing to be repainted. Declaration public void SetNeedsDisplay(Rect region) Parameters Type Name Description Rect region The view-relative region that must be flagged for repaint. SetWidth(Int32, out Int32) Calculate the width based on the Width settings. Declaration public bool SetWidth(int desiredWidth, out int resultWidth) Parameters Type Name Description System.Int32 desiredWidth The desired width. System.Int32 resultWidth The real result width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Events Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > CanFocusChanged Event fired when the CanFocus value is being changed. Declaration public event Action CanFocusChanged Event Type Type Description System.Action DrawContent Event invoked when the content area of the View is to be drawn. Declaration public event Action DrawContent Event Type Type Description System.Action < Rect > Remarks Will be invoked before any subviews added with Add(View) have been drawn. Rect provides the view-relative rectangle describing the currently visible viewport into the View . DrawContentComplete Event invoked when the content area of the View is completed drawing. Declaration public event Action DrawContentComplete Event Type Type Description System.Action < Rect > Remarks Will be invoked after any subviews removed with Remove(View) have been completed drawing. Rect provides the view-relative rectangle describing the currently visible viewport into the View . EnabledChanged Event fired when the Enabled value is being changed. Declaration public event Action EnabledChanged Event Type Type Description System.Action Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key > Initialized Event called only once when the View is being initialized for the first time. Allows configurations and assignments to be performed before the View being shown. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public event EventHandler Initialized Event Type Type Description System.EventHandler KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > KeyPress Invoked when a character key is pressed and occurs after the key up event. Declaration public event Action KeyPress Event Type Type Description System.Action < View.KeyEventEventArgs > KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > MouseEnter Event fired when the view receives the mouse event for the first time. Declaration public event Action MouseEnter Event Type Type Description System.Action < View.MouseEventArgs > MouseLeave Event fired when the view receives a mouse event for the last time. Declaration public event Action MouseLeave Event Type Type Description System.Action < View.MouseEventArgs > Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > VisibleChanged Event fired when the Visible value is being changed. Declaration public event Action VisibleChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html", @@ -759,20 +769,10 @@ "title": "Class View.MouseEventArgs", "keywords": "Class View.MouseEventArgs Specifies the event arguments for MouseEvent Inheritance System.Object System.EventArgs View.MouseEventArgs Inherited Members System.EventArgs.Empty System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MouseEventArgs : EventArgs Constructors MouseEventArgs(MouseEvent) Constructs. Declaration public MouseEventArgs(MouseEvent me) Parameters Type Name Description MouseEvent me Properties Handled Indicates if the current mouse event has already been processed and the driver should stop notifying any other event subscriber. Its important to set this value to true specially when updating any View's layout from inside the subscriber method. Declaration public bool Handled { get; set; } Property Value Type Description System.Boolean MouseEvent The MouseEvent for the event. Declaration public MouseEvent MouseEvent { get; set; } Property Value Type Description MouseEvent" }, - "api/Terminal.Gui/Terminal.Gui.Views.html": { - "href": "api/Terminal.Gui/Terminal.Gui.Views.html", - "title": "Namespace Terminal.Gui.Views", - "keywords": "Namespace Terminal.Gui.Views Classes LineView A straight line control either horizontal or vertical" - }, - "api/Terminal.Gui/Terminal.Gui.Views.LineView.html": { - "href": "api/Terminal.Gui/Terminal.Gui.Views.LineView.html", - "title": "Class LineView", - "keywords": "Class LineView A straight line control either horizontal or vertical Inheritance System.Object Responder View LineView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui.Views Assembly : Terminal.Gui.dll Syntax public class LineView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors LineView() Creates a horizontal line Declaration public LineView() LineView(Orientation) Creates a horizontal or vertical line based on orientation Declaration public LineView(Orientation orientation) Parameters Type Name Description Orientation orientation Properties EndingAnchor The rune to display at the end of the line (right end of horizontal line or bottom end of vertical). If not specified then LineRune is used Declaration public Rune? EndingAnchor { get; set; } Property Value Type Description System.Nullable < System.Rune > LineRune The symbol to use for drawing the line Declaration public Rune LineRune { get; set; } Property Value Type Description System.Rune Orientation The direction of the line. If you change this you will need to manually update the Width/Height of the control to cover a relevant area based on the new direction. Declaration public Orientation Orientation { get; set; } Property Value Type Description Orientation StartingAnchor The rune to display at the start of the line (left end of horizontal line or top end of vertical) If not specified then LineRune is used Declaration public Rune? StartingAnchor { get; set; } Property Value Type Description System.Nullable < System.Rune > Methods Redraw(Rect) Draws the line including any starting/ending anchors Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" - }, "api/Terminal.Gui/Terminal.Gui.Window.html": { "href": "api/Terminal.Gui/Terminal.Gui.Window.html", "title": "Class Window", - "keywords": "Class Window A Toplevel View that draws a border around its Frame with a Title at the top. Inheritance System.Object Responder View Toplevel Window Dialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Window : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The 'client area' of a Window is a rectangle deflated by one or more rows/columns from Bounds . A this time there is no API to determine this rectangle. Constructors Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() Window(ustring) Initializes a new instance of the Window class with an optional title using Computed positioning. Declaration public Window(ustring title = null) Parameters Type Name Description NStack.ustring title Title. Remarks This constructor initializes a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(ustring, Int32, Border) Initializes a new instance of the Window using Computed positioning, and an optional title. Declaration public Window(ustring title = null, int padding = 0, Border border = null) Parameters Type Name Description NStack.ustring title Title. System.Int32 padding Number of characters to use for padding of the drawn frame. Border border The Border . Remarks This constructor initializes a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(Rect, ustring) Initializes a new instance of the Window class with an optional title using Absolute positioning. Declaration public Window(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title Remarks This constructor initializes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with Computed . Window(Rect, ustring, Int32, Border) Initializes a new instance of the Window using Absolute positioning with the specified frame for its location, with the specified frame padding, and an optional title. Declaration public Window(Rect frame, ustring title = null, int padding = 0, Border border = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title System.Int32 padding Number of characters to use for padding of the drawn frame. Border border The Border . Remarks This constructor initializes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with LayoutStyle of Computed Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Window A Toplevel View that draws a border around its Frame with a Title at the top. Inheritance System.Object Responder View Toplevel Window Dialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Window : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The 'client area' of a Window is a rectangle deflated by one or more rows/columns from Bounds . A this time there is no API to determine this rectangle. Constructors Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() Window(ustring) Initializes a new instance of the Window class with an optional title using Computed positioning. Declaration public Window(ustring title = null) Parameters Type Name Description NStack.ustring title Title. Remarks This constructor initializes a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(ustring, Int32, Border) Initializes a new instance of the Window using Computed positioning, and an optional title. Declaration public Window(ustring title = null, int padding = 0, Border border = null) Parameters Type Name Description NStack.ustring title Title. System.Int32 padding Number of characters to use for padding of the drawn frame. Border border The Border . Remarks This constructor initializes a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(Rect, ustring) Initializes a new instance of the Window class with an optional title using Absolute positioning. Declaration public Window(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title Remarks This constructor initializes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with Computed . Window(Rect, ustring, Int32, Border) Initializes a new instance of the Window using Absolute positioning with the specified frame for its location, with the specified frame padding, and an optional title. Declaration public Window(Rect frame, ustring title = null, int padding = 0, Border border = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title System.Int32 padding Number of characters to use for padding of the drawn frame. Border border The Border . Remarks This constructor initializes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with LayoutStyle of Computed Properties Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Unix.Terminal.Curses.Event.html": { "href": "api/Terminal.Gui/Unix.Terminal.Curses.Event.html", @@ -782,7 +782,7 @@ "api/Terminal.Gui/Unix.Terminal.Curses.html": { "href": "api/Terminal.Gui/Unix.Terminal.Curses.html", "title": "Class Curses", - "keywords": "Class Curses Inheritance System.Object Curses Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Unix.Terminal Assembly : Terminal.Gui.dll Syntax public class Curses Fields A_BLINK Declaration public const int A_BLINK = 524288 Field Value Type Description System.Int32 A_BOLD Declaration public const int A_BOLD = 2097152 Field Value Type Description System.Int32 A_DIM Declaration public const int A_DIM = 1048576 Field Value Type Description System.Int32 A_INVIS Declaration public const int A_INVIS = 8388608 Field Value Type Description System.Int32 A_NORMAL Declaration public const int A_NORMAL = 0 Field Value Type Description System.Int32 A_PROTECT Declaration public const int A_PROTECT = 16777216 Field Value Type Description System.Int32 A_REVERSE Declaration public const int A_REVERSE = 262144 Field Value Type Description System.Int32 A_STANDOUT Declaration public const int A_STANDOUT = 65536 Field Value Type Description System.Int32 A_UNDERLINE Declaration public const int A_UNDERLINE = 131072 Field Value Type Description System.Int32 ACS_BLOCK Declaration public const int ACS_BLOCK = 4194352 Field Value Type Description System.Int32 ACS_BOARD Declaration public const int ACS_BOARD = 4194408 Field Value Type Description System.Int32 ACS_BTEE Declaration public const int ACS_BTEE = 4194422 Field Value Type Description System.Int32 ACS_BULLET Declaration public const int ACS_BULLET = 4194430 Field Value Type Description System.Int32 ACS_CKBOARD Declaration public const int ACS_CKBOARD = 4194401 Field Value Type Description System.Int32 ACS_DARROW Declaration public const int ACS_DARROW = 4194350 Field Value Type Description System.Int32 ACS_DEGREE Declaration public const int ACS_DEGREE = 4194406 Field Value Type Description System.Int32 ACS_DIAMOND Declaration public const int ACS_DIAMOND = 4194400 Field Value Type Description System.Int32 ACS_HLINE Declaration public const int ACS_HLINE = 4194417 Field Value Type Description System.Int32 ACS_LANTERN Declaration public const int ACS_LANTERN = 4194409 Field Value Type Description System.Int32 ACS_LARROW Declaration public const int ACS_LARROW = 4194348 Field Value Type Description System.Int32 ACS_LLCORNER Declaration public const int ACS_LLCORNER = 4194413 Field Value Type Description System.Int32 ACS_LRCORNER Declaration public const int ACS_LRCORNER = 4194410 Field Value Type Description System.Int32 ACS_LTEE Declaration public const int ACS_LTEE = 4194420 Field Value Type Description System.Int32 ACS_PLMINUS Declaration public const int ACS_PLMINUS = 4194407 Field Value Type Description System.Int32 ACS_PLUS Declaration public const int ACS_PLUS = 4194414 Field Value Type Description System.Int32 ACS_RARROW Declaration public const int ACS_RARROW = 4194347 Field Value Type Description System.Int32 ACS_RTEE Declaration public const int ACS_RTEE = 4194421 Field Value Type Description System.Int32 ACS_S1 Declaration public const int ACS_S1 = 4194415 Field Value Type Description System.Int32 ACS_S9 Declaration public const int ACS_S9 = 4194419 Field Value Type Description System.Int32 ACS_TTEE Declaration public const int ACS_TTEE = 4194423 Field Value Type Description System.Int32 ACS_UARROW Declaration public const int ACS_UARROW = 4194349 Field Value Type Description System.Int32 ACS_ULCORNER Declaration public const int ACS_ULCORNER = 4194412 Field Value Type Description System.Int32 ACS_URCORNER Declaration public const int ACS_URCORNER = 4194411 Field Value Type Description System.Int32 ACS_VLINE Declaration public const int ACS_VLINE = 4194424 Field Value Type Description System.Int32 AltCtrlKeyEnd Declaration public const int AltCtrlKeyEnd = 532 Field Value Type Description System.Int32 AltCtrlKeyHome Declaration public const int AltCtrlKeyHome = 537 Field Value Type Description System.Int32 AltCtrlKeyNPage Declaration public const int AltCtrlKeyNPage = 552 Field Value Type Description System.Int32 AltCtrlKeyPPage Declaration public const int AltCtrlKeyPPage = 557 Field Value Type Description System.Int32 AltKeyDown Declaration public const int AltKeyDown = 523 Field Value Type Description System.Int32 AltKeyEnd Declaration public const int AltKeyEnd = 528 Field Value Type Description System.Int32 AltKeyHome Declaration public const int AltKeyHome = 533 Field Value Type Description System.Int32 AltKeyLeft Declaration public const int AltKeyLeft = 543 Field Value Type Description System.Int32 AltKeyNPage Declaration public const int AltKeyNPage = 548 Field Value Type Description System.Int32 AltKeyPPage Declaration public const int AltKeyPPage = 553 Field Value Type Description System.Int32 AltKeyRight Declaration public const int AltKeyRight = 558 Field Value Type Description System.Int32 AltKeyUp Declaration public const int AltKeyUp = 564 Field Value Type Description System.Int32 COLOR_BLACK Declaration public const int COLOR_BLACK = 0 Field Value Type Description System.Int32 COLOR_BLUE Declaration public const int COLOR_BLUE = 4 Field Value Type Description System.Int32 COLOR_CYAN Declaration public const int COLOR_CYAN = 6 Field Value Type Description System.Int32 COLOR_GRAY Declaration public const int COLOR_GRAY = 8 Field Value Type Description System.Int32 COLOR_GREEN Declaration public const int COLOR_GREEN = 2 Field Value Type Description System.Int32 COLOR_MAGENTA Declaration public const int COLOR_MAGENTA = 5 Field Value Type Description System.Int32 COLOR_RED Declaration public const int COLOR_RED = 1 Field Value Type Description System.Int32 COLOR_WHITE Declaration public const int COLOR_WHITE = 7 Field Value Type Description System.Int32 COLOR_YELLOW Declaration public const int COLOR_YELLOW = 3 Field Value Type Description System.Int32 CtrlKeyDown Declaration public const int CtrlKeyDown = 525 Field Value Type Description System.Int32 CtrlKeyEnd Declaration public const int CtrlKeyEnd = 530 Field Value Type Description System.Int32 CtrlKeyHome Declaration public const int CtrlKeyHome = 535 Field Value Type Description System.Int32 CtrlKeyLeft Declaration public const int CtrlKeyLeft = 545 Field Value Type Description System.Int32 CtrlKeyNPage Declaration public const int CtrlKeyNPage = 550 Field Value Type Description System.Int32 CtrlKeyPPage Declaration public const int CtrlKeyPPage = 555 Field Value Type Description System.Int32 CtrlKeyRight Declaration public const int CtrlKeyRight = 560 Field Value Type Description System.Int32 CtrlKeyUp Declaration public const int CtrlKeyUp = 566 Field Value Type Description System.Int32 DownEnd Declaration public const int DownEnd = 0 Field Value Type Description System.Int32 ERR Declaration public const int ERR = -1 Field Value Type Description System.Int32 Home Declaration public const int Home = 0 Field Value Type Description System.Int32 KEY_CODE_SEQ Declaration public const int KEY_CODE_SEQ = 91 Field Value Type Description System.Int32 KEY_CODE_YES Declaration public const int KEY_CODE_YES = 256 Field Value Type Description System.Int32 KeyAlt Declaration public const int KeyAlt = 8192 Field Value Type Description System.Int32 KeyBackspace Declaration public const int KeyBackspace = 263 Field Value Type Description System.Int32 KeyBackTab Declaration public const int KeyBackTab = 353 Field Value Type Description System.Int32 KeyDeleteChar Declaration public const int KeyDeleteChar = 330 Field Value Type Description System.Int32 KeyDown Declaration public const int KeyDown = 258 Field Value Type Description System.Int32 KeyEnd Declaration public const int KeyEnd = 360 Field Value Type Description System.Int32 KeyF1 Declaration public const int KeyF1 = 265 Field Value Type Description System.Int32 KeyF10 Declaration public const int KeyF10 = 274 Field Value Type Description System.Int32 KeyF11 Declaration public const int KeyF11 = 275 Field Value Type Description System.Int32 KeyF12 Declaration public const int KeyF12 = 276 Field Value Type Description System.Int32 KeyF2 Declaration public const int KeyF2 = 266 Field Value Type Description System.Int32 KeyF3 Declaration public const int KeyF3 = 267 Field Value Type Description System.Int32 KeyF4 Declaration public const int KeyF4 = 268 Field Value Type Description System.Int32 KeyF5 Declaration public const int KeyF5 = 269 Field Value Type Description System.Int32 KeyF6 Declaration public const int KeyF6 = 270 Field Value Type Description System.Int32 KeyF7 Declaration public const int KeyF7 = 271 Field Value Type Description System.Int32 KeyF8 Declaration public const int KeyF8 = 272 Field Value Type Description System.Int32 KeyF9 Declaration public const int KeyF9 = 273 Field Value Type Description System.Int32 KeyHome Declaration public const int KeyHome = 262 Field Value Type Description System.Int32 KeyInsertChar Declaration public const int KeyInsertChar = 331 Field Value Type Description System.Int32 KeyLeft Declaration public const int KeyLeft = 260 Field Value Type Description System.Int32 KeyMouse Declaration public const int KeyMouse = 409 Field Value Type Description System.Int32 KeyNPage Declaration public const int KeyNPage = 338 Field Value Type Description System.Int32 KeyPPage Declaration public const int KeyPPage = 339 Field Value Type Description System.Int32 KeyResize Declaration public const int KeyResize = 410 Field Value Type Description System.Int32 KeyRight Declaration public const int KeyRight = 261 Field Value Type Description System.Int32 KeyTab Declaration public const int KeyTab = 9 Field Value Type Description System.Int32 KeyUp Declaration public const int KeyUp = 259 Field Value Type Description System.Int32 LeftRightUpNPagePPage Declaration public const int LeftRightUpNPagePPage = 0 Field Value Type Description System.Int32 ShiftAltKeyDown Declaration public const int ShiftAltKeyDown = 524 Field Value Type Description System.Int32 ShiftAltKeyEnd Declaration public const int ShiftAltKeyEnd = 529 Field Value Type Description System.Int32 ShiftAltKeyHome Declaration public const int ShiftAltKeyHome = 534 Field Value Type Description System.Int32 ShiftAltKeyLeft Declaration public const int ShiftAltKeyLeft = 544 Field Value Type Description System.Int32 ShiftAltKeyNPage Declaration public const int ShiftAltKeyNPage = 549 Field Value Type Description System.Int32 ShiftAltKeyPPage Declaration public const int ShiftAltKeyPPage = 554 Field Value Type Description System.Int32 ShiftAltKeyRight Declaration public const int ShiftAltKeyRight = 559 Field Value Type Description System.Int32 ShiftAltKeyUp Declaration public const int ShiftAltKeyUp = 565 Field Value Type Description System.Int32 ShiftCtrlKeyDown Declaration public const int ShiftCtrlKeyDown = 526 Field Value Type Description System.Int32 ShiftCtrlKeyEnd Declaration public const int ShiftCtrlKeyEnd = 531 Field Value Type Description System.Int32 ShiftCtrlKeyHome Declaration public const int ShiftCtrlKeyHome = 536 Field Value Type Description System.Int32 ShiftCtrlKeyLeft Declaration public const int ShiftCtrlKeyLeft = 546 Field Value Type Description System.Int32 ShiftCtrlKeyNPage Declaration public const int ShiftCtrlKeyNPage = 551 Field Value Type Description System.Int32 ShiftCtrlKeyPPage Declaration public const int ShiftCtrlKeyPPage = 556 Field Value Type Description System.Int32 ShiftCtrlKeyRight Declaration public const int ShiftCtrlKeyRight = 561 Field Value Type Description System.Int32 ShiftCtrlKeyUp Declaration public const int ShiftCtrlKeyUp = 567 Field Value Type Description System.Int32 ShiftKeyDown Declaration public const int ShiftKeyDown = 336 Field Value Type Description System.Int32 ShiftKeyEnd Declaration public const int ShiftKeyEnd = 386 Field Value Type Description System.Int32 ShiftKeyHome Declaration public const int ShiftKeyHome = 391 Field Value Type Description System.Int32 ShiftKeyLeft Declaration public const int ShiftKeyLeft = 393 Field Value Type Description System.Int32 ShiftKeyNPage Declaration public const int ShiftKeyNPage = 396 Field Value Type Description System.Int32 ShiftKeyPPage Declaration public const int ShiftKeyPPage = 398 Field Value Type Description System.Int32 ShiftKeyRight Declaration public const int ShiftKeyRight = 402 Field Value Type Description System.Int32 ShiftKeyUp Declaration public const int ShiftKeyUp = 337 Field Value Type Description System.Int32 TIOCGWINSZ Declaration public const int TIOCGWINSZ = 21523 Field Value Type Description System.Int32 TIOCGWINSZ_MAC Declaration public const int TIOCGWINSZ_MAC = 1074295912 Field Value Type Description System.Int32 Properties ColorPairs Declaration public static int ColorPairs { get; } Property Value Type Description System.Int32 Cols Declaration public static int Cols { get; } Property Value Type Description System.Int32 HasColors Declaration public static bool HasColors { get; } Property Value Type Description System.Boolean LC_ALL Declaration public static int LC_ALL { get; } Property Value Type Description System.Int32 Lines Declaration public static int Lines { get; } Property Value Type Description System.Int32 Methods addch(Int32) Declaration public static int addch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 addstr(String, Object[]) Declaration public static int addstr(string format, params object[] args) Parameters Type Name Description System.String format System.Object [] args Returns Type Description System.Int32 addwstr(String) Declaration public static int addwstr(string s) Parameters Type Name Description System.String s Returns Type Description System.Int32 attroff(Int32) Declaration public static int attroff(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 attron(Int32) Declaration public static int attron(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 attrset(Int32) Declaration public static int attrset(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 cbreak() Declaration public static int cbreak() Returns Type Description System.Int32 CheckWinChange() Declaration public static bool CheckWinChange() Returns Type Description System.Boolean clearok(IntPtr, Boolean) Declaration public static int clearok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 COLOR_PAIRS() Declaration public static int COLOR_PAIRS() Returns Type Description System.Int32 ColorPair(Int32) Declaration public static int ColorPair(int n) Parameters Type Name Description System.Int32 n Returns Type Description System.Int32 curs_set(Int32) Declaration public static int curs_set(int visibility) Parameters Type Name Description System.Int32 visibility Returns Type Description System.Int32 def_prog_mode() Declaration public static int def_prog_mode() Returns Type Description System.Int32 def_shell_mode() Declaration public static int def_shell_mode() Returns Type Description System.Int32 doupdate() Declaration public static int doupdate() Returns Type Description System.Int32 echo() Declaration public static int echo() Returns Type Description System.Int32 endwin() Declaration public static int endwin() Returns Type Description System.Int32 flushinp() Declaration public static int flushinp() Returns Type Description System.Int32 get_wch(out Int32) Declaration public static int get_wch(out int sequence) Parameters Type Name Description System.Int32 sequence Returns Type Description System.Int32 getch() Declaration public static int getch() Returns Type Description System.Int32 getmouse(out Curses.MouseEvent) Declaration public static uint getmouse(out Curses.MouseEvent ev) Parameters Type Name Description Curses.MouseEvent ev Returns Type Description System.UInt32 halfdelay(Int32) Declaration public static int halfdelay(int t) Parameters Type Name Description System.Int32 t Returns Type Description System.Int32 has_colors() Declaration public static bool has_colors() Returns Type Description System.Boolean idcok(IntPtr, Boolean) Declaration public static void idcok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf idlok(IntPtr, Boolean) Declaration public static int idlok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 immedok(IntPtr, Boolean) Declaration public static void immedok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf init_pair(Int16, Int16, Int16) Declaration public static int init_pair(short pair, short f, short b) Parameters Type Name Description System.Int16 pair System.Int16 f System.Int16 b Returns Type Description System.Int32 InitColorPair(Int16, Int16, Int16) Declaration public static int InitColorPair(short pair, short foreground, short background) Parameters Type Name Description System.Int16 pair System.Int16 foreground System.Int16 background Returns Type Description System.Int32 initscr() Declaration public static Curses.Window initscr() Returns Type Description Curses.Window intrflush(IntPtr, Boolean) Declaration public static int intrflush(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 is_term_resized(Int32, Int32) Declaration public static bool is_term_resized(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Boolean IsAlt(Int32) Declaration public static int IsAlt(int key) Parameters Type Name Description System.Int32 key Returns Type Description System.Int32 isendwin() Declaration public static bool isendwin() Returns Type Description System.Boolean keypad(IntPtr, Boolean) Declaration public static int keypad(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 leaveok(IntPtr, Boolean) Declaration public static int leaveok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 meta(IntPtr, Boolean) Declaration public static int meta(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 mouseinterval(Int32) Declaration public static int mouseinterval(int interval) Parameters Type Name Description System.Int32 interval Returns Type Description System.Int32 mousemask(Curses.Event, out Curses.Event) Declaration public static Curses.Event mousemask(Curses.Event newmask, out Curses.Event oldmask) Parameters Type Name Description Curses.Event newmask Curses.Event oldmask Returns Type Description Curses.Event move(Int32, Int32) Declaration public static int move(int line, int col) Parameters Type Name Description System.Int32 line System.Int32 col Returns Type Description System.Int32 mvgetch(Int32, Int32) Declaration public static int mvgetch(int y, int x) Parameters Type Name Description System.Int32 y System.Int32 x Returns Type Description System.Int32 nl() Declaration public static int nl() Returns Type Description System.Int32 nocbreak() Declaration public static int nocbreak() Returns Type Description System.Int32 noecho() Declaration public static int noecho() Returns Type Description System.Int32 nonl() Declaration public static int nonl() Returns Type Description System.Int32 noqiflush() Declaration public static void noqiflush() noraw() Declaration public static int noraw() Returns Type Description System.Int32 notimeout(IntPtr, Boolean) Declaration public static int notimeout(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 qiflush() Declaration public static void qiflush() raw() Declaration public static int raw() Returns Type Description System.Int32 redrawwin(IntPtr) Declaration public static int redrawwin(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 refresh() Declaration public static int refresh() Returns Type Description System.Int32 reset_prog_mode() Declaration public static int reset_prog_mode() Returns Type Description System.Int32 reset_shell_mode() Declaration public static int reset_shell_mode() Returns Type Description System.Int32 resetty() Declaration public static int resetty() Returns Type Description System.Int32 resize_term(Int32, Int32) Declaration public static int resize_term(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Int32 resizeterm(Int32, Int32) Declaration public static int resizeterm(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Int32 savetty() Declaration public static int savetty() Returns Type Description System.Int32 scrollok(IntPtr, Boolean) Declaration public static int scrollok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 setlocale(Int32, String) Declaration public static extern int setlocale(int cate, string locale) Parameters Type Name Description System.Int32 cate System.String locale Returns Type Description System.Int32 setscrreg(Int32, Int32) Declaration public static int setscrreg(int top, int bot) Parameters Type Name Description System.Int32 top System.Int32 bot Returns Type Description System.Int32 start_color() Declaration public static int start_color() Returns Type Description System.Int32 StartColor() Declaration public static int StartColor() Returns Type Description System.Int32 timeout(Int32) Declaration public static int timeout(int delay) Parameters Type Name Description System.Int32 delay Returns Type Description System.Int32 typeahead(IntPtr) Declaration public static int typeahead(IntPtr fd) Parameters Type Name Description System.IntPtr fd Returns Type Description System.Int32 ungetch(Int32) Declaration public static int ungetch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 ungetmouse(ref Curses.MouseEvent) Declaration public static uint ungetmouse(ref Curses.MouseEvent ev) Parameters Type Name Description Curses.MouseEvent ev Returns Type Description System.UInt32 use_default_colors() Declaration public static int use_default_colors() Returns Type Description System.Int32 use_env(Boolean) Declaration public static void use_env(bool f) Parameters Type Name Description System.Boolean f UseDefaultColors() Declaration public static int UseDefaultColors() Returns Type Description System.Int32 waddch(IntPtr, Int32) Declaration public static int waddch(IntPtr win, int ch) Parameters Type Name Description System.IntPtr win System.Int32 ch Returns Type Description System.Int32 wmove(IntPtr, Int32, Int32) Declaration public static int wmove(IntPtr win, int line, int col) Parameters Type Name Description System.IntPtr win System.Int32 line System.Int32 col Returns Type Description System.Int32 wnoutrefresh(IntPtr) Declaration public static int wnoutrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 wrefresh(IntPtr) Declaration public static int wrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 wsetscrreg(IntPtr, Int32, Int32) Declaration public static int wsetscrreg(IntPtr win, int top, int bot) Parameters Type Name Description System.IntPtr win System.Int32 top System.Int32 bot Returns Type Description System.Int32 wtimeout(IntPtr, Int32) Declaration public static int wtimeout(IntPtr win, int delay) Parameters Type Name Description System.IntPtr win System.Int32 delay Returns Type Description System.Int32" + "keywords": "Class Curses Inheritance System.Object Curses Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Unix.Terminal Assembly : Terminal.Gui.dll Syntax public class Curses Fields A_BLINK Declaration public const int A_BLINK = 524288 Field Value Type Description System.Int32 A_BOLD Declaration public const int A_BOLD = 2097152 Field Value Type Description System.Int32 A_DIM Declaration public const int A_DIM = 1048576 Field Value Type Description System.Int32 A_INVIS Declaration public const int A_INVIS = 8388608 Field Value Type Description System.Int32 A_NORMAL Declaration public const int A_NORMAL = 0 Field Value Type Description System.Int32 A_PROTECT Declaration public const int A_PROTECT = 16777216 Field Value Type Description System.Int32 A_REVERSE Declaration public const int A_REVERSE = 262144 Field Value Type Description System.Int32 A_STANDOUT Declaration public const int A_STANDOUT = 65536 Field Value Type Description System.Int32 A_UNDERLINE Declaration public const int A_UNDERLINE = 131072 Field Value Type Description System.Int32 ACS_BLOCK Declaration public const int ACS_BLOCK = 4194352 Field Value Type Description System.Int32 ACS_BOARD Declaration public const int ACS_BOARD = 4194408 Field Value Type Description System.Int32 ACS_BTEE Declaration public const int ACS_BTEE = 4194422 Field Value Type Description System.Int32 ACS_BULLET Declaration public const int ACS_BULLET = 4194430 Field Value Type Description System.Int32 ACS_CKBOARD Declaration public const int ACS_CKBOARD = 4194401 Field Value Type Description System.Int32 ACS_DARROW Declaration public const int ACS_DARROW = 4194350 Field Value Type Description System.Int32 ACS_DEGREE Declaration public const int ACS_DEGREE = 4194406 Field Value Type Description System.Int32 ACS_DIAMOND Declaration public const int ACS_DIAMOND = 4194400 Field Value Type Description System.Int32 ACS_HLINE Declaration public const int ACS_HLINE = 4194417 Field Value Type Description System.Int32 ACS_LANTERN Declaration public const int ACS_LANTERN = 4194409 Field Value Type Description System.Int32 ACS_LARROW Declaration public const int ACS_LARROW = 4194348 Field Value Type Description System.Int32 ACS_LLCORNER Declaration public const int ACS_LLCORNER = 4194413 Field Value Type Description System.Int32 ACS_LRCORNER Declaration public const int ACS_LRCORNER = 4194410 Field Value Type Description System.Int32 ACS_LTEE Declaration public const int ACS_LTEE = 4194420 Field Value Type Description System.Int32 ACS_PLMINUS Declaration public const int ACS_PLMINUS = 4194407 Field Value Type Description System.Int32 ACS_PLUS Declaration public const int ACS_PLUS = 4194414 Field Value Type Description System.Int32 ACS_RARROW Declaration public const int ACS_RARROW = 4194347 Field Value Type Description System.Int32 ACS_RTEE Declaration public const int ACS_RTEE = 4194421 Field Value Type Description System.Int32 ACS_S1 Declaration public const int ACS_S1 = 4194415 Field Value Type Description System.Int32 ACS_S9 Declaration public const int ACS_S9 = 4194419 Field Value Type Description System.Int32 ACS_TTEE Declaration public const int ACS_TTEE = 4194423 Field Value Type Description System.Int32 ACS_UARROW Declaration public const int ACS_UARROW = 4194349 Field Value Type Description System.Int32 ACS_ULCORNER Declaration public const int ACS_ULCORNER = 4194412 Field Value Type Description System.Int32 ACS_URCORNER Declaration public const int ACS_URCORNER = 4194411 Field Value Type Description System.Int32 ACS_VLINE Declaration public const int ACS_VLINE = 4194424 Field Value Type Description System.Int32 AltCtrlKeyEnd Declaration public const int AltCtrlKeyEnd = 532 Field Value Type Description System.Int32 AltCtrlKeyHome Declaration public const int AltCtrlKeyHome = 537 Field Value Type Description System.Int32 AltCtrlKeyNPage Declaration public const int AltCtrlKeyNPage = 552 Field Value Type Description System.Int32 AltCtrlKeyPPage Declaration public const int AltCtrlKeyPPage = 557 Field Value Type Description System.Int32 AltKeyDown Declaration public const int AltKeyDown = 523 Field Value Type Description System.Int32 AltKeyEnd Declaration public const int AltKeyEnd = 528 Field Value Type Description System.Int32 AltKeyHome Declaration public const int AltKeyHome = 533 Field Value Type Description System.Int32 AltKeyLeft Declaration public const int AltKeyLeft = 543 Field Value Type Description System.Int32 AltKeyNPage Declaration public const int AltKeyNPage = 548 Field Value Type Description System.Int32 AltKeyPPage Declaration public const int AltKeyPPage = 553 Field Value Type Description System.Int32 AltKeyRight Declaration public const int AltKeyRight = 558 Field Value Type Description System.Int32 AltKeyUp Declaration public const int AltKeyUp = 564 Field Value Type Description System.Int32 COLOR_BLACK Declaration public const int COLOR_BLACK = 0 Field Value Type Description System.Int32 COLOR_BLUE Declaration public const int COLOR_BLUE = 4 Field Value Type Description System.Int32 COLOR_CYAN Declaration public const int COLOR_CYAN = 6 Field Value Type Description System.Int32 COLOR_GRAY Declaration public const int COLOR_GRAY = 8 Field Value Type Description System.Int32 COLOR_GREEN Declaration public const int COLOR_GREEN = 2 Field Value Type Description System.Int32 COLOR_MAGENTA Declaration public const int COLOR_MAGENTA = 5 Field Value Type Description System.Int32 COLOR_RED Declaration public const int COLOR_RED = 1 Field Value Type Description System.Int32 COLOR_WHITE Declaration public const int COLOR_WHITE = 7 Field Value Type Description System.Int32 COLOR_YELLOW Declaration public const int COLOR_YELLOW = 3 Field Value Type Description System.Int32 CtrlKeyDown Declaration public const int CtrlKeyDown = 525 Field Value Type Description System.Int32 CtrlKeyEnd Declaration public const int CtrlKeyEnd = 530 Field Value Type Description System.Int32 CtrlKeyHome Declaration public const int CtrlKeyHome = 535 Field Value Type Description System.Int32 CtrlKeyLeft Declaration public const int CtrlKeyLeft = 545 Field Value Type Description System.Int32 CtrlKeyNPage Declaration public const int CtrlKeyNPage = 550 Field Value Type Description System.Int32 CtrlKeyPPage Declaration public const int CtrlKeyPPage = 555 Field Value Type Description System.Int32 CtrlKeyRight Declaration public const int CtrlKeyRight = 560 Field Value Type Description System.Int32 CtrlKeyUp Declaration public const int CtrlKeyUp = 566 Field Value Type Description System.Int32 DownEnd Declaration public const int DownEnd = 0 Field Value Type Description System.Int32 ERR Declaration public const int ERR = -1 Field Value Type Description System.Int32 Home Declaration public const int Home = 0 Field Value Type Description System.Int32 KEY_CODE_SEQ Declaration public const int KEY_CODE_SEQ = 91 Field Value Type Description System.Int32 KEY_CODE_YES Declaration public const int KEY_CODE_YES = 256 Field Value Type Description System.Int32 KeyAlt Declaration public const int KeyAlt = 8192 Field Value Type Description System.Int32 KeyBackspace Declaration public const int KeyBackspace = 263 Field Value Type Description System.Int32 KeyBackTab Declaration public const int KeyBackTab = 353 Field Value Type Description System.Int32 KeyDeleteChar Declaration public const int KeyDeleteChar = 330 Field Value Type Description System.Int32 KeyDown Declaration public const int KeyDown = 258 Field Value Type Description System.Int32 KeyEnd Declaration public const int KeyEnd = 360 Field Value Type Description System.Int32 KeyF1 Declaration public const int KeyF1 = 265 Field Value Type Description System.Int32 KeyF10 Declaration public const int KeyF10 = 274 Field Value Type Description System.Int32 KeyF11 Declaration public const int KeyF11 = 275 Field Value Type Description System.Int32 KeyF12 Declaration public const int KeyF12 = 276 Field Value Type Description System.Int32 KeyF2 Declaration public const int KeyF2 = 266 Field Value Type Description System.Int32 KeyF3 Declaration public const int KeyF3 = 267 Field Value Type Description System.Int32 KeyF4 Declaration public const int KeyF4 = 268 Field Value Type Description System.Int32 KeyF5 Declaration public const int KeyF5 = 269 Field Value Type Description System.Int32 KeyF6 Declaration public const int KeyF6 = 270 Field Value Type Description System.Int32 KeyF7 Declaration public const int KeyF7 = 271 Field Value Type Description System.Int32 KeyF8 Declaration public const int KeyF8 = 272 Field Value Type Description System.Int32 KeyF9 Declaration public const int KeyF9 = 273 Field Value Type Description System.Int32 KeyHome Declaration public const int KeyHome = 262 Field Value Type Description System.Int32 KeyInsertChar Declaration public const int KeyInsertChar = 331 Field Value Type Description System.Int32 KeyLeft Declaration public const int KeyLeft = 260 Field Value Type Description System.Int32 KeyMouse Declaration public const int KeyMouse = 409 Field Value Type Description System.Int32 KeyNPage Declaration public const int KeyNPage = 338 Field Value Type Description System.Int32 KeyPPage Declaration public const int KeyPPage = 339 Field Value Type Description System.Int32 KeyResize Declaration public const int KeyResize = 410 Field Value Type Description System.Int32 KeyRight Declaration public const int KeyRight = 261 Field Value Type Description System.Int32 KeyTab Declaration public const int KeyTab = 9 Field Value Type Description System.Int32 KeyUp Declaration public const int KeyUp = 259 Field Value Type Description System.Int32 LeftRightUpNPagePPage Declaration public const int LeftRightUpNPagePPage = 0 Field Value Type Description System.Int32 ShiftAltKeyDown Declaration public const int ShiftAltKeyDown = 524 Field Value Type Description System.Int32 ShiftAltKeyEnd Declaration public const int ShiftAltKeyEnd = 529 Field Value Type Description System.Int32 ShiftAltKeyHome Declaration public const int ShiftAltKeyHome = 534 Field Value Type Description System.Int32 ShiftAltKeyLeft Declaration public const int ShiftAltKeyLeft = 544 Field Value Type Description System.Int32 ShiftAltKeyNPage Declaration public const int ShiftAltKeyNPage = 549 Field Value Type Description System.Int32 ShiftAltKeyPPage Declaration public const int ShiftAltKeyPPage = 554 Field Value Type Description System.Int32 ShiftAltKeyRight Declaration public const int ShiftAltKeyRight = 559 Field Value Type Description System.Int32 ShiftAltKeyUp Declaration public const int ShiftAltKeyUp = 565 Field Value Type Description System.Int32 ShiftCtrlKeyDown Declaration public const int ShiftCtrlKeyDown = 526 Field Value Type Description System.Int32 ShiftCtrlKeyEnd Declaration public const int ShiftCtrlKeyEnd = 531 Field Value Type Description System.Int32 ShiftCtrlKeyHome Declaration public const int ShiftCtrlKeyHome = 536 Field Value Type Description System.Int32 ShiftCtrlKeyLeft Declaration public const int ShiftCtrlKeyLeft = 546 Field Value Type Description System.Int32 ShiftCtrlKeyNPage Declaration public const int ShiftCtrlKeyNPage = 551 Field Value Type Description System.Int32 ShiftCtrlKeyPPage Declaration public const int ShiftCtrlKeyPPage = 556 Field Value Type Description System.Int32 ShiftCtrlKeyRight Declaration public const int ShiftCtrlKeyRight = 561 Field Value Type Description System.Int32 ShiftCtrlKeyUp Declaration public const int ShiftCtrlKeyUp = 567 Field Value Type Description System.Int32 ShiftKeyDown Declaration public const int ShiftKeyDown = 336 Field Value Type Description System.Int32 ShiftKeyEnd Declaration public const int ShiftKeyEnd = 386 Field Value Type Description System.Int32 ShiftKeyHome Declaration public const int ShiftKeyHome = 391 Field Value Type Description System.Int32 ShiftKeyLeft Declaration public const int ShiftKeyLeft = 393 Field Value Type Description System.Int32 ShiftKeyNPage Declaration public const int ShiftKeyNPage = 396 Field Value Type Description System.Int32 ShiftKeyPPage Declaration public const int ShiftKeyPPage = 398 Field Value Type Description System.Int32 ShiftKeyRight Declaration public const int ShiftKeyRight = 402 Field Value Type Description System.Int32 ShiftKeyUp Declaration public const int ShiftKeyUp = 337 Field Value Type Description System.Int32 TIOCGWINSZ Declaration public const int TIOCGWINSZ = 21523 Field Value Type Description System.Int32 TIOCGWINSZ_MAC Declaration public const int TIOCGWINSZ_MAC = 1074295912 Field Value Type Description System.Int32 Properties ColorPairs Declaration public static int ColorPairs { get; } Property Value Type Description System.Int32 Cols Declaration public static int Cols { get; } Property Value Type Description System.Int32 HasColors Declaration public static bool HasColors { get; } Property Value Type Description System.Boolean LC_ALL Declaration public static int LC_ALL { get; } Property Value Type Description System.Int32 Lines Declaration public static int Lines { get; } Property Value Type Description System.Int32 Methods addch(Int32) Declaration public static int addch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 addstr(String, Object[]) Declaration public static int addstr(string format, params object[] args) Parameters Type Name Description System.String format System.Object [] args Returns Type Description System.Int32 addwstr(String) Declaration public static int addwstr(string s) Parameters Type Name Description System.String s Returns Type Description System.Int32 attroff(Int32) Declaration public static int attroff(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 attron(Int32) Declaration public static int attron(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 attrset(Int32) Declaration public static int attrset(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 cbreak() Declaration public static int cbreak() Returns Type Description System.Int32 CheckWinChange() Declaration public static bool CheckWinChange() Returns Type Description System.Boolean clearok(IntPtr, Boolean) Declaration public static int clearok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 COLOR_PAIRS() Declaration public static int COLOR_PAIRS() Returns Type Description System.Int32 ColorPair(Int32) Declaration public static int ColorPair(int n) Parameters Type Name Description System.Int32 n Returns Type Description System.Int32 curs_set(Int32) Declaration public static int curs_set(int visibility) Parameters Type Name Description System.Int32 visibility Returns Type Description System.Int32 def_prog_mode() Declaration public static int def_prog_mode() Returns Type Description System.Int32 def_shell_mode() Declaration public static int def_shell_mode() Returns Type Description System.Int32 doupdate() Declaration public static int doupdate() Returns Type Description System.Int32 echo() Declaration public static int echo() Returns Type Description System.Int32 endwin() Declaration public static int endwin() Returns Type Description System.Int32 flushinp() Declaration public static int flushinp() Returns Type Description System.Int32 get_wch(out Int32) Declaration public static int get_wch(out int sequence) Parameters Type Name Description System.Int32 sequence Returns Type Description System.Int32 getch() Declaration public static int getch() Returns Type Description System.Int32 getmouse(out Curses.MouseEvent) Declaration public static uint getmouse(out Curses.MouseEvent ev) Parameters Type Name Description Curses.MouseEvent ev Returns Type Description System.UInt32 halfdelay(Int32) Declaration public static int halfdelay(int t) Parameters Type Name Description System.Int32 t Returns Type Description System.Int32 has_colors() Declaration public static bool has_colors() Returns Type Description System.Boolean idcok(IntPtr, Boolean) Declaration public static void idcok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf idlok(IntPtr, Boolean) Declaration public static int idlok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 immedok(IntPtr, Boolean) Declaration public static void immedok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf init_pair(Int16, Int16, Int16) Declaration public static int init_pair(short pair, short f, short b) Parameters Type Name Description System.Int16 pair System.Int16 f System.Int16 b Returns Type Description System.Int32 InitColorPair(Int16, Int16, Int16) Declaration public static int InitColorPair(short pair, short foreground, short background) Parameters Type Name Description System.Int16 pair System.Int16 foreground System.Int16 background Returns Type Description System.Int32 initscr() Declaration public static Curses.Window initscr() Returns Type Description Curses.Window intrflush(IntPtr, Boolean) Declaration public static int intrflush(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 is_term_resized(Int32, Int32) Declaration public static bool is_term_resized(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Boolean IsAlt(Int32) Declaration public static int IsAlt(int key) Parameters Type Name Description System.Int32 key Returns Type Description System.Int32 isendwin() Declaration public static bool isendwin() Returns Type Description System.Boolean keypad(IntPtr, Boolean) Declaration public static int keypad(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 leaveok(IntPtr, Boolean) Declaration public static int leaveok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 meta(IntPtr, Boolean) Declaration public static int meta(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 mouseinterval(Int32) Declaration public static int mouseinterval(int interval) Parameters Type Name Description System.Int32 interval Returns Type Description System.Int32 mousemask(Curses.Event, out Curses.Event) Declaration public static Curses.Event mousemask(Curses.Event newmask, out Curses.Event oldmask) Parameters Type Name Description Curses.Event newmask Curses.Event oldmask Returns Type Description Curses.Event move(Int32, Int32) Declaration public static int move(int line, int col) Parameters Type Name Description System.Int32 line System.Int32 col Returns Type Description System.Int32 mvaddch(Int32, Int32, Int32) Declaration public static int mvaddch(int y, int x, int ch) Parameters Type Name Description System.Int32 y System.Int32 x System.Int32 ch Returns Type Description System.Int32 mvaddwstr(Int32, Int32, String) Declaration public static int mvaddwstr(int y, int x, string s) Parameters Type Name Description System.Int32 y System.Int32 x System.String s Returns Type Description System.Int32 mvgetch(Int32, Int32) Declaration public static int mvgetch(int y, int x) Parameters Type Name Description System.Int32 y System.Int32 x Returns Type Description System.Int32 nl() Declaration public static int nl() Returns Type Description System.Int32 nocbreak() Declaration public static int nocbreak() Returns Type Description System.Int32 noecho() Declaration public static int noecho() Returns Type Description System.Int32 nonl() Declaration public static int nonl() Returns Type Description System.Int32 noqiflush() Declaration public static void noqiflush() noraw() Declaration public static int noraw() Returns Type Description System.Int32 notimeout(IntPtr, Boolean) Declaration public static int notimeout(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 qiflush() Declaration public static void qiflush() raw() Declaration public static int raw() Returns Type Description System.Int32 redrawwin(IntPtr) Declaration public static int redrawwin(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 refresh() Declaration public static int refresh() Returns Type Description System.Int32 reset_prog_mode() Declaration public static int reset_prog_mode() Returns Type Description System.Int32 reset_shell_mode() Declaration public static int reset_shell_mode() Returns Type Description System.Int32 resetty() Declaration public static int resetty() Returns Type Description System.Int32 resize_term(Int32, Int32) Declaration public static int resize_term(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Int32 resizeterm(Int32, Int32) Declaration public static int resizeterm(int lines, int columns) Parameters Type Name Description System.Int32 lines System.Int32 columns Returns Type Description System.Int32 savetty() Declaration public static int savetty() Returns Type Description System.Int32 scrollok(IntPtr, Boolean) Declaration public static int scrollok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf Returns Type Description System.Int32 setlocale(Int32, String) Declaration public static extern int setlocale(int cate, string locale) Parameters Type Name Description System.Int32 cate System.String locale Returns Type Description System.Int32 setscrreg(Int32, Int32) Declaration public static int setscrreg(int top, int bot) Parameters Type Name Description System.Int32 top System.Int32 bot Returns Type Description System.Int32 start_color() Declaration public static int start_color() Returns Type Description System.Int32 StartColor() Declaration public static int StartColor() Returns Type Description System.Int32 timeout(Int32) Declaration public static int timeout(int delay) Parameters Type Name Description System.Int32 delay Returns Type Description System.Int32 typeahead(IntPtr) Declaration public static int typeahead(IntPtr fd) Parameters Type Name Description System.IntPtr fd Returns Type Description System.Int32 ungetch(Int32) Declaration public static int ungetch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 ungetmouse(ref Curses.MouseEvent) Declaration public static uint ungetmouse(ref Curses.MouseEvent ev) Parameters Type Name Description Curses.MouseEvent ev Returns Type Description System.UInt32 use_default_colors() Declaration public static int use_default_colors() Returns Type Description System.Int32 use_env(Boolean) Declaration public static void use_env(bool f) Parameters Type Name Description System.Boolean f UseDefaultColors() Declaration public static int UseDefaultColors() Returns Type Description System.Int32 waddch(IntPtr, Int32) Declaration public static int waddch(IntPtr win, int ch) Parameters Type Name Description System.IntPtr win System.Int32 ch Returns Type Description System.Int32 wmove(IntPtr, Int32, Int32) Declaration public static int wmove(IntPtr win, int line, int col) Parameters Type Name Description System.IntPtr win System.Int32 line System.Int32 col Returns Type Description System.Int32 wnoutrefresh(IntPtr) Declaration public static int wnoutrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 wrefresh(IntPtr) Declaration public static int wrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 wsetscrreg(IntPtr, Int32, Int32) Declaration public static int wsetscrreg(IntPtr win, int top, int bot) Parameters Type Name Description System.IntPtr win System.Int32 top System.Int32 bot Returns Type Description System.Int32 wtimeout(IntPtr, Int32) Declaration public static int wtimeout(IntPtr win, int delay) Parameters Type Name Description System.IntPtr win System.Int32 delay Returns Type Description System.Int32" }, "api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html": { "href": "api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html", @@ -812,7 +812,7 @@ "api/UICatalog/UICatalog.Scenario.html": { "href": "api/UICatalog/UICatalog.Scenario.html", "title": "Class Scenario", - "keywords": "Class Scenario Base class for each demo/scenario. To define a new scenario: Create a new .cs file in the Scenarios directory that derives from Scenario . Annotate the Scenario derived class with a Scenario.ScenarioMetadata attribute specifying the scenario's name and description. Add one or more Scenario.ScenarioCategory attributes to the class specifying which categories the scenario belongs to. If you don't specify a category the scenario will show up in \"_All\". Implement the Setup() override which will be called when a user selects the scenario to run. Optionally, implement the Init(Toplevel, ColorScheme) and/or Run() overrides to provide a custom implementation. The UI Catalog program uses reflection to find all scenarios and adds them to the ListViews. Press ENTER to run the selected scenario. Press CTRL-Q to exit it. / Inheritance System.Object Scenario AllViewsTester AutoSizeAndDirectionText BackgroundWorkerCollection BasicColors Borders BordersComparisons BordersOnFrameView BordersOnToplevel BordersOnWindow Buttons CharacterMap ClassExplorer Clipping ComboBoxIteration ComputedLayout ContextMenus CsvEditor Dialogs DynamicMenuBar DynamicStatusBar Editor GraphViewExample HexEditor InteractiveTree InvertColors Keys LabelsAsLabels LineViewExample ListsAndCombos ListViewWithSelection MessageBoxes Mouse MultiColouredTable MyScenario Notepad Progress ProgressBarStyles Scrolling SendKeys SingleBackgroundWorker SyntaxHighlighting TableEditor TabViewExample Text TextAlignments TextAlignmentsAndDirections TextFormatterDemo TextViewAutocompletePopup Threading TimeAndDate TreeUseCases TreeViewFileSystem UnicodeInMenu WindowsAndFrameViews Implements System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog Assembly : UICatalog.dll Syntax public class Scenario : IDisposable Examples The example below is provided in the Scenarios directory as a generic sample that can be copied and re-named: using Terminal.Gui; namespace UICatalog { [ScenarioMetadata (Name: \"Generic\", Description: \"Generic sample - A template for creating new Scenarios\")] [ScenarioCategory (\"Controls\")] class MyScenario : Scenario { public override void Setup () { // Put your scenario code here, e.g. Win.Add (new Button (\"Press me!\") { X = Pos.Center (), Y = Pos.Center (), Clicked = () => MessageBox.Query (20, 7, \"Hi\", \"Neat?\", \"Yes\", \"No\") }); } } } Properties Top The Top level for the Scenario . This should be set to Top in most cases. Declaration public Toplevel Top { get; set; } Property Value Type Description Toplevel Win The Window for the Scenario . This should be set within the Top in most cases. Declaration public Window Win { get; set; } Property Value Type Description Window Methods Dispose() Declaration public void Dispose() Dispose(Boolean) Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing GetCategories() Helper function to get the list of categories a Scenario belongs to (defined in Scenario.ScenarioCategory ) Declaration public List GetCategories() Returns Type Description System.Collections.Generic.List < System.String > list of category names GetDerivedClasses() Returns an instance of each Scenario defined in the project. https://stackoverflow.com/questions/5411694/get-all-inherited-classes-of-an-abstract-class Declaration public static List GetDerivedClasses() Returns Type Description System.Collections.Generic.List < System.Type > Type Parameters Name Description T GetDescription() Helper to get the Scenario Description (defined in Scenario.ScenarioMetadata ) Declaration public string GetDescription() Returns Type Description System.String GetName() Helper to get the Scenario Name (defined in Scenario.ScenarioMetadata ) Declaration public string GetName() Returns Type Description System.String Init(Toplevel, ColorScheme) Helper that provides the default Window implementation with a frame and label showing the name of the Scenario and logic to exit back to the Scenario picker UI. Override Init(Toplevel, ColorScheme) to provide any Toplevel behavior needed. Declaration public virtual void Init(Toplevel top, ColorScheme colorScheme) Parameters Type Name Description Toplevel top The Toplevel created by the UI Catalog host. ColorScheme colorScheme The colorscheme to use. Remarks The base implementation calls Init(ConsoleDriver, IMainLoopDriver) , sets Top to the passed in Toplevel , creates a Window for Win and adds it to Top . Overrides that do not call the base. Run() , must call Init(ConsoleDriver, IMainLoopDriver) before creating any views or calling other Terminal.Gui APIs. RequestStop() Stops the scenario. Override to change shutdown behavior for the Scenario . Declaration public virtual void RequestStop() Run() Runs the Scenario . Override to start the Scenario using a Toplevel different than Top . Declaration public virtual void Run() Remarks Overrides that do not call the base. Run() , must call Shutdown() before returning. Setup() Override this to implement the Scenario setup logic (create controls, etc...). Declaration public virtual void Setup() Remarks This is typically the best place to put scenario logic code. ToString() Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Implements System.IDisposable" + "keywords": "Class Scenario Base class for each demo/scenario. To define a new scenario: Create a new .cs file in the Scenarios directory that derives from Scenario . Annotate the Scenario derived class with a Scenario.ScenarioMetadata attribute specifying the scenario's name and description. Add one or more Scenario.ScenarioCategory attributes to the class specifying which categories the scenario belongs to. If you don't specify a category the scenario will show up in \"_All\". Implement the Setup() override which will be called when a user selects the scenario to run. Optionally, implement the Init(Toplevel, ColorScheme) and/or Run() overrides to provide a custom implementation. The UI Catalog program uses reflection to find all scenarios and adds them to the ListViews. Press ENTER to run the selected scenario. Press CTRL-Q to exit it. / Inheritance System.Object Scenario AllViewsTester AutoSizeAndDirectionText BackgroundWorkerCollection BasicColors Borders BordersComparisons BordersOnFrameView BordersOnToplevel BordersOnWindow Buttons CharacterMap ClassExplorer Clipping ColorPickers ComboBoxIteration ComputedLayout ContextMenus CsvEditor Dialogs DynamicMenuBar DynamicStatusBar Editor GraphViewExample HexEditor InteractiveTree InvertColors Keys LabelsAsLabels LineViewExample ListsAndCombos ListViewWithSelection MessageBoxes Mouse MultiColouredTable MyScenario Notepad Progress ProgressBarStyles Scrolling SendKeys SingleBackgroundWorker SyntaxHighlighting TableEditor TabViewExample Text TextAlignments TextAlignmentsAndDirections TextFormatterDemo TextViewAutocompletePopup Threading TimeAndDate TreeUseCases TreeViewFileSystem UnicodeInMenu WindowsAndFrameViews Implements System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog Assembly : UICatalog.dll Syntax public class Scenario : IDisposable Examples The example below is provided in the Scenarios directory as a generic sample that can be copied and re-named: using Terminal.Gui; namespace UICatalog { [ScenarioMetadata (Name: \"Generic\", Description: \"Generic sample - A template for creating new Scenarios\")] [ScenarioCategory (\"Controls\")] class MyScenario : Scenario { public override void Setup () { // Put your scenario code here, e.g. Win.Add (new Button (\"Press me!\") { X = Pos.Center (), Y = Pos.Center (), Clicked = () => MessageBox.Query (20, 7, \"Hi\", \"Neat?\", \"Yes\", \"No\") }); } } } Properties Top The Top level for the Scenario . This should be set to Top in most cases. Declaration public Toplevel Top { get; set; } Property Value Type Description Toplevel Win The Window for the Scenario . This should be set within the Top in most cases. Declaration public Window Win { get; set; } Property Value Type Description Window Methods Dispose() Declaration public void Dispose() Dispose(Boolean) Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing GetCategories() Helper function to get the list of categories a Scenario belongs to (defined in Scenario.ScenarioCategory ) Declaration public List GetCategories() Returns Type Description System.Collections.Generic.List < System.String > list of category names GetDerivedClasses() Returns an instance of each Scenario defined in the project. https://stackoverflow.com/questions/5411694/get-all-inherited-classes-of-an-abstract-class Declaration public static List GetDerivedClasses() Returns Type Description System.Collections.Generic.List < System.Type > Type Parameters Name Description T GetDescription() Helper to get the Scenario Description (defined in Scenario.ScenarioMetadata ) Declaration public string GetDescription() Returns Type Description System.String GetName() Helper to get the Scenario Name (defined in Scenario.ScenarioMetadata ) Declaration public string GetName() Returns Type Description System.String Init(Toplevel, ColorScheme) Helper that provides the default Window implementation with a frame and label showing the name of the Scenario and logic to exit back to the Scenario picker UI. Override Init(Toplevel, ColorScheme) to provide any Toplevel behavior needed. Declaration public virtual void Init(Toplevel top, ColorScheme colorScheme) Parameters Type Name Description Toplevel top The Toplevel created by the UI Catalog host. ColorScheme colorScheme The colorscheme to use. Remarks The base implementation calls Init(ConsoleDriver, IMainLoopDriver) , sets Top to the passed in Toplevel , creates a Window for Win and adds it to Top . Overrides that do not call the base. Run() , must call Init(ConsoleDriver, IMainLoopDriver) before creating any views or calling other Terminal.Gui APIs. RequestStop() Stops the scenario. Override to change shutdown behavior for the Scenario . Declaration public virtual void RequestStop() Run() Runs the Scenario . Override to start the Scenario using a Toplevel different than Top . Declaration public virtual void Run() Remarks Overrides that do not call the base. Run() , must call Shutdown() before returning. Setup() Override this to implement the Scenario setup logic (create controls, etc...). Declaration public virtual void Setup() Remarks This is typically the best place to put scenario logic code. ToString() Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Implements System.IDisposable" }, "api/UICatalog/UICatalog.Scenario.ScenarioCategory.html": { "href": "api/UICatalog/UICatalog.Scenario.ScenarioCategory.html", @@ -889,6 +889,11 @@ "title": "Class Clipping", "keywords": "Class Clipping Inheritance System.Object Scenario Clipping Implements System.IDisposable Inherited Members Scenario.Top Scenario.Win Scenario.GetName() Scenario.GetDescription() Scenario.GetCategories() Scenario.ToString() Scenario.Run() Scenario.RequestStop() Scenario.GetDerivedClasses() Scenario.Dispose(Boolean) Scenario.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax [Scenario.ScenarioMetadata(\"Clipping\", \"Used to test that things clip correctly\")] [Scenario.ScenarioCategory(\"Tests\")] public class Clipping : Scenario, IDisposable Methods Init(Toplevel, ColorScheme) Declaration public override void Init(Toplevel top, ColorScheme colorScheme) Parameters Type Name Description Toplevel top ColorScheme colorScheme Overrides Scenario.Init(Toplevel, ColorScheme) Setup() Declaration public override void Setup() Overrides Scenario.Setup() Implements System.IDisposable" }, + "api/UICatalog/UICatalog.Scenarios.ColorPickers.html": { + "href": "api/UICatalog/UICatalog.Scenarios.ColorPickers.html", + "title": "Class ColorPickers", + "keywords": "Class ColorPickers Inheritance System.Object Scenario ColorPickers Implements System.IDisposable Inherited Members Scenario.Top Scenario.Win Scenario.Init(Toplevel, ColorScheme) Scenario.GetName() Scenario.GetDescription() Scenario.GetCategories() Scenario.ToString() Scenario.Run() Scenario.RequestStop() Scenario.GetDerivedClasses() Scenario.Dispose(Boolean) Scenario.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax [Scenario.ScenarioMetadata(\"Color Picker\", \"Color Picker.\")] [Scenario.ScenarioCategory(\"Colors\")] [Scenario.ScenarioCategory(\"Controls\")] public class ColorPickers : Scenario, IDisposable Methods Setup() Setup the scenario. Declaration public override void Setup() Overrides Scenario.Setup() Implements System.IDisposable" + }, "api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html": { "href": "api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html", "title": "Class ComboBoxIteration", @@ -922,12 +927,12 @@ "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html", "title": "Class DynamicMenuBar.DynamicMenuBarDetails", - "keywords": "Class DynamicMenuBar.DynamicMenuBarDetails Inheritance System.Object Responder View FrameView DynamicMenuBar.DynamicMenuBarDetails Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FrameView.Title FrameView.Border FrameView.Add(View) FrameView.Remove(View) FrameView.RemoveAll() FrameView.Redraw(Rect) FrameView.Text FrameView.TextAlignment FrameView.OnEnter(View) FrameView.OnCanFocusChanged() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicMenuBarDetails : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicMenuBarDetails(ustring) Declaration public DynamicMenuBarDetails(ustring title) Parameters Type Name Description NStack.ustring title DynamicMenuBarDetails(MenuItem, Boolean) Declaration public DynamicMenuBarDetails(MenuItem menuItem = null, bool hasParent = false) Parameters Type Name Description MenuItem menuItem System.Boolean hasParent Fields _ckbIsTopLevel Declaration public CheckBox _ckbIsTopLevel Field Value Type Description CheckBox _ckbSubMenu Declaration public CheckBox _ckbSubMenu Field Value Type Description CheckBox _menuItem Declaration public MenuItem _menuItem Field Value Type Description MenuItem _rbChkStyle Declaration public RadioGroup _rbChkStyle Field Value Type Description RadioGroup _txtAction Declaration public TextView _txtAction Field Value Type Description TextView _txtHelp Declaration public TextField _txtHelp Field Value Type Description TextField _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods CreateAction(MenuItem, DynamicMenuBar.DynamicMenuItem) Declaration public Action CreateAction(MenuItem menuItem, DynamicMenuBar.DynamicMenuItem item) Parameters Type Name Description MenuItem menuItem DynamicMenuBar.DynamicMenuItem item Returns Type Description System.Action EditMenuBarItem(MenuItem) Declaration public void EditMenuBarItem(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem EnterMenuItem() Declaration public DynamicMenuBar.DynamicMenuItem EnterMenuItem() Returns Type Description DynamicMenuBar.DynamicMenuItem UpdateParent(ref MenuItem) Declaration public void UpdateParent(ref MenuItem menuItem) Parameters Type Name Description MenuItem menuItem Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DynamicMenuBar.DynamicMenuBarDetails Inheritance System.Object Responder View FrameView DynamicMenuBar.DynamicMenuBarDetails Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FrameView.Title FrameView.Border FrameView.Add(View) FrameView.Remove(View) FrameView.RemoveAll() FrameView.Redraw(Rect) FrameView.Text FrameView.TextAlignment FrameView.OnEnter(View) FrameView.OnCanFocusChanged() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicMenuBarDetails : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicMenuBarDetails(ustring) Declaration public DynamicMenuBarDetails(ustring title) Parameters Type Name Description NStack.ustring title DynamicMenuBarDetails(MenuItem, Boolean) Declaration public DynamicMenuBarDetails(MenuItem menuItem = null, bool hasParent = false) Parameters Type Name Description MenuItem menuItem System.Boolean hasParent Fields _ckbIsTopLevel Declaration public CheckBox _ckbIsTopLevel Field Value Type Description CheckBox _ckbSubMenu Declaration public CheckBox _ckbSubMenu Field Value Type Description CheckBox _menuItem Declaration public MenuItem _menuItem Field Value Type Description MenuItem _rbChkStyle Declaration public RadioGroup _rbChkStyle Field Value Type Description RadioGroup _txtAction Declaration public TextView _txtAction Field Value Type Description TextView _txtHelp Declaration public TextField _txtHelp Field Value Type Description TextField _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods CreateAction(MenuItem, DynamicMenuBar.DynamicMenuItem) Declaration public Action CreateAction(MenuItem menuItem, DynamicMenuBar.DynamicMenuItem item) Parameters Type Name Description MenuItem menuItem DynamicMenuBar.DynamicMenuItem item Returns Type Description System.Action EditMenuBarItem(MenuItem) Declaration public void EditMenuBarItem(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem EnterMenuItem() Declaration public DynamicMenuBar.DynamicMenuItem EnterMenuItem() Returns Type Description DynamicMenuBar.DynamicMenuItem UpdateParent(ref MenuItem) Declaration public void UpdateParent(ref MenuItem menuItem) Parameters Type Name Description MenuItem menuItem Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html", "title": "Class DynamicMenuBar.DynamicMenuBarSample", - "keywords": "Class DynamicMenuBar.DynamicMenuBarSample Inheritance System.Object Responder View Toplevel Window DynamicMenuBar.DynamicMenuBarSample Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicMenuBarSample : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicMenuBarSample(ustring) Declaration public DynamicMenuBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties DataContext Declaration public DynamicMenuBar.DynamicMenuItemModel DataContext { get; set; } Property Value Type Description DynamicMenuBar.DynamicMenuItemModel Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DynamicMenuBar.DynamicMenuBarSample Inheritance System.Object Responder View Toplevel Window DynamicMenuBar.DynamicMenuBarSample Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicMenuBarSample : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicMenuBarSample(ustring) Declaration public DynamicMenuBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties DataContext Declaration public DynamicMenuBar.DynamicMenuItemModel DataContext { get; set; } Property Value Type Description DynamicMenuBar.DynamicMenuItemModel Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html", @@ -972,12 +977,12 @@ "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html", "title": "Class DynamicStatusBar.DynamicStatusBarDetails", - "keywords": "Class DynamicStatusBar.DynamicStatusBarDetails Inheritance System.Object Responder View FrameView DynamicStatusBar.DynamicStatusBarDetails Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FrameView.Title FrameView.Border FrameView.Add(View) FrameView.Remove(View) FrameView.RemoveAll() FrameView.Redraw(Rect) FrameView.Text FrameView.TextAlignment FrameView.OnEnter(View) FrameView.OnCanFocusChanged() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicStatusBarDetails : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicStatusBarDetails(ustring) Declaration public DynamicStatusBarDetails(ustring title) Parameters Type Name Description NStack.ustring title DynamicStatusBarDetails(StatusItem) Declaration public DynamicStatusBarDetails(StatusItem statusItem = null) Parameters Type Name Description StatusItem statusItem Fields _statusItem Declaration public StatusItem _statusItem Field Value Type Description StatusItem _txtAction Declaration public TextView _txtAction Field Value Type Description TextView _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods CreateAction(DynamicStatusBar.DynamicStatusItem) Declaration public Action CreateAction(DynamicStatusBar.DynamicStatusItem item) Parameters Type Name Description DynamicStatusBar.DynamicStatusItem item Returns Type Description System.Action EditStatusItem(StatusItem) Declaration public void EditStatusItem(StatusItem statusItem) Parameters Type Name Description StatusItem statusItem EnterStatusItem() Declaration public DynamicStatusBar.DynamicStatusItem EnterStatusItem() Returns Type Description DynamicStatusBar.DynamicStatusItem Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DynamicStatusBar.DynamicStatusBarDetails Inheritance System.Object Responder View FrameView DynamicStatusBar.DynamicStatusBarDetails Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members FrameView.Title FrameView.Border FrameView.Add(View) FrameView.Remove(View) FrameView.RemoveAll() FrameView.Redraw(Rect) FrameView.Text FrameView.TextAlignment FrameView.OnEnter(View) FrameView.OnCanFocusChanged() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.PositionCursor() View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicStatusBarDetails : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicStatusBarDetails(ustring) Declaration public DynamicStatusBarDetails(ustring title) Parameters Type Name Description NStack.ustring title DynamicStatusBarDetails(StatusItem) Declaration public DynamicStatusBarDetails(StatusItem statusItem = null) Parameters Type Name Description StatusItem statusItem Fields _statusItem Declaration public StatusItem _statusItem Field Value Type Description StatusItem _txtAction Declaration public TextView _txtAction Field Value Type Description TextView _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods CreateAction(DynamicStatusBar.DynamicStatusItem) Declaration public Action CreateAction(DynamicStatusBar.DynamicStatusItem item) Parameters Type Name Description DynamicStatusBar.DynamicStatusItem item Returns Type Description System.Action EditStatusItem(StatusItem) Declaration public void EditStatusItem(StatusItem statusItem) Parameters Type Name Description StatusItem statusItem EnterStatusItem() Declaration public DynamicStatusBar.DynamicStatusItem EnterStatusItem() Returns Type Description DynamicStatusBar.DynamicStatusItem Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html", "title": "Class DynamicStatusBar.DynamicStatusBarSample", - "keywords": "Class DynamicStatusBar.DynamicStatusBarSample Inheritance System.Object Responder View Toplevel Window DynamicStatusBar.DynamicStatusBarSample Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicStatusBarSample : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicStatusBarSample(ustring) Declaration public DynamicStatusBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties DataContext Declaration public DynamicStatusBar.DynamicStatusItemModel DataContext { get; set; } Property Value Type Description DynamicStatusBar.DynamicStatusItemModel Methods SetTitleText(ustring, ustring) Declaration public static ustring SetTitleText(ustring title, ustring shortcut) Parameters Type Name Description NStack.ustring title NStack.ustring shortcut Returns Type Description NStack.ustring Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DynamicStatusBar.DynamicStatusBarSample Inheritance System.Object Responder View Toplevel Window DynamicStatusBar.DynamicStatusBarSample Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class DynamicStatusBarSample : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors DynamicStatusBarSample(ustring) Declaration public DynamicStatusBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties DataContext Declaration public DynamicStatusBar.DynamicStatusItemModel DataContext { get; set; } Property Value Type Description DynamicStatusBar.DynamicStatusItemModel Methods SetTitleText(ustring, ustring) Declaration public static ustring SetTitleText(ustring title, ustring shortcut) Parameters Type Name Description NStack.ustring title NStack.ustring shortcut Returns Type Description NStack.ustring Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html": { "href": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html", @@ -1032,7 +1037,7 @@ "api/UICatalog/UICatalog.Scenarios.html": { "href": "api/UICatalog/UICatalog.Scenarios.html", "title": "Namespace UICatalog.Scenarios", - "keywords": "Namespace UICatalog.Scenarios Classes AllViewsTester AutoSizeAndDirectionText BackgroundWorkerCollection BasicColors Borders BordersComparisons BordersOnFrameView BordersOnToplevel BordersOnWindow Buttons CharacterMap This Scenario demonstrates building a custom control (a class deriving from View) that: Provides a simple \"Character Map\" application (like Windows' charmap.exe). Helps test unicode character rendering in Terminal.Gui Illustrates how to use ScrollView to do infinite scrolling ClassExplorer Clipping ComboBoxIteration ComputedLayout This Scenario demonstrates how to use Termina.gui's Dim and Pos Layout System. [x] - Using Dim.Fill to fill a window [x] - Using Dim.Fill and Dim.Pos to automatically align controls based on an initial control [ ] - ... ContextMenus CsvEditor Dialogs DynamicMenuBar DynamicMenuBar.Binding DynamicMenuBar.DynamicMenuBarDetails DynamicMenuBar.DynamicMenuBarSample DynamicMenuBar.DynamicMenuItem DynamicMenuBar.DynamicMenuItemList DynamicMenuBar.DynamicMenuItemModel DynamicMenuBar.ListWrapperConverter DynamicMenuBar.UStringValueConverter DynamicStatusBar DynamicStatusBar.Binding DynamicStatusBar.DynamicStatusBarDetails DynamicStatusBar.DynamicStatusBarSample DynamicStatusBar.DynamicStatusItem DynamicStatusBar.DynamicStatusItemList DynamicStatusBar.DynamicStatusItemModel DynamicStatusBar.ListWrapperConverter DynamicStatusBar.UStringValueConverter Editor GraphViewExample HexEditor InteractiveTree InvertColors Keys LabelsAsLabels LineViewExample ListsAndCombos ListViewWithSelection MessageBoxes Mouse MultiColouredTable MyScenario Notepad Progress ProgressBarStyles Scrolling SendKeys SingleBackgroundWorker SingleBackgroundWorker.MainApp SingleBackgroundWorker.StagingUIController SyntaxHighlighting TableEditor TabViewExample Text TextAlignments TextAlignmentsAndDirections TextFormatterDemo TextViewAutocompletePopup Threading TimeAndDate TreeUseCases TreeViewFileSystem UnicodeInMenu WindowsAndFrameViews Interfaces DynamicMenuBar.IValueConverter DynamicStatusBar.IValueConverter" + "keywords": "Namespace UICatalog.Scenarios Classes AllViewsTester AutoSizeAndDirectionText BackgroundWorkerCollection BasicColors Borders BordersComparisons BordersOnFrameView BordersOnToplevel BordersOnWindow Buttons CharacterMap This Scenario demonstrates building a custom control (a class deriving from View) that: Provides a simple \"Character Map\" application (like Windows' charmap.exe). Helps test unicode character rendering in Terminal.Gui Illustrates how to use ScrollView to do infinite scrolling ClassExplorer Clipping ColorPickers ComboBoxIteration ComputedLayout This Scenario demonstrates how to use Termina.gui's Dim and Pos Layout System. [x] - Using Dim.Fill to fill a window [x] - Using Dim.Fill and Dim.Pos to automatically align controls based on an initial control [ ] - ... ContextMenus CsvEditor Dialogs DynamicMenuBar DynamicMenuBar.Binding DynamicMenuBar.DynamicMenuBarDetails DynamicMenuBar.DynamicMenuBarSample DynamicMenuBar.DynamicMenuItem DynamicMenuBar.DynamicMenuItemList DynamicMenuBar.DynamicMenuItemModel DynamicMenuBar.ListWrapperConverter DynamicMenuBar.UStringValueConverter DynamicStatusBar DynamicStatusBar.Binding DynamicStatusBar.DynamicStatusBarDetails DynamicStatusBar.DynamicStatusBarSample DynamicStatusBar.DynamicStatusItem DynamicStatusBar.DynamicStatusItemList DynamicStatusBar.DynamicStatusItemModel DynamicStatusBar.ListWrapperConverter DynamicStatusBar.UStringValueConverter Editor GraphViewExample HexEditor InteractiveTree InvertColors Keys LabelsAsLabels LineViewExample ListsAndCombos ListViewWithSelection MessageBoxes Mouse MultiColouredTable MyScenario Notepad Progress ProgressBarStyles Scrolling SendKeys SingleBackgroundWorker SingleBackgroundWorker.MainApp SingleBackgroundWorker.StagingUIController SyntaxHighlighting TableEditor TabViewExample Text TextAlignments TextAlignmentsAndDirections TextFormatterDemo TextViewAutocompletePopup Threading TimeAndDate TreeUseCases TreeViewFileSystem UnicodeInMenu WindowsAndFrameViews Interfaces DynamicMenuBar.IValueConverter DynamicStatusBar.IValueConverter" }, "api/UICatalog/UICatalog.Scenarios.InteractiveTree.html": { "href": "api/UICatalog/UICatalog.Scenarios.InteractiveTree.html", @@ -1122,12 +1127,12 @@ "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html": { "href": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html", "title": "Class SingleBackgroundWorker.MainApp", - "keywords": "Class SingleBackgroundWorker.MainApp Inheritance System.Object Responder View Toplevel SingleBackgroundWorker.MainApp Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.Add(View) Toplevel.Remove(View) Toplevel.RemoveAll() Toplevel.PositionToplevel(Toplevel) Toplevel.Redraw(Rect) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class MainApp : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors MainApp() Declaration public MainApp() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class SingleBackgroundWorker.MainApp Inheritance System.Object Responder View Toplevel SingleBackgroundWorker.MainApp Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.Add(View) Toplevel.Remove(View) Toplevel.RemoveAll() Toplevel.PositionToplevel(Toplevel) Toplevel.Redraw(Rect) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.Border View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnCanFocusChanged() View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class MainApp : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors MainApp() Declaration public MainApp() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html": { "href": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html", "title": "Class SingleBackgroundWorker.StagingUIController", - "keywords": "Class SingleBackgroundWorker.StagingUIController Inheritance System.Object Responder View Toplevel Window SingleBackgroundWorker.StagingUIController Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class StagingUIController : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StagingUIController(Nullable, List) Declaration public StagingUIController(DateTime? start, List list) Parameters Type Name Description System.Nullable < System.DateTime > start System.Collections.Generic.List < System.String > list Methods Load() Declaration public void Load() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class SingleBackgroundWorker.StagingUIController Inheritance System.Object Responder View Toplevel Window SingleBackgroundWorker.StagingUIController Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Activate Toplevel.Deactivate Toplevel.ChildClosed Toplevel.AllChildClosed Toplevel.Closing Toplevel.Closed Toplevel.ChildLoaded Toplevel.ChildUnloaded Toplevel.Resized Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.IsMdiContainer Toplevel.IsMdiChild Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.PositionToplevel(Toplevel) Toplevel.MouseEvent(MouseEvent) Toplevel.WillPresent() Toplevel.MoveNext() Toplevel.MovePrevious() Toplevel.RequestStop() Toplevel.RequestStop(Toplevel) Toplevel.PositionCursor() Toplevel.GetTopMdiChild(Type, String[]) Toplevel.ShowChild(Toplevel) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.CanFocusChanged View.EnabledChanged View.VisibleChanged View.HotKeyChanged View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.TextFormatter View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32, Boolean) View.HasFocus View.OnAdded(View) View.OnRemoved(View) View.OnEnter(View) View.OnLeave(View) View.Focused View.MostFocused View.ColorScheme View.AddRune(Int32, Int32, Rune) View.ClearNeedsDisplay() View.DrawContent View.OnDrawContent(Rect) View.DrawContentComplete View.OnDrawContentComplete(Rect) View.SetFocus() View.KeyPress View.InvokeKeybindings(KeyEvent) View.AddKeyBinding(Key, Command) View.ReplaceKeyBinding(Key, Key) View.ContainsKeyBinding(Key) View.ClearKeybindings() View.ClearKeybinding(Key) View.ClearKeybinding(Command) View.AddCommand(Command, Func>) View.GetSupportedCommands() View.GetKeyFromCommand(Command) View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.Enabled View.Visible View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.OnEnabledChanged() View.OnVisibleChanged() View.Dispose(Boolean) View.BeginInit() View.EndInit() View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) View.GetNormalColor() View.GetTopSuperView() Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UICatalog.Scenarios Assembly : UICatalog.dll Syntax public class StagingUIController : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StagingUIController(Nullable, List) Declaration public StagingUIController(DateTime? start, List list) Parameters Type Name Description System.Nullable < System.DateTime > start System.Collections.Generic.List < System.String > list Methods Load() Declaration public void Load() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html": { "href": "api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html", @@ -1222,7 +1227,7 @@ "articles/overview.html": { "href": "articles/overview.html", "title": "Terminal.Gui API Overview", - "keywords": "Terminal.Gui API Overview Terminal.Gui is a library intended to create console-based applications using C#. The framework has been designed to make it easy to write applications that will work on monochrome terminals, as well as modern color terminals with mouse support. This library works across Windows, Linux and MacOS. This library provides a text-based toolkit as works in a way similar to graphic toolkits. There are many controls that can be used to create your applications and it is event based, meaning that you create the user interface, hook up various events and then let the a processing loop run your application, and your code is invoked via one or more callbacks. The simplest application looks like this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var n = MessageBox.Query (50, 7, \"Question\", \"Do you like console apps?\", \"Yes\", \"No\"); return n; } } This example shows a prompt and returns an integer value depending on which value was selected by the user (Yes, No, or if they use chose not to make a decision and instead pressed the ESC key). More interesting user interfaces can be created by composing some of the various views that are included. In the following sections, you will see how applications are put together. In the example above, you can see that we have initialized the runtime by calling the Init method in the Application class - this sets up the environment, initializes the color schemes available for your application and clears the screen to start your application. The Application class, additionally creates an instance of the Toplevel class that is ready to be consumed, this instance is available in the Application.Top property, and can be used like this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var label = new Label (\"Hello World\") { X = Pos.Center (), Y = Pos.Center (), Height = 1, }; Application.Top.Add (label); Application.Run (); } } Typically, you will want your application to have more than a label, you might want a menu, and a region for your application to live in, the following code does this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var menu = new MenuBar (new MenuBarItem [] { new MenuBarItem (\"_File\", new MenuItem [] { new MenuItem (\"_Quit\", \"\", () => { Application.RequestStop (); }) }), }); var win = new Window (\"Hello\") { X = 0, Y = 1, Width = Dim.Fill (), Height = Dim.Fill () - 1 }; // Add both menu and win in a single call Application.Top.Add (menu, win); Application.Run (); } } Views All visible elements on a Terminal.Gui application are implemented as Views . Views are self-contained objects that take care of displaying themselves, can receive keyboard and mouse input and participate in the focus mechanism. Every view can contain an arbitrary number of children views. These are called the Subviews. You can add a view to an existing view, by calling the Add method, for example, to add a couple of buttons to a UI, you can do this: void SetupMyView (View myView) { var label = new Label (\"Username: \") { X = 1, Y = 1, Width = 20, Height = 1 }; myView.Add (label); var username = new TextField (\"\") { X = 1, Y = 2, Width = 30, Height = 1 }; myView.Add (username); } The container of a given view is called the SuperView and it is a property of every View. There are many views that you can use to spice up your application: Buttons , Labels , Text entry , Text view , Radio buttons , Checkboxes , Dialog boxes , Message boxes , Windows , Menus , ListViews , Frames , ProgressBars , Scroll views and Scrollbars . Layout Terminal.Gui supports two different layout systems, absolute and computed \\ (controlled by the LayoutStyle property on the view. The absolute system is used when you want the view to be positioned exactly in one location and want to manually control where the view is. This is done by invoking your View constructor with an argument of type Rect . When you do this, to change the position of the View, you can change the Frame property on the View. The computed layout system offers a few additional capabilities, like automatic centering, expanding of dimensions and a handful of other features. To use this you construct your object without an initial Frame , but set the X , Y , Width and Height properties after the object has been created. Examples: // Dynamically computed var label = new Label (\"Hello\") { X = 1, Y = Pos.Center (), Width = Dim.Fill (), Height = 1 }; // Absolute position using the provided rectangle var label2 = new Label (new Rect (1, 2, 20, 1), \"World\") The computed layout system does not take integers, instead the X and Y properties are of type Pos and the Width and Height properties are of type Dim both which can be created implicitly from integer values. The Pos Type The Pos type on X and Y offers a few options: Absolute position, by passing an integer Percentage of the parent's view size - Pos.Percent(n) Anchored from the end of the dimension - AnchorEnd(int margin=0) Centered, using Center() Reference the Left (X), Top (Y), Bottom, Right positions of another view The Pos values can be added or subtracted, like this: // Set the X coordinate to 10 characters left from the center view.X = Pos.Center () - 10; view.Y = Pos.Percent (20); anotherView.X = AnchorEnd (10); anotherView.Width = 9; myView.X = Pos.X (view); myView.Y = Pos.Bottom (anotherView); The Dim Type The Dim type is used for the Width and Height properties on the View and offers the following options: Absolute size, by passing an integer Percentage of the parent's view size - Dim.Percent(n) Fill to the end - Dim.Fill () Reference the Width or Height of another view Like, Pos , objects of type Dim can be added an subtracted, like this: // Set the Width to be 10 characters less than filling // the remaining portion of the screen view.Width = Dim.Fill () - 10; view.Height = Dim.Percent(20) - 1; anotherView.Height = Dim.Height (view)+1 TopLevels, Windows and Dialogs. Among the many kinds of views, you typically will create a Toplevel view (or any of its subclasses, like Window or Dialog which is special kind of views that can be executed modally - that is, the view can take over all input and returns only when the user chooses to complete their work there. The following sections cover the differences. TopLevel Views Toplevel views have no visible user interface elements and occupy an arbitrary portion of the screen. You would use a toplevel Modal view for example to launch an entire new experience in your application, one where you would have a new top-level menu for example. You typically would add a Menu and a Window to your Toplevel, it would look like this: using Terminal.Gui; class Demo { static void Edit (string filename) { var top = new Toplevel () { X = 0, Y = 0, Width = Dim.Fill (), Height = Dim.Fill () }; var menu = new MenuBar (new MenuBarItem [] { new MenuBarItem (\"_File\", new MenuItem [] { new MenuItem (\"_Close\", \"\", () => { Application.RequestStop (); }) }), }); // nest a window for the editor var win = new Window (filename) { X = 0, Y = 1, Width = Dim.Fill (), Height = Dim.Fill () - 1 }; var editor = new TextView () { X = 0, Y = 0, Width = Dim.Fill (), Height = Dim.Fill () }; editor.Text = System.IO.File.ReadAllText (filename); win.Add (editor); // Add both menu and win in a single call top.Add (win, menu); Application.Run (top); } } Window Views Window views extend the Toplevel view by providing a frame and a title around the toplevel - and can be moved on the screen with the mouse (caveat: code is currently disabled) From a user interface perspective, you might have more than one Window on the screen at a given time. Dialogs Dialog are Window objects that happen to be centered in the middle of the screen. Dialogs are instances of a Window that are centered in the screen, and are intended to be used modally - that is, they run, and they are expected to return a result before resuming execution of your application. Dialogs are a subclass of Window and additionally expose the AddButton API which manages the layout of any button passed to it, ensuring that the buttons are at the bottom of the dialog. Example: bool okpressed = false; var ok = new Button(\"Ok\"); var cancel = new Button(\"Cancel\"); var dialog = new Dialog (\"Quit\", 60, 7, ok, cancel); Which will show something like this: +- Quit -----------------------------------------------+ | | | | | [ Ok ] [ Cancel ] | +------------------------------------------------------+ Running Modally To run your Dialog, Window or Toplevel modally, you will invoke the Application.Run method on the toplevel. It is up to your code and event handlers to invoke the Application.RequestStop() method to terminate the modal execution. bool okpressed = false; var ok = new Button(3, 14, \"Ok\") { Clicked = () => { Application.RequestStop (); okpressed = true; } }; var cancel = new Button(10, 14, \"Cancel\") { Clicked = () => Application.RequestStop () }; var dialog = new Dialog (\"Login\", 60, 18, ok, cancel); var entry = new TextField () { X = 1, Y = 1, Width = Dim.Fill (), Height = 1 }; dialog.Add (entry); Application.Run (dialog); if (okpressed) Console.WriteLine (\"The user entered: \" + entry.Text); There is no return value from running modally, so your code will need to have a mechanism of indicating the reason that the execution of the modal dialog was completed, in the case above, the okpressed value is set to true if the user pressed or selected the Ok button. Input Handling Every view has a focused view, and if that view has nested views, one of those is the focused view. This is called the focus chain, and at any given time, only one View has the focus. The library binds the key Tab to focus the next logical view, and the Shift-Tab combination to focus the previous logical view. Keyboard processing is divided in three stages: HotKey processing, regular processing and cold key processing. Hot key processing happens first, and it gives all the views in the current toplevel a chance to monitor whether the key needs to be treated specially. This for example handles the scenarios where the user pressed Alt-o, and a view with a highlighted \"o\" is being displayed. If no view processed the hotkey, then the key is sent to the currently focused view. If the key was not processed by the normal processing, all views are given a chance to process the keystroke in their cold processing stage. Examples include the processing of the \"return\" key in a dialog when a button in the dialog has been flagged as the \"default\" action. The most common case is the normal processing, which sends the keystrokes to the currently focused view. Mouse events are processed in visual order, and the event will be sent to the view on the screen. The only exception is that no mouse events are delivered to background views when a modal view is running. More details are available on the Keyboard Event Processing document. Colors and Color Schemes All views have been configured with a color scheme that will work both in color terminals as well as the more limited black and white terminals. The various styles are captured in the Colors class which defined color schemes for the toplevel, the normal views, the menu bar, popup dialog boxes and error dialog boxes, that you can use like this: Colors.Toplevel Colors.Base Colors.Menu Colors.Dialog Colors.Error You can use them for example like this to set the colors for a new Window: var w = new Window (\"Hello\"); w.ColorScheme = Colors.Error The ColorScheme represents four values, the color used for Normal text, the color used for normal text when a view is focused an the colors for the hot-keys both in focused and unfocused modes. By using ColorSchemes you ensure that your application will work correctbly both in color and black and white terminals. Some views support setting individual color attributes, you create an attribute for a particular pair of Foreground/Background like this: var myColor = Application.Driver.MakeAttribute (Color.Blue, Color.Red); var label = new Label (...); label.TextColor = myColor MainLoop, Threads and Input Handling Detailed description of the mainloop is described on the Event Processing and the Application Main Loop document." + "keywords": "Terminal.Gui API Overview Terminal.Gui is a library intended to create console-based applications using C#. The framework has been designed to make it easy to write applications that will work on monochrome terminals, as well as modern color terminals with mouse support. This library works across Windows, Linux and MacOS. This library provides a text-based toolkit as works in a way similar to graphic toolkits. There are many controls that can be used to create your applications and it is event based, meaning that you create the user interface, hook up various events and then let the a processing loop run your application, and your code is invoked via one or more callbacks. The simplest application looks like this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var n = MessageBox.Query (50, 7, \"Question\", \"Do you like console apps?\", \"Yes\", \"No\"); Application.Shutdown (); return n; } } This example shows a prompt and returns an integer value depending on which value was selected by the user (Yes, No, or if they use chose not to make a decision and instead pressed the ESC key). More interesting user interfaces can be created by composing some of the various views that are included. In the following sections, you will see how applications are put together. In the example above, you can see that we have initialized the runtime by calling the Init method in the Application class - this sets up the environment, initializes the color schemes available for your application and clears the screen to start your application. The Application class, additionally creates an instance of the Toplevel class that is ready to be consumed, this instance is available in the Application.Top property, and can be used like this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var label = new Label (\"Hello World\") { X = Pos.Center (), Y = Pos.Center (), Height = 1, }; Application.Top.Add (label); Application.Run (); Application.Shutdown (); } } Typically, you will want your application to have more than a label, you might want a menu, and a region for your application to live in, the following code does this: using Terminal.Gui; class Demo { static int Main () { Application.Init (); var menu = new MenuBar (new MenuBarItem [] { new MenuBarItem (\"_File\", new MenuItem [] { new MenuItem (\"_Quit\", \"\", () => { Application.RequestStop (); }) }), }); var win = new Window (\"Hello\") { X = 0, Y = 1, Width = Dim.Fill (), Height = Dim.Fill () - 1 }; // Add both menu and win in a single call Application.Top.Add (menu, win); Application.Run (); Application.Shutdown (); } } Views All visible elements on a Terminal.Gui application are implemented as Views . Views are self-contained objects that take care of displaying themselves, can receive keyboard and mouse input and participate in the focus mechanism. Every view can contain an arbitrary number of children views. These are called the Subviews. You can add a view to an existing view, by calling the Add method, for example, to add a couple of buttons to a UI, you can do this: void SetupMyView (View myView) { var label = new Label (\"Username: \") { X = 1, Y = 1, Width = 20, Height = 1 }; myView.Add (label); var username = new TextField (\"\") { X = 1, Y = 2, Width = 30, Height = 1 }; myView.Add (username); } The container of a given view is called the SuperView and it is a property of every View. There are many views that you can use to spice up your application: Buttons , Labels , Text entry , Text view , Radio buttons , Checkboxes , Dialog boxes , Message boxes , Windows , Menus , ListViews , Frames , ProgressBars , Scroll views and Scrollbars . Layout Terminal.Gui supports two different layout systems, absolute and computed \\ (controlled by the LayoutStyle property on the view. The absolute system is used when you want the view to be positioned exactly in one location and want to manually control where the view is. This is done by invoking your View constructor with an argument of type Rect . When you do this, to change the position of the View, you can change the Frame property on the View. The computed layout system offers a few additional capabilities, like automatic centering, expanding of dimensions and a handful of other features. To use this you construct your object without an initial Frame , but set the X , Y , Width and Height properties after the object has been created. Examples: // Dynamically computed var label = new Label (\"Hello\") { X = 1, Y = Pos.Center (), Width = Dim.Fill (), Height = 1 }; // Absolute position using the provided rectangle var label2 = new Label (new Rect (1, 2, 20, 1), \"World\") The computed layout system does not take integers, instead the X and Y properties are of type Pos and the Width and Height properties are of type Dim both which can be created implicitly from integer values. The Pos Type The Pos type on X and Y offers a few options: Absolute position, by passing an integer Percentage of the parent's view size - Pos.Percent(n) Anchored from the end of the dimension - AnchorEnd(int margin=0) Centered, using Center() Reference the Left (X), Top (Y), Bottom, Right positions of another view The Pos values can be added or subtracted, like this: // Set the X coordinate to 10 characters left from the center view.X = Pos.Center () - 10; view.Y = Pos.Percent (20); anotherView.X = AnchorEnd (10); anotherView.Width = 9; myView.X = Pos.X (view); myView.Y = Pos.Bottom (anotherView); The Dim Type The Dim type is used for the Width and Height properties on the View and offers the following options: Absolute size, by passing an integer Percentage of the parent's view size - Dim.Percent(n) Fill to the end - Dim.Fill () Reference the Width or Height of another view Like, Pos , objects of type Dim can be added an subtracted, like this: // Set the Width to be 10 characters less than filling // the remaining portion of the screen view.Width = Dim.Fill () - 10; view.Height = Dim.Percent(20) - 1; anotherView.Height = Dim.Height (view)+1 TopLevels, Windows and Dialogs. Among the many kinds of views, you typically will create a Toplevel view (or any of its subclasses, like Window or Dialog which is special kind of views that can be executed modally - that is, the view can take over all input and returns only when the user chooses to complete their work there. The following sections cover the differences. TopLevel Views Toplevel views have no visible user interface elements and occupy an arbitrary portion of the screen. You would use a toplevel Modal view for example to launch an entire new experience in your application, one where you would have a new top-level menu for example. You typically would add a Menu and a Window to your Toplevel, it would look like this: using Terminal.Gui; class Demo { static void Edit (string filename) { var top = new Toplevel () { X = 0, Y = 0, Width = Dim.Fill (), Height = Dim.Fill () }; var menu = new MenuBar (new MenuBarItem [] { new MenuBarItem (\"_File\", new MenuItem [] { new MenuItem (\"_Close\", \"\", () => { Application.RequestStop (); }) }), }); // nest a window for the editor var win = new Window (filename) { X = 0, Y = 1, Width = Dim.Fill (), Height = Dim.Fill () - 1 }; var editor = new TextView () { X = 0, Y = 0, Width = Dim.Fill (), Height = Dim.Fill () }; editor.Text = System.IO.File.ReadAllText (filename); win.Add (editor); // Add both menu and win in a single call top.Add (win, menu); Application.Run (top); Application.Shutdown (); } } Window Views Window views extend the Toplevel view by providing a frame and a title around the toplevel - and can be moved on the screen with the mouse (caveat: code is currently disabled) From a user interface perspective, you might have more than one Window on the screen at a given time. Dialogs Dialog are Window objects that happen to be centered in the middle of the screen. Dialogs are instances of a Window that are centered in the screen, and are intended to be used modally - that is, they run, and they are expected to return a result before resuming execution of your application. Dialogs are a subclass of Window and additionally expose the AddButton API which manages the layout of any button passed to it, ensuring that the buttons are at the bottom of the dialog. Example: bool okpressed = false; var ok = new Button(\"Ok\"); var cancel = new Button(\"Cancel\"); var dialog = new Dialog (\"Quit\", 60, 7, ok, cancel); Which will show something like this: +- Quit -----------------------------------------------+ | | | | | [ Ok ] [ Cancel ] | +------------------------------------------------------+ Running Modally To run your Dialog, Window or Toplevel modally, you will invoke the Application.Run method on the toplevel. It is up to your code and event handlers to invoke the Application.RequestStop() method to terminate the modal execution. bool okpressed = false; var ok = new Button(3, 14, \"Ok\") { Clicked = () => { Application.RequestStop (); okpressed = true; } }; var cancel = new Button(10, 14, \"Cancel\") { Clicked = () => Application.RequestStop () }; var dialog = new Dialog (\"Login\", 60, 18, ok, cancel); var entry = new TextField () { X = 1, Y = 1, Width = Dim.Fill (), Height = 1 }; dialog.Add (entry); Application.Run (dialog); if (okpressed) Console.WriteLine (\"The user entered: \" + entry.Text); There is no return value from running modally, so your code will need to have a mechanism of indicating the reason that the execution of the modal dialog was completed, in the case above, the okpressed value is set to true if the user pressed or selected the Ok button. Input Handling Every view has a focused view, and if that view has nested views, one of those is the focused view. This is called the focus chain, and at any given time, only one View has the focus. The library binds the key Tab to focus the next logical view, and the Shift-Tab combination to focus the previous logical view. Keyboard processing is divided in three stages: HotKey processing, regular processing and cold key processing. Hot key processing happens first, and it gives all the views in the current toplevel a chance to monitor whether the key needs to be treated specially. This for example handles the scenarios where the user pressed Alt-o, and a view with a highlighted \"o\" is being displayed. If no view processed the hotkey, then the key is sent to the currently focused view. If the key was not processed by the normal processing, all views are given a chance to process the keystroke in their cold processing stage. Examples include the processing of the \"return\" key in a dialog when a button in the dialog has been flagged as the \"default\" action. The most common case is the normal processing, which sends the keystrokes to the currently focused view. Mouse events are processed in visual order, and the event will be sent to the view on the screen. The only exception is that no mouse events are delivered to background views when a modal view is running. More details are available on the Keyboard Event Processing document. Colors and Color Schemes All views have been configured with a color scheme that will work both in color terminals as well as the more limited black and white terminals. The various styles are captured in the Colors class which defined color schemes for the toplevel, the normal views, the menu bar, popup dialog boxes and error dialog boxes, that you can use like this: Colors.Toplevel Colors.Base Colors.Menu Colors.Dialog Colors.Error You can use them for example like this to set the colors for a new Window: var w = new Window (\"Hello\"); w.ColorScheme = Colors.Error The ColorScheme represents four values, the color used for Normal text, the color used for normal text when a view is focused an the colors for the hot-keys both in focused and unfocused modes. By using ColorSchemes you ensure that your application will work correctbly both in color and black and white terminals. Some views support setting individual color attributes, you create an attribute for a particular pair of Foreground/Background like this: var myColor = Application.Driver.MakeAttribute (Color.Blue, Color.Red); var label = new Label (...); label.TextColor = myColor MainLoop, Threads and Input Handling Detailed description of the mainloop is described on the Event Processing and the Application Main Loop document." }, "articles/tableview.html": { "href": "articles/tableview.html", diff --git a/docs/manifest.json b/docs/manifest.json index ab91e5dab..4f22f3a13 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,6 +1,6 @@ { "homepages": [], - "source_base_path": "C:/Users/charlie/s/gui.cs/docfx", + "source_base_path": "C:/Users/jocel/source/Repos/jocelynnatali/gui.cs/docfx", "xrefmap": "xrefmap.yml", "files": [ { @@ -18,7 +18,7 @@ "output": { ".html": { "relative_path": "README.html", - "hash": "laW0ZhVnSCWLRJa08C1vrX4A34iZJKZf7iBAUeZ1TUo=" + "hash": "pClhXashm23r477djOu2bfIq2jQmT3ChJK4Ky9aCR0w=" } }, "is_incremental": false, @@ -30,7 +30,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html", - "hash": "M76jDT9xin0DKB16NZbztZqWV3Jtw6Bz7XOcZlTFllo=" + "hash": "GxWaLim9srAtgBkPay2Owk/ltwuYUuS8D778xI7yPfQ=" } }, "is_incremental": false, @@ -42,7 +42,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.RunState.html", - "hash": "03Hs9c1zuIQuAQvJqjaxpj8Gh9LlAIXfL6S8yX4ETnk=" + "hash": "szkmdtxwdEzV937tk8GFJnT7IO2vPYs7KS8gP5Ufnhs=" } }, "is_incremental": false, @@ -54,7 +54,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.html", - "hash": "k+fAY/tNnnxt8uYwQginuB7W+QG0N/1ETo3CF8Jguow=" + "hash": "eHYjy6CYKVlf9rx0Kvr8flNBvD5pOEN8sefeco7xySA=" } }, "is_incremental": false, @@ -66,7 +66,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Attribute.html", - "hash": "xQyhWk0HCr5xe0HzCnpjV3u6A/4edHkJYGxCG3z0WbM=" + "hash": "tcyijk+u1vyDGdtjW7v3ChNS0UYiSZfqsfo6o3csD0A=" } }, "is_incremental": false, @@ -78,7 +78,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Autocomplete.html", - "hash": "1/FV3fuYCZft/HoxQ1pni6r4QsJ6v3ZxqVt3SCOXbXc=" + "hash": "nGTarkvvIVzwUjSTnTJ8HF1sPy/oYzSGb7ByMqaQnoc=" } }, "is_incremental": false, @@ -90,7 +90,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html", - "hash": "WqFgWldcMiQtdHbKRH8AF7YJ8mwEpUh7CZnCFD+bOhA=" + "hash": "X/syFBIOj7vGD22Sf8w/zCBqHLh+FCfiSKjOG51VwMQ=" } }, "is_incremental": false, @@ -102,7 +102,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Border.html", - "hash": "lNvUiKSLjgcmBHW4fbh6PyJlN+imUdtIPeFbx+ZxiDc=" + "hash": "jWdcEVxr9PyGfQ6ELBMXYhqJuoa64rdv0sE1Z7Ge/AY=" } }, "is_incremental": false, @@ -114,7 +114,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.BorderStyle.html", - "hash": "zlLBgdb1tIwH5Q01FMain94ADxlTXHkfkPd1hBYtOd4=" + "hash": "96+tKUOvda2JdPH2wPc7r7UEaUdcqd0ioCE95vQwcaU=" } }, "is_incremental": false, @@ -126,7 +126,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Button.html", - "hash": "PvtchtIdWvTGgHWLf97WQyUMxzDSPTq+ljV+c4+QGrI=" + "hash": "l2R1tM9gqkDcpM0ZjSMZNjv35CiNlLE2H6Ch1A4rxjA=" } }, "is_incremental": false, @@ -138,7 +138,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.CheckBox.html", - "hash": "HjNnbnRJM7hHAyExuw2nGb6xMEpQ6bvn/XGGI5lsY/Y=" + "hash": "fRa9Leos6TtkinySDErbucWA7knTOGN4kLpZ6Dbx/ZQ=" } }, "is_incremental": false, @@ -150,7 +150,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Clipboard.html", - "hash": "ZbUsH4BXMUqyXCQjYhwAAd2PscPr/5La7FJC6GCfxrs=" + "hash": "mFO1l09rgGomdzh/LvtjDMnlohEKNB8RK8nyH+6bE1c=" } }, "is_incremental": false, @@ -162,7 +162,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ClipboardBase.html", - "hash": "jmtQ3VjD+MZDdLktS5zntFvObSmOO+qmudfjW5g5sOM=" + "hash": "M0KOcJbEvgQuPj+OmWtSySsW0s0WIWW1wJKCCCB0tDs=" } }, "is_incremental": false, @@ -174,7 +174,19 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Color.html", - "hash": "reoPmWsAjgwTrN8C8xElXliRZkZy3vA0ms+N4TPxVg4=" + "hash": "MFwbp6v843ZxWg8Lo9XogecTOEP/U3M/O3q1JdmYQ6A=" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.ColorPicker.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.ColorPicker.html", + "hash": "/EZMfda/NeM/VT/tatPsIf/ICc6G4cqWjhDSOlv18wA=" } }, "is_incremental": false, @@ -186,7 +198,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ColorScheme.html", - "hash": "LpAmVrkTIO//xY7S9IU39y6tjfFwzC4uRIthiL2iJgs=" + "hash": "4TjmgYSD7HkJxpAqiarVDaJ5e5lfSrLSobn2vhkPEeU=" } }, "is_incremental": false, @@ -198,7 +210,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Colors.html", - "hash": "VpbzjCg5mryvxNo87lDvmJpM9dLAcMOPKC+LEXwrFiU=" + "hash": "xGLzTdojyLoR88pVpD0sF86W/gTD0RIuytnPQYOliLs=" } }, "is_incremental": false, @@ -210,7 +222,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", - "hash": "K2TH+zmCsqvZ8orlgMchB3dMxryvRl5ro4trXPbXawY=" + "hash": "ZxwEk1cQTzRAneXClUxIXPinfdc0e02roxFBejCqO78=" } }, "is_incremental": false, @@ -222,7 +234,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Command.html", - "hash": "i3zwDXZTGRK32FX/sUojwaFS1AdxYgGGRDeROP9AvAQ=" + "hash": "x40IoIeVVVCyhZnaO9qe9GyLZpU08dYhmBH86GWIBUs=" } }, "is_incremental": false, @@ -234,7 +246,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html", - "hash": "DHtvj6nMteldZhcBuMQZuKtmX9krYd1GsJOZ3UZW2CY=" + "hash": "zATQRF/U+LpJyKEqDVXaJagxuRAaHncwDN9lw7gZe4c=" } }, "is_incremental": false, @@ -246,7 +258,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html", - "hash": "4MfW3REwSxbG6auo1WVmXONeOqirz8HBuaB4z+iMXaU=" + "hash": "2pKobtVnXw+GnY3gK42ttzDHzX7ab8enZI/gAiwzPpQ=" } }, "is_incremental": false, @@ -258,7 +270,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ContextMenu.html", - "hash": "NWe8ZZoxYi/GyGCYUOkrj6Z7Zgch8fe+1zZd5QRWqeg=" + "hash": "qeYVyT70SelqLHyelzykd8hDOL75gBeJ+KavM2BWih0=" } }, "is_incremental": false, @@ -270,7 +282,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html", - "hash": "LNfPamEB3EYdZ+0smaJIWnlEVGVal1mMPJcHBHJE/X8=" + "hash": "b0SfssBt8YuMQzyA2RlcSFWalmB9kRUz83rZW7gZ1o8=" } }, "is_incremental": false, @@ -282,7 +294,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DateField.html", - "hash": "cHKMe5dOm9IEvxxHMj2T0QSM1z6LSMkxc0tVyk1rB1E=" + "hash": "bRwcVGfo9BaBMRRhE787g97ooaaEiFY1G+M3GuKFW0A=" } }, "is_incremental": false, @@ -294,7 +306,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html", - "hash": "UysWJgBsGRgmI7cLQ/mKuUeGobzlzRGE9Ri+JGRNPC8=" + "hash": "a1ogUm64I8udEWDh/QdDCsJ35+8StrSvULvIQ9kpBCQ=" } }, "is_incremental": false, @@ -306,7 +318,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dialog.html", - "hash": "lKq3VZ67wH5wzACW8f1HmhbAoqi0r/Vg24pjvMACUDk=" + "hash": "kZwhR4DzJIrCPcDLtcRs5aAIxX5mLNyE1fUKx4S2Dtk=" } }, "is_incremental": false, @@ -318,7 +330,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dim.html", - "hash": "4REYbDMJXAISoJ7h0Y0qmdpTd5tHb3r9o9dgNUFkEeM=" + "hash": "p+VxLNrV8m0+CJ3DoLl1qWNBnMJdNo/o5vxcqg4M4pI=" } }, "is_incremental": false, @@ -330,7 +342,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html", - "hash": "N7uu0QALXC1NlI4rLmKqVOoyDOhu4duXBu1A7njGGaI=" + "hash": "DFGUdw37N0d5x3y6NKWgQ//AW/9J6IyueH8S+4pFwqk=" } }, "is_incremental": false, @@ -342,7 +354,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeConsole.html", - "hash": "/PD0lzffNAbdp38FnvtbN+qS0iBYaK/ohNzFeGwfWgQ=" + "hash": "gg7G3dtcR8q8u+oi+CrEQtUGJVSk2Vmx1+taLvASrIc=" } }, "is_incremental": false, @@ -354,7 +366,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeDriver.html", - "hash": "UPWVkBMmujIwM3aKMezV43hUVb/xw7LVHM27V6JQBfA=" + "hash": "tAACPmB/noUT5Cuk9g8PZnEYjX42gQUgTLp9anCQj5Y=" } }, "is_incremental": false, @@ -366,7 +378,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html", - "hash": "jDvYZbEO6UZSyW1ATE19kCfFyFxPWAR8H1017JxwUG8=" + "hash": "tJ2pVs/P0Af9Kndki9jbUffXlfs7X11o7EEEKK44nPE=" } }, "is_incremental": false, @@ -378,7 +390,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FileDialog.html", - "hash": "/H8xQJ8DfQKCsKFrhLCbLOdDNm3mAxIKaiz4gKr1Osw=" + "hash": "m7slYKBwGxW7aLNFyGrVZv9XxUIJIfIuYsDagoioHFA=" } }, "is_incremental": false, @@ -390,7 +402,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FrameView.html", - "hash": "+P4cLdbF9Entgl2tFN0cW7kFVEUG6IzY7QkyPr2rsrg=" + "hash": "6niWIndJ0H+L32z6jOR7WRq/+qyOTzmUv+Edfyro2xs=" } }, "is_incremental": false, @@ -402,7 +414,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.GraphView.html", - "hash": "BqifJAwO4ObUk7ppcigLJ3FUSfdz1e4BchhSJHgeLsM=" + "hash": "PsL5K0DS5rIMyGYqOBQ9qyIoBimE21PKzTjcAmhybWk=" } }, "is_incremental": false, @@ -414,7 +426,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html", - "hash": "bCXjxviO7zoeqOuB+0SHzwr8PVMqwUiby2vcmrdzCKQ=" + "hash": "Y7hYtQbG41jTEoDiwfBvEL5f9fyd08GmhH9repIugQU=" } }, "is_incremental": false, @@ -426,7 +438,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html", - "hash": "7EHbCJnyjYx7kb0OGkvrs4EY+3bhVS61LdOkAj2sA1I=" + "hash": "H1CcaJppCipxQ56sQXhpTTZ9A1A+6t+BKoq73wctyMs=" } }, "is_incremental": false, @@ -438,7 +450,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html", - "hash": "ch8/XzENzU5SmwJyyCBpm4WblIOzL4Yro8TF58LyJZs=" + "hash": "ZqyVk0LX4QLifIaUzMqkeuLeNcjSCyHqrSi3sFan4ic=" } }, "is_incremental": false, @@ -450,7 +462,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html", - "hash": "mxwbdl+AENkfFgazWh/3zdiBHyOZZZLS9Htf9L23Fro=" + "hash": "+Ql/sgUDTVzCugXHI1laBmbK9SjEfPYOQYBbaRXmROo=" } }, "is_incremental": false, @@ -462,7 +474,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html", - "hash": "o9j5jRuJIzTNS+eCRF8qjWcrmL2lTxXtcvR+XhbLKmY=" + "hash": "k2mkSFHIBUWVrvrd1ZIifjV52okskbshp4xsUkLkhVs=" } }, "is_incremental": false, @@ -474,7 +486,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html", - "hash": "L/c+QnN0bOOgm4YJXE0+x/IwUiPFZTeNHkDn2L9Shb4=" + "hash": "lH5/GBYDbGHp2+WqeK3fHKNK+NHKyAELzXZbRNJgm+U=" } }, "is_incremental": false, @@ -486,7 +498,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html", - "hash": "bPJAcT8OzrCKkcWMMxa7pjCHkgWxN4BPyTQfTNRrOgk=" + "hash": "+Gnp7cCDztLun99f78D9nQz8cmnkdAx/HFylPUbZEQA=" } }, "is_incremental": false, @@ -498,7 +510,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html", - "hash": "ZbPUL8jrbpyQzUYsC9IeQSu/CqfibIS6cNtK5Ncisnw=" + "hash": "QmKlv4VRAjRfq50fkRZfRbZZJv8ZqxfolCbpko7VS4k=" } }, "is_incremental": false, @@ -510,7 +522,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html", - "hash": "95BxsEwLcUmJmA5s9HQdakzM4M85BXVYbIWqJValYYk=" + "hash": "ruxTJj7wm+MPEMcsucdjY/0RbA9hTZzQ7duxJBbC1SQ=" } }, "is_incremental": false, @@ -522,7 +534,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html", - "hash": "3Kfu6/TFdGT4mSmr/4tCM8n3hZtwznvmvfEbfYtyUaY=" + "hash": "dB9axF5xNU/abWV/fAl1GyTx+cPMkfAsGqJhY22+UL4=" } }, "is_incremental": false, @@ -534,7 +546,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html", - "hash": "WFuXzAYX14QH8lsZ5G9pb9Jq9wi/djuGLeLfjWZXIW0=" + "hash": "Ke+FR9LfnaDDzXC+XoI1M6MZ7baWetQc9JrtGFdZmpU=" } }, "is_incremental": false, @@ -546,7 +558,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html", - "hash": "6CY0ARQFdl7RjKvbMPxEYqGWVe2U6VvvDOkpL2I07p0=" + "hash": "t8w43ZEzJmBMuKXEMXonG01haFZvPoq3s85z412X8ZY=" } }, "is_incremental": false, @@ -558,7 +570,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html", - "hash": "RTYnC2cFLMFFtRg3+nIjsmPqa8sfRNZT0ighnWZCp9E=" + "hash": "tac6UwE/QCiYQaH5swySN9qAO9JUtuKLgpD2KMTS6Dw=" } }, "is_incremental": false, @@ -570,7 +582,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html", - "hash": "GgygQvEMRWZGXhTMpTrm86235T32roe0xL1WzxZ1zJw=" + "hash": "3viZnbcS9xToFYPBF/GA7Sqqh2+9sE+msLw4PLs/vJg=" } }, "is_incremental": false, @@ -582,7 +594,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html", - "hash": "clMAGWI2ls1ernAYmDr3CF/6S4znNgudgX48GAbpHP4=" + "hash": "G68CcazOywre8REusLHG2BmrFbAmR1/CmxR6QuE96Tw=" } }, "is_incremental": false, @@ -594,7 +606,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html", - "hash": "mlZRr+XNyw6CGBB8AV/C9OIEYH2Vy6VpT3rQVCpnyEE=" + "hash": "2vsIJW9KjObd+/3sKLdKY8eP8jGaOMa985N6UhmTEvI=" } }, "is_incremental": false, @@ -606,7 +618,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html", - "hash": "leAwygWmSyDCs7fQpLuku/IdY28fYvUQGR8IlnDOrTw=" + "hash": "DOWgF7iQA2ieDs3xHK1qk+bBx2sTvrPbXcRvRx7h9ec=" } }, "is_incremental": false, @@ -618,7 +630,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.html", - "hash": "uYB/2ubkfgc7kQTGpVMASsVz+hWk7kMDQp4XcjCwEE0=" + "hash": "nFrYCoFp3oEA0QtdFPft73vpCOWFi5Desei4oGvd97c=" } }, "is_incremental": false, @@ -630,7 +642,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html", - "hash": "NiaK6qsAE8ze1qc7u25+gmkfCfo5ha13P3hy8HaMHi4=" + "hash": "d+nknBx+jd37WJ9eXv9QOgdLEeI/hsDHLUqj8HKRelw=" } }, "is_incremental": false, @@ -642,7 +654,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.HexView.html", - "hash": "bZ3Mf+78M4Lp6uBkTqHW01zws973VQ5gPFmWWOJBwdo=" + "hash": "lBkmuvcpyyuB/kwAoLMLNc+oJdGTZYwwFQO/dL2Np0w=" } }, "is_incremental": false, @@ -654,7 +666,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IAutocomplete.html", - "hash": "Mq6GFq943iRwmd0V9tgoW2ki4oMADiFeZAvWxCMtEuw=" + "hash": "cTAR5GL6IejTHowZoaXSwSbxb3sH+hCNVsLDb0N3tyo=" } }, "is_incremental": false, @@ -666,7 +678,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IClipboard.html", - "hash": "fRiFCzM37qZr57zciE9fGgKLJBBbbecGab4yPyMykEQ=" + "hash": "sydwlTqMIZL++lOxuLlMdTaCSSSo50P0iCg3lZKtOss=" } }, "is_incremental": false, @@ -678,7 +690,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IListDataSource.html", - "hash": "urTSJDVIHXjD5nCiZS+VswegEKqHUx6fAk9IUqTJFiI=" + "hash": "RO+9PyJs37KLAYCz78hmsPEmXmGphNzS51mbDgwNNsc=" } }, "is_incremental": false, @@ -690,7 +702,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html", - "hash": "TGi6SvqWMuAhf3uQ4rwu/EtYnLick5atzmQqIbDG4II=" + "hash": "n/uF2DwXFIU7AJ+ajTaPom2uvpDWhd4xEAI+1+9IL1Y=" } }, "is_incremental": false, @@ -702,7 +714,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ITreeView.html", - "hash": "aarzYejAReTLtlLysuobUAkxanjppCRQpCH3+fpewRY=" + "hash": "tp9N+WQ4xwnXNe69Xci6Zz66vMfZ1iUKZ6pEdj6FewU=" } }, "is_incremental": false, @@ -714,7 +726,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Key.html", - "hash": "PvBU54eqUy83monSvTdM6YH98W/953BaDq7sVQuhY4g=" + "hash": "SMmozN0cP4w9mL+6QQl4Z7mZ2yIPgoGejGNAL0MdbsQ=" } }, "is_incremental": false, @@ -726,7 +738,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.KeyEvent.html", - "hash": "cs8oRWkhMpa60aAG6gislqOtN7P/1knyFHMihAQyLj4=" + "hash": "RWBjEZYhLxkyMAAYDYHV7U/r436qpYNHqpNfweje/V8=" } }, "is_incremental": false, @@ -738,7 +750,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.KeyModifiers.html", - "hash": "RHTVDipLDfWcm0v+Yu2B6ASFqXMLMIp7Q9exBY+bNUA=" + "hash": "dH4/5Q2LXcCOsi6TsfNRbk6QLHB7HsPi/rNx6S5dhB8=" } }, "is_incremental": false, @@ -750,7 +762,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Label.html", - "hash": "61pYQxMhSldB9lEa59KNGt9iYbQAAxVsGiSUALSeCfo=" + "hash": "P/FAHUxYyp3NxBI8i2QcIPkjJ+I6ITN5BgWP5ZiVtxc=" } }, "is_incremental": false, @@ -762,7 +774,19 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html", - "hash": "cGcdp/9PMNdxvZb6tK3r7LF8GBPXuzrpGZ8pbbJfaPw=" + "hash": "lEoImmmJt1KFj14MZ4IqFay4VUQOmX85it38tqFUyoU=" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.LineView.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.LineView.html", + "hash": "4cmMxEU/1LZCZK1F4k7kzO6SElATI50uEBlXnzFkftA=" } }, "is_incremental": false, @@ -774,7 +798,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListView.html", - "hash": "TNfHp8HBZgusFE0mv6KG5y3WFTtFNYv4TjSRZxNOVQM=" + "hash": "6Vp96bYfZJ56he3UcZDGVAsSLVuBg60/XWqYRnF82GQ=" } }, "is_incremental": false, @@ -786,7 +810,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html", - "hash": "nZwwvYCSWzEaDMTPErA3M58x2L/WwoDa+TdAVj24+oY=" + "hash": "ywqeMhzcUf1TmvWzlr7CBvnmozPjIz0Z+iR4QURF6es=" } }, "is_incremental": false, @@ -798,7 +822,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html", - "hash": "YsnInsHskCOP0D5BqzIT1SyENo+bVCw5IucvWezXZrs=" + "hash": "ULaU/thUiSooidaMGT9NNy5osahVJLErMm5T5VOWdlQ=" } }, "is_incremental": false, @@ -810,7 +834,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListWrapper.html", - "hash": "7rzhtyhHC6HuDlE9Pz4+PzSyiuErGLd8GzMdH08QRZI=" + "hash": "tSB/LP7pDqiAbea7WpRmZsvS9lM6Pxk/PQXo9oC3mPc=" } }, "is_incremental": false, @@ -822,7 +846,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MainLoop.html", - "hash": "UeB57liQIEEvtLmHgnY+GNGR1SSrY3nUZgKi5Yc4tjA=" + "hash": "ZO+LjoceIYeKotOG6sw96u+qlWBLIxaBU+USwKXiJh8=" } }, "is_incremental": false, @@ -834,7 +858,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", - "hash": "eAJ3EcDn/gyfQ71a27h+ch6ZBrMXu0fCte00beZ1zbE=" + "hash": "0Tvd1b/s4TTnOHlHbTDUe9t1s6L2aiUrUksRWTipcac=" } }, "is_incremental": false, @@ -846,7 +870,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html", - "hash": "en4mbbhfKktXdxhJgAY7/mSHHCzHrZ6w/kJ3cJe0aTU=" + "hash": "pa9RezFeSk3cj7OWphjhS/HEpxa7ysIaclNQskYHVLI=" } }, "is_incremental": false, @@ -858,7 +882,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html", - "hash": "PBjEo9plJ9V4RD29ODmbvwGaIVAgff8lxs+M6sZSN2Q=" + "hash": "FGhSMaXtvGcs45zl1AjF55CZOl6iDJJ1z+1wrI8o/50=" } }, "is_incremental": false, @@ -870,7 +894,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuItem.html", - "hash": "8WtdOfa3N/lBatt1bqQIoPgZPp5JWiCqh4IxpjDIMZQ=" + "hash": "k30kSPKYYtQHuZZAHVaMlvFsc2So0dJLqJgKZxHT1Ak=" } }, "is_incremental": false, @@ -882,7 +906,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html", - "hash": "1lLGxq7t8tv8OIh0vwuafEnPRDgRLwDAmr+eRLwlFCI=" + "hash": "xaS3nm57SqWVLJcBga0uKXJs6JjlNi/LCNokM6orJgQ=" } }, "is_incremental": false, @@ -894,7 +918,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html", - "hash": "4OxmMmW/nAX0242D/d8pAWsacXnmsyvlgoOBwxdRRrY=" + "hash": "TUyPoNDG0dowVWOODay/BPizRD0lS1K6Jd+GIwd5/Cg=" } }, "is_incremental": false, @@ -906,7 +930,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MessageBox.html", - "hash": "VHlq3cu+KyFu47b84OZiraFRwpV1NXSNbJsvMneo0No=" + "hash": "EF3hgyhMVkMF/8vVZKr4MvC6Pp+Qo1uglRrKdSUUwI8=" } }, "is_incremental": false, @@ -918,7 +942,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MouseEvent.html", - "hash": "gRpTUKC5qTZlactOAiy7Flul1n7rIhRlkrcxudE6OhM=" + "hash": "XeXFzoV5uL207qKx4RwNTMgVEwXIdgc3cMwE0dg+97k=" } }, "is_incremental": false, @@ -930,7 +954,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MouseFlags.html", - "hash": "PYyNQKbGmBp+qChu2i9zWzHV4fqQI13VQpwn6zrow9k=" + "hash": "uH0zAS3NPGfbj4mapLqgHWwoZSkx9XRu+Kdbh/3PEXE=" } }, "is_incremental": false, @@ -942,7 +966,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html", - "hash": "42zxESyJ2KPU2fHf5qFknc9cxCIu4LolGCn8R6fo1rU=" + "hash": "lRHEzTM2qzlpUvDh46KAeAQtAyCYq6hvDZ7HEuOP+2Q=" } }, "is_incremental": false, @@ -954,7 +978,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.OpenDialog.html", - "hash": "Lc7u6jYfy76gAbTxTIt1i4tUbHfia2vaOjDZlSGYtJk=" + "hash": "FG3TEG43xF+r+zx1BAP/UuUxvCC7PwM2/grdOzFxmMI=" } }, "is_incremental": false, @@ -966,7 +990,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.PanelView.html", - "hash": "J3yJbIilw/UzOV8pYdndCIWIXfKUBy2Yvlgz4qaey0w=" + "hash": "hECx8EjBGnsVBiWBJL7ijZn5wNcRHrjUGQ5wfn56AGw=" } }, "is_incremental": false, @@ -978,7 +1002,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Point.html", - "hash": "Mc/hIEy7Lmo8moCbahOUT9I11ZCMR4iyIMyYetPrMv8=" + "hash": "Cy6nRSNv+TEChfUw96acWV5GLAayohNxcYTIZJ//Z2s=" } }, "is_incremental": false, @@ -990,7 +1014,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.PointF.html", - "hash": "uwqP1E8slN/BACiezvi0DxoHNdVQ41GE/VcwiHG+aaE=" + "hash": "/1Rr6ujRJfEdbJIVigWNX3uJKfxJ/W2yLE9f93W2YLc=" } }, "is_incremental": false, @@ -1002,7 +1026,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Pos.html", - "hash": "cxpwIYb+Cgmwbynn2XyjDG8PLaHtZk2JBRcvLmtjkcQ=" + "hash": "CjDWGvzMPd8/hh5nftAr0u7fUGtnoWdwPh79a6BBM/g=" } }, "is_incremental": false, @@ -1014,7 +1038,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBar.html", - "hash": "8w7CvmCTqZyfKyEZrOQTk6o+PiLxzaKpRuMXscUGWIk=" + "hash": "JJvg+8jm+RhZFwXHLBKMrK/qml+ip68xbN5LcNoZOCc=" } }, "is_incremental": false, @@ -1026,7 +1050,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html", - "hash": "2uBrrx195B6zTJGTXm7+A2lDgs9EXvyav1WPGtmM0gA=" + "hash": "3A1t6WXaG4oml9MtX+dg0nvl71xPxQyHbkABLwidBWs=" } }, "is_incremental": false, @@ -1038,7 +1062,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html", - "hash": "agAnCObnulkMLIriJeiXFOnrYUXt14LtBP5UXulsYW8=" + "hash": "t99r0gDaNhvFX0Il42fOYNwfXzuvoNmLlNkcTf0C2IA=" } }, "is_incremental": false, @@ -1050,7 +1074,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", - "hash": "nMCKJlKz7V0Z1na8PTneomRC9025+/2qMt0tHt7O9QQ=" + "hash": "TtxwEE6tlYAAha7ZOZLlTK8EXqi1gw5IzjpWkXL0c4U=" } }, "is_incremental": false, @@ -1062,7 +1086,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Rect.html", - "hash": "TlpiUgWMeI5gUJDLsW6Lg0ZD7hfS+WUgP+1Jk0GMQNs=" + "hash": "nnhMAR7OGWn6vtBkJBr2csmVvvtyCcdX97ebLaoVv/w=" } }, "is_incremental": false, @@ -1074,7 +1098,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.RectangleF.html", - "hash": "MmI71OXMtDfSv2wJW8WOGP4o+ROMB+L9HczWtE93keU=" + "hash": "It4oiExRx6vDvNaO4VAzN59A7YqJWz+F3X4yPZw4yqQ=" } }, "is_incremental": false, @@ -1086,7 +1110,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Responder.html", - "hash": "6YHvjCiW8A+PL1+j+cF6ORi4mve7f88//uIDyRGHmN8=" + "hash": "7Maa2lPwhama9i0X9DJlPIGYSXiqzMQZQn7dz49bgHg=" } }, "is_incremental": false, @@ -1098,7 +1122,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SaveDialog.html", - "hash": "S5c8YCHsZ/fML8Tr0PwffP0BIrkMc3i1HeOj+g8adDI=" + "hash": "cSGL2u51FkooEtkDNiw2G2hr2GHTM49yKENv9V6NUEQ=" } }, "is_incremental": false, @@ -1110,7 +1134,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html", - "hash": "5NzlMd9Y/HvqK5AiQMEWrbUwqnEuXqoUbjRsGcNosqo=" + "hash": "3xlS6zQZpqcO+fIfQ8xRUUmup9+jQwzaU8i5odiUtXQ=" } }, "is_incremental": false, @@ -1122,7 +1146,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollView.html", - "hash": "TOiwead07twFYlRiNvvDA12ukxTiFPkrGLTtNCTd1do=" + "hash": "m1eKcJy+xDKYfybgRmDQAEtjb9SQ9HhCS2jFh089IWU=" } }, "is_incremental": false, @@ -1134,7 +1158,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html", - "hash": "RzB+iGPMBTywKaJZuw371MNHfelBWb0Dpawz7JPgStM=" + "hash": "KbGz2w2i6i4b/07b/j6NmkNjworxxFWLEYBD3egKkf8=" } }, "is_incremental": false, @@ -1146,7 +1170,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html", - "hash": "9uJ26+GiiqPKZz1ymBmkS0FrPrVS1X3J7m9tjh57nPg=" + "hash": "iYPZiRXoTRWq8DTduMAn6Uz/O82h7g9kUfhfSn/CcJY=" } }, "is_incremental": false, @@ -1158,7 +1182,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Size.html", - "hash": "loU0ECaDrQeQ4Rpk10qMj7IKs22Mr2mvq4CBC5t5zQo=" + "hash": "ZjyJrQja72ppo8WUMa/RpanGridmsPQ0dVHsiA6FDdU=" } }, "is_incremental": false, @@ -1170,7 +1194,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SizeF.html", - "hash": "RYMmMUZWbkAWlB0oD+uUw8Mg4GEpM7hvw/4aK+8fddI=" + "hash": "J5mTVccHYrXZI7wd8IjJOLTwOfA9GdSOFWztcN/gDts=" } }, "is_incremental": false, @@ -1182,7 +1206,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StackExtensions.html", - "hash": "b0TY8htGUvUdACJlm4FbNbD32SYV2xpKQ1Vk0DZwles=" + "hash": "XrKvcjsgM/Yy7P8+cfoD1ZkUMS++vdFtOZ4iaPPyGJg=" } }, "is_incremental": false, @@ -1194,7 +1218,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StatusBar.html", - "hash": "zBwBVKxFoeu4hCN88shKOXe3305UnxBIr4ANdZTDLOY=" + "hash": "N1LaRe6Mz5+W7+2yGqENPu377EgqvWXx487+5vmCoLg=" } }, "is_incremental": false, @@ -1206,7 +1230,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StatusItem.html", - "hash": "hJvo+/aiXqDbrEgvnuqW16zsc14xtjjxZvSXC1oUY9M=" + "hash": "SHpurh7rg+w+Ii22QjLRy0pnICmbEERcoGPOQaDQneQ=" } }, "is_incremental": false, @@ -1218,7 +1242,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html", - "hash": "hb6kDpcTyDrT7GosCAR4RRMEhI8okTVMGC6ZDijSdTc=" + "hash": "TpXQP40YzLdU50NP8p2wUVca6rf6v5a12i8Zp3gIuXk=" } }, "is_incremental": false, @@ -1230,7 +1254,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html", - "hash": "WUP28FCp/+JvKXe5FdGItpBsd+vQU6E4WxOfBL2RkKk=" + "hash": "m+96brzQNFkqig6mSUgVJMXP5I6E9sc/uJ137lv3Xu8=" } }, "is_incremental": false, @@ -1242,7 +1266,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html", - "hash": "sgdBjWNGzY3CsTkYLA19CvNHWJMh5OV7NHsM12Ehhwc=" + "hash": "5/4BDQ6DrtyRZylFaIrR5sSOIoGZh+URpztDXEf3LXQ=" } }, "is_incremental": false, @@ -1254,7 +1278,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.html", - "hash": "WLCtjXtK0tZSu86Z1vlHNYHoFJIiYcnCV43Tb2HVwB4=" + "hash": "RhivZt6++wNvrlIb74fg43nxNu8Ah05d3Ycxt0O/8+Q=" } }, "is_incremental": false, @@ -1266,7 +1290,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html", - "hash": "po0DoDJCa1mtAVqw/poh04duPnvGM6z6QRP/HRVEX78=" + "hash": "OgUU3lgp2hR/iflnzU4D1tabVJjIIWbelw7XHkTaM4k=" } }, "is_incremental": false, @@ -1278,7 +1302,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html", - "hash": "mkZhaKJFjHMvrUWYbIhQCi9zicZIX5dAUqZnlTGLxSU=" + "hash": "Qb4iqEL9ehK85uZD6eIesTO0HJ6G4pGyJ/tfhu4EI78=" } }, "is_incremental": false, @@ -1290,7 +1314,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html", - "hash": "5lCnT9h2qv89BksyI+Nz2hYfM+MES/cJ/6alhoeYd90=" + "hash": "0DhKcFyvh5Qc6l/bQPjSoZo4ZixM+1or4cnKfhNZumE=" } }, "is_incremental": false, @@ -1302,7 +1326,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html", - "hash": "uNaAapokIwJh9S8yDhNxNhNRUo+Xquz9Ea4bJijLbeU=" + "hash": "OARseo5RHu1CFvSoOP97ZgZquJVM2uyHAo/bfNUklms=" } }, "is_incremental": false, @@ -1314,7 +1338,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html", - "hash": "i0cIuFlv85+i7CMZBAIyXUXJ8KzHpbu6K8x7q+OZiF0=" + "hash": "N7P6Qz+o52vuS5uQa9RlyGGBn2oTNMGj6FJ2LboHq68=" } }, "is_incremental": false, @@ -1326,7 +1350,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html", - "hash": "SdeoC8xm4z1XAvU09xzrN/jjhb9l7VIZhzlrxtkKAy0=" + "hash": "GGEcDvJx0eDtLTfjBMy4Kneg8IMx12JGEiEC5NnMAmM=" } }, "is_incremental": false, @@ -1338,7 +1362,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html", - "hash": "fTUebW0dTlB8M533GjTQMjOG93lmd17b4X51crCEqow=" + "hash": "ycu32hj7a9u78qP186EmI44nJDL/MmUrbBrwZjv5KYc=" } }, "is_incremental": false, @@ -1350,7 +1374,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html", - "hash": "l5HgFh8ryWMdAHZndbTM4eCwEtfHsSfFRhpfnSsHpfI=" + "hash": "ud5Y9ApVSpaDcqq5G2lartLwYrbr1MY3YqgFyAHhjSM=" } }, "is_incremental": false, @@ -1362,7 +1386,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html", - "hash": "xOt090SBixXbaDGxo+gNlFvuD40T/X573v9Kpx2fhrY=" + "hash": "6XYam3YqZjymmpPVLDHsA1fUot+HfeQ+NU2vf6MI1BI=" } }, "is_incremental": false, @@ -1374,7 +1398,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.html", - "hash": "P80nOZZoKntZkB9BuGurG9y6OAfGKaaPpOWZCDp6oC0=" + "hash": "Ae4vnhURuYzP/1CsY7S6Gi2weTqfDOjbHvgW2BYxxCI=" } }, "is_incremental": false, @@ -1386,7 +1410,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextAlignment.html", - "hash": "xFC+EVH/W/2V7+3/B+tm5M5C7vz2akEiydSwVOqeiIE=" + "hash": "XYSQnZSRlSwKeWTfSWQs8gZF/JRy0P1zNhvpumXxt8I=" } }, "is_incremental": false, @@ -1398,7 +1422,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html", - "hash": "xaIMUIY7kO/5mBFD9/ufkXGSfdtu90wsDjUD1IZhyoQ=" + "hash": "h0Ps3wl3MJdhgMsJacbDMgYyDK0KVjM2dgtofpncAMo=" } }, "is_incremental": false, @@ -1410,7 +1434,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextDirection.html", - "hash": "bB8Qt1yB4JBArZM4ODnZRmd9jLocJqpaAfY5VarBG0Q=" + "hash": "nra3WtWPtdBoiPS8rH6mwHxHo5/suuwWmJPWZe2UpS0=" } }, "is_incremental": false, @@ -1422,7 +1446,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextField.html", - "hash": "Sa3YnkessVtHDYdXnhRPxpLM7bsBBi63fDiBJpEvR/I=" + "hash": "kzVkQ4qU+QfYImBslGf8Ispq3qh5Lgrj301dqjg8ICs=" } }, "is_incremental": false, @@ -1434,7 +1458,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html", - "hash": "zAcds3fEwFb2nxlVcamsyc7tltHNDTQqqND+hbWd3AA=" + "hash": "Lpjpl/+xCrIxa92lG+AO9+hCkpzjIFpr+B8SWh6lmFI=" } }, "is_incremental": false, @@ -1446,7 +1470,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextFormatter.html", - "hash": "JQKQ6igo+C+gaaeFfm4gvn13qVf32Zo8+Kig9eWx6zM=" + "hash": "WP6RPGEvlyWb+5osaLf2w0/wG+cE47yDPHgPjlgb6kg=" } }, "is_incremental": false, @@ -1458,7 +1482,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField.html", - "hash": "1ofFgXGPFtpZ5tpZvhbm9lMV/0aV4UvscvTPaNBD1t4=" + "hash": "G5fe3U9Qh3Y1LjbKBupAYLohKBG7UU3dw8V+ax39g2s=" } }, "is_incremental": false, @@ -1470,7 +1494,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html", - "hash": "8KAVDojFolMjnrLzs4/QHzzPvgbgI6gHWUnauHTZ92c=" + "hash": "MexQ0gtdczRhA9pXM/NAM/GLhcGS4FMJkiEV14iN3kY=" } }, "is_incremental": false, @@ -1482,7 +1506,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html", - "hash": "fMvC2WBoE3aH8PPQD/DiTdJ76sbA+6MpzxzliaHfwxI=" + "hash": "5h8+p5z3VE7p1kI22spjHxaFSE6zDRz53rQp739KJIc=" } }, "is_incremental": false, @@ -1494,7 +1518,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html", - "hash": "E4p9Z/HUnY9qTtpsBGCdp4wbvfUL1LTvfzc4qyOxT58=" + "hash": "7OeU/gZGcBip6Vz/BNcxy+KEPyOmNzEP9v8QU26rrZA=" } }, "is_incremental": false, @@ -1506,7 +1530,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html", - "hash": "GQwcBNJX70Ka7INAufGb7chGYcWTRK7z7IsdfRTmFuE=" + "hash": "N5r1ZjwMn9ECPLNbpVIgRu8tkOhizgE7Tktj54nsxf8=" } }, "is_incremental": false, @@ -1518,7 +1542,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextView.html", - "hash": "fDpUpZN/6ass5GJ3XaF1vS0RWhk7JX5wJV5sL2qex0I=" + "hash": "1lp++5sdlTAh+SGsdN84ohxeJem3a27jMH9HfgQwz2s=" } }, "is_incremental": false, @@ -1530,7 +1554,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html", - "hash": "dVaYLfCXWxYLBkEeye3lPqh3dsVGVYGyhqwpsL2xaqU=" + "hash": "0qYc9LsAu9eLrNpd4vPTZMz7zRYcMAJM1Ts6Yz6TquU=" } }, "is_incremental": false, @@ -1542,7 +1566,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Thickness.html", - "hash": "vbYpfTTM64/VtT2og6SiYxi6ZFYSKsi22GnRGceDCA8=" + "hash": "FBpLnujrlbB1ITDJ5IHfpci2mb/SUWUi9npwpY1taLI=" } }, "is_incremental": false, @@ -1554,7 +1578,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TimeField.html", - "hash": "WA358LE5cPF2kB4gInZLq3osjd5AN5PTGJkhB1QoTPw=" + "hash": "y7u/NDy5q+1WAdov3gP4cLRiGKDut9JEJGmrrtpuxxQ=" } }, "is_incremental": false, @@ -1566,7 +1590,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Toplevel.html", - "hash": "p5jMx4M9z56RNUZVATmZ+GPzHMEJukvaSVIIJD2hrqA=" + "hash": "EbbqEkneKfYx4yTpdhBM8Fwb0wW5O87xcP/jEAdEtE4=" } }, "is_incremental": false, @@ -1578,7 +1602,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html", - "hash": "zuhi6564Z2FniYi64qklgBTrrp1qLXfOOYNPrTiJkpo=" + "hash": "WPcDnLNpVZqS1RTgsawv/1lwax8LmkdGFTtVvRdl1bM=" } }, "is_incremental": false, @@ -1590,7 +1614,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html", - "hash": "OQHDAOA+Gq/BnJ3RYTj9CuyAKWE90f1M6HAwZjZAJmo=" + "hash": "XObibCHyn38p2SS/6xrYV8VptBP5SmjUumwOQ5mVQ3U=" } }, "is_incremental": false, @@ -1602,7 +1626,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html", - "hash": "YvOsn4M9ivAwrA5h2Dm8h8rtkhrjDH4XtCgDnBrHPmM=" + "hash": "htd5L1e+7Td+13fQwOs0gCEvfOQ+YN6uhfJEgSHJsYE=" } }, "is_incremental": false, @@ -1614,7 +1638,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TreeView-1.html", - "hash": "DRY/0piBwzKCgKLA1EQU04L+lMS/CZYQB/qsXuNq3DA=" + "hash": "A+2KwVrvhPVaZVbayyQdBqA3TPOOk5HeVFlzN6X4a48=" } }, "is_incremental": false, @@ -1626,7 +1650,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TreeView.html", - "hash": "EHcmiyGt0kiS/OR6wS7vipa6g6mZLO2xdmVTNXMaSgc=" + "hash": "CyigJfT8C1IZht7CDpuQHavAaAF+Xqxjen54Ea1jij0=" } }, "is_incremental": false, @@ -1638,7 +1662,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html", - "hash": "7TxhftHQZFyb6AaaBLinuV3fEmZXvFaDdybxUYGJHRM=" + "hash": "pBMAizEfQIfsvCpKUhUEZTrMnR3R3VNoE5RIFr7xD2M=" } }, "is_incremental": false, @@ -1650,7 +1674,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html", - "hash": "ffiyb9HRnTIPuSjFYrk7UwbcQ4AMkXVXmV0gCIxsj0E=" + "hash": "+Ou5NCx2bwWZ39JKK6JBTD2FmzyEsNPFCbxTS5cBDOQ=" } }, "is_incremental": false, @@ -1662,7 +1686,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html", - "hash": "c21bdHSBJhd0hCWD+mIdmohe1vqEaAA84NugVl7ICxM=" + "hash": "fJCxsqJWpmzFySrIYll7QEPUP6AOSGsJPJfmX3IstJ4=" } }, "is_incremental": false, @@ -1674,7 +1698,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html", - "hash": "abtfFmunDuZ5q3NHU8S2tb25eQB/Mfy7PjNQ0AHw7+k=" + "hash": "I6F1BFt810SEfcuLaA1TgeBb4y+soSaqK4jtzw+kvlE=" } }, "is_incremental": false, @@ -1686,7 +1710,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html", - "hash": "f7ARYNa5BBqUjUXVSbcrsCF8HdsIDYITL9/eIcxqaok=" + "hash": "0wLdocX2O/yFC+WVCWZGS9cjcibIEj0Mv7kvf0T82gs=" } }, "is_incremental": false, @@ -1698,7 +1722,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html", - "hash": "vGTDtuyHyA1wYI5Gv1GXr4V/pmG16LH0Qkg14B+NVVY=" + "hash": "D5ZGzVtSXIPepJbbLiZk5+zx9uBdWAAus5vrNWHgNx8=" } }, "is_incremental": false, @@ -1710,7 +1734,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html", - "hash": "aenAJ61qNSuu0Zx7fIq4KVteZ+C2RM1PFhpwOMpYElI=" + "hash": "qGY1ewS819YwrGFcwsApvt1DqgvMSK1Ny/+thAVAq18=" } }, "is_incremental": false, @@ -1722,7 +1746,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html", - "hash": "g6J5lZLfhszSmQL0fIvYRvYg+1nldO35wdDbooMOSq0=" + "hash": "aXrBcyQSCHZ7Pe9CpBoB/1YeO+yS+LMwxX3n/8OE6gg=" } }, "is_incremental": false, @@ -1734,7 +1758,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html", - "hash": "b9K/y3Ic6PKM+z/O7e2Z6EFn86ZuGFFHb+UKlySw//c=" + "hash": "lv08Bo5G7YukzI9WSmGz+PPldbWbAoWnDVDAZGCJgM0=" } }, "is_incremental": false, @@ -1746,7 +1770,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html", - "hash": "pVbm7VV27k5UY4AoulNrW8W3Qtvuf3VgGMdxVRBGMyA=" + "hash": "CDd1/n06AoFiUGXMgNHaKlaqOQnLd3hMsi4W7o3KM4Q=" } }, "is_incremental": false, @@ -1758,7 +1782,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.html", - "hash": "D9pi2YnIQajX0j3gvI76PqoxfOZxLyJMqKm7KQ4eh/I=" + "hash": "lVbPQ/owZ6uxLdcjxjj6n9rTiyHYSUR7Pf0Iv9BSIxk=" } }, "is_incremental": false, @@ -1770,7 +1794,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html", - "hash": "TNt/wNqj0ec+dkYTgprfEvPPxNuLrRcS8zsX3FCc/jE=" + "hash": "7GpIyLVA7dlRcKhgnkSyh4aOQXbrkV04OpOKPQu6sts=" } }, "is_incremental": false, @@ -1782,7 +1806,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html", - "hash": "nXHvyEUKORQqy4BcpRS9pbLCor+bYkPgwHfqa7+NvrQ=" + "hash": "pyNfUW5jds9wfs+8dHvGMXTVl4fOMS5bgSEDst9AHUk=" } }, "is_incremental": false, @@ -1794,7 +1818,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html", - "hash": "rArUZjx6RnMBLn0xLUYIDCp/aGTkteZs1YisKH8GEcA=" + "hash": "jcYJ8SystjwkqNfvdSfGSArtoziOcGXv1amP8V+1p9U=" } }, "is_incremental": false, @@ -1806,7 +1830,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html", - "hash": "8nJsJ87OPDy1TKQxCLhvFI/B6G7Btuf6ZF9eR2k9Qos=" + "hash": "2PP/lvRSoGyAYiZuRfXBJhRqctZEqBYQQKyJIXpcdaI=" } }, "is_incremental": false, @@ -1818,7 +1842,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html", - "hash": "X7WzU8OS1xYm8uTLdDrcIfeawc88mRQdYbcW+7+Pm6k=" + "hash": "FLUyGYaNHd6AGIL12a9yE43jRafaAiWTkFmM6Q/Jvac=" } }, "is_incremental": false, @@ -1830,31 +1854,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.html", - "hash": "I18daMF1uzintajYZ1OZRiC5eo3swH7bTAMs8sRPrPM=" - } - }, - "is_incremental": false, - "version": "" - }, - { - "type": "ManagedReference", - "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Views.LineView.yml", - "output": { - ".html": { - "relative_path": "api/Terminal.Gui/Terminal.Gui.Views.LineView.html", - "hash": "K+x1hAQI2GwXG1gobPa0EHab6dZmOvCZtbvTPwDe9bI=" - } - }, - "is_incremental": false, - "version": "" - }, - { - "type": "ManagedReference", - "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Views.yml", - "output": { - ".html": { - "relative_path": "api/Terminal.Gui/Terminal.Gui.Views.html", - "hash": "y58cDx8CoPnl/v4u90PuXkYfHtOw0NpkdHnqHdY5M3Q=" + "hash": "7o+ytvF+c9s1St12eJxgQtidnVoVQ7subpV5whBy1C0=" } }, "is_incremental": false, @@ -1866,7 +1866,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Window.html", - "hash": "vNkAs93kXQ3KJK6gBnGb5dhlMdilnZ0bXWYPDQWSngA=" + "hash": "Nt5dod63BkNU/TXzk5DQrqeYTy2LKU1D9nDYF6BvYyc=" } }, "is_incremental": false, @@ -1878,7 +1878,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.html", - "hash": "FCgSFWDwa75evqS2sjseevBkbfI9gzJP+FNbtcRBXpQ=" + "hash": "/zoxaqqWytNxV8GaweQ/nGxCOqNXrCw31CY0NU/FWGk=" } }, "is_incremental": false, @@ -1890,7 +1890,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.Event.html", - "hash": "WwnCIXzCEKenPYoiwYZnEShXEaHjQ2kXCYbUol06Z+U=" + "hash": "3uSPENw3imeXJ/4dfLjS3wv65QgNBFUeT+0JFKhbGHQ=" } }, "is_incremental": false, @@ -1902,7 +1902,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html", - "hash": "XWbXxzYtDleU2uSJyTtznmeNkq87kACGpJrBObv43bQ=" + "hash": "b3GUCMTHEzU4GwZ2Qb6zZKjbsYZxxKx4ShD16baVMkI=" } }, "is_incremental": false, @@ -1914,7 +1914,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.Window.html", - "hash": "ebTvV58F4l1XQJU8+zaNWe3LNZeflOp2DlnP6UrCIxc=" + "hash": "6uKh79o19uiEDvhUQqttSKs8pI8MD9n09JK/HMcxUcM=" } }, "is_incremental": false, @@ -1926,7 +1926,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.html", - "hash": "b9VZxiaPBsorBcroaQsYiW/9S3Vqrkm+D6PKl05fL54=" + "hash": "2ndLMi/OnC2Dx0fXVn7h/CRPH1vrMMQOtu8B4rDkDQ4=" } }, "is_incremental": false, @@ -1938,7 +1938,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.html", - "hash": "Oz6ZNve7o62jO8g3ddQkJdakRS+1GJxt1pAPieAyrAQ=" + "hash": "aWQ7NuABUhyo1rXHXMu7HGKuF/DqXAJsP+bTPyiRRq0=" } }, "is_incremental": false, @@ -1950,7 +1950,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/toc.html", - "hash": "pNDIqCpEFeRMnqO/fadCmyfqPo5TIt2D6y3eZSefcD8=" + "hash": "0gDS+2270arhVbBzrLHp2Xuthyrg1monwmEvbQxTm+g=" } }, "is_incremental": false, @@ -1962,7 +1962,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.NumberToWords.html", - "hash": "m1ZW4syCayAiiKdPiUhY5Gp9kji8v7Ip4owRFzH9ZD0=" + "hash": "6OcMztXex4VLWtdrDOBkTZJb6YDrniHgqUw9oLHQFg4=" } }, "is_incremental": false, @@ -1974,7 +1974,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.ScenarioCategory.html", - "hash": "dqDZgKN3nz7FXs2OFdYic8ym2H2LPK+/ZAzVM0IPUvo=" + "hash": "jDOsE8sb0FaNj429idBvU4P/cDAFV3paeBT2FGhhXbg=" } }, "is_incremental": false, @@ -1986,7 +1986,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html", - "hash": "jwhP/nz1LBTOdP3MwlHFkTSl4MeiGayRpYGztrPSbZo=" + "hash": "mCCkWa3QgqvELt8+mnGMnzXCl38VIMdyxhW0chKLQMI=" } }, "is_incremental": false, @@ -1998,7 +1998,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.html", - "hash": "RIXODUaGCBsc1GVXRaACq/ktUtDts26SsqAtVTFlcD0=" + "hash": "ZQ+qK77G2gmTtzmg3hW68XxN7MYt4pv5fH9x3orqXQQ=" } }, "is_incremental": false, @@ -2010,7 +2010,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.AllViewsTester.html", - "hash": "r0Yb6vAdbSMzkYiEox/JKpMR623JgnPcOmW5k57FUqw=" + "hash": "VFJfXS4iW38wkqHgDV/sec9daMEGAc2hRVSkRUb1JAo=" } }, "is_incremental": false, @@ -2022,7 +2022,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html", - "hash": "7nMaO08P9xuauNIIIjvTVm5E+ESg8jUoRdnz0fnKwyc=" + "hash": "Rg78NtnsqE7/BK0pHPd+ncE49Xe++j9twY+1ZFaYREk=" } }, "is_incremental": false, @@ -2034,7 +2034,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html", - "hash": "qT/FVuh4QiB8cA0Ic+W1pgtCUvR1Fdh1OtqL020KzcA=" + "hash": "NMOcPnq2k93/l/jHAikHcaCABfrD6+ss8xZFUQLJzQU=" } }, "is_incremental": false, @@ -2046,7 +2046,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BasicColors.html", - "hash": "ZMbJjeTiLBSyEAiLATWwwF0VO7S3rmEzC9SIFyNwFKo=" + "hash": "HPYQFIu9NLAkWwJhQAv7RhlnA6AEima9+90W3MxfTfs=" } }, "is_incremental": false, @@ -2058,7 +2058,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Borders.html", - "hash": "/W1hCGOScEyolTb7IkRiDtyLlw/UuH1SAbhbp0l/JlI=" + "hash": "Cf4pn3Lq73TZoeMqpRw/5ocVJ+0IMu2DjkRO1hNH6Y0=" } }, "is_incremental": false, @@ -2070,7 +2070,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersComparisons.html", - "hash": "zW4i3xttfx04GqrZW0/Kv+lmZfiHwZfFFOfOW0OgdJU=" + "hash": "zOD/xxPfKRmsxCDW/z+ZLz50BSr3OLHnbkhBad8JxHE=" } }, "is_incremental": false, @@ -2082,7 +2082,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html", - "hash": "Sqx8O5SIBJiX7GSrUYuXYpT6/tfekGH+spHRX3qPg2k=" + "hash": "3QyELcZhoxKGYW2twRJmo+3EJod/QmeUCItEu0APpjo=" } }, "is_incremental": false, @@ -2094,7 +2094,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html", - "hash": "hCKNnXkS/MeTMaaU2LMlLAhEwBLB39jDHyf5bT7bZ44=" + "hash": "GoHIURJnnVrOEBZgPFfF6qzIxbytrDXIJ+TCEEMgoXw=" } }, "is_incremental": false, @@ -2106,7 +2106,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html", - "hash": "OOXLP/4NHDA+HXn6McPF2mkdOCLwrXnKtgmCPKCl9bA=" + "hash": "IA1l1BIzc+HlSPB+K2pxA3q3j1AHX3S1126iVklmGoU=" } }, "is_incremental": false, @@ -2118,7 +2118,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Buttons.html", - "hash": "XMsXuUeVhdMjEDFXop+KUGBhvX7DcZ8KgP5OPeyXWJU=" + "hash": "htzM3TEYfXMRVmD+nl/oGiN9TDqwwGPMcDXYcA7PgJc=" } }, "is_incremental": false, @@ -2130,7 +2130,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.CharacterMap.html", - "hash": "1mA+0Z2JIqDH2d61pe48Wc1DjricRH+yRGT09+ljnY8=" + "hash": "/xVRkcMH8u7Ky45nm/OA5QOGaJ2QJ66i6TsR4CCNp3s=" } }, "is_incremental": false, @@ -2142,7 +2142,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ClassExplorer.html", - "hash": "tk3t9ZL8keQGfghILH7LzkvXP6aORH+4gQ4sKMVDfxU=" + "hash": "HVchmCtRgvN9b3+iVE4VW73v9IgDW8E93hX7DxUxzl0=" } }, "is_incremental": false, @@ -2154,7 +2154,19 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Clipping.html", - "hash": "0FHnOFssO+8QYfgP68u6wg0dKw/zM+4j3QclR9Bpg20=" + "hash": "+KVjiXrZmEYA/wjpxQcleTVOsnPnXHCpUmZ65lAyqgc=" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/UICatalog/UICatalog.Scenarios.ColorPickers.yml", + "output": { + ".html": { + "relative_path": "api/UICatalog/UICatalog.Scenarios.ColorPickers.html", + "hash": "FxC2U7XMgPFt0iEMNo0ze643clqPbs2geDp0bqcZa7I=" } }, "is_incremental": false, @@ -2166,7 +2178,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html", - "hash": "8LfpIb1rxBqaDhGTVHjIkvQOG1OHS3L/I9qh9NIImU4=" + "hash": "tFxGUFj+HwqohLZ/EOl39E/osp6PhpktrCuRRshguG8=" } }, "is_incremental": false, @@ -2178,7 +2190,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ComputedLayout.html", - "hash": "Pt3+I/C4L94j8VWKCnCnF7DLlsvZfeCUQLOFgl+ki5s=" + "hash": "NfBvDcpDM6njUkIemHye3eKke3ccU5ZZ0rJnoGWoc8s=" } }, "is_incremental": false, @@ -2190,7 +2202,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ContextMenus.html", - "hash": "pSrBgpnAwYsZtIzXhW1umFeDsDDhrDniQBMtZ1Ff4EU=" + "hash": "onCMko/AaP9IKOswqCFuwy1EGMlOkb4RS3/ZbPW94fM=" } }, "is_incremental": false, @@ -2202,7 +2214,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.CsvEditor.html", - "hash": "Q2AoqAQYhjhKsRXB/qjXw0Czqq+JZnpZM/CWkFFGKEA=" + "hash": "OUvxrpfrmfIQMw5Jsq3e5xLoS8933m7m1ipgnc14HBI=" } }, "is_incremental": false, @@ -2214,7 +2226,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Dialogs.html", - "hash": "uTHglNGOszTnwcdtJzCIRFd9PF2Ak60QP+XFIQ1ivxE=" + "hash": "+jTL1p9xxMTq94vL0tZ2BqftRrqJ5Xi15gYv13u/n4Y=" } }, "is_incremental": false, @@ -2226,7 +2238,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html", - "hash": "g3p/bBV8pgxSEm44wxrvFF9jKN4K2Hga7ZEo6z1Z43I=" + "hash": "HkIYT3WR1HPVw7kZPrnPqjxdLZYr3tBANu9uJ7+hF8k=" } }, "is_incremental": false, @@ -2238,7 +2250,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html", - "hash": "+3W1jTEr6ZvUuelzf2VWrhMrvatJ189ENahzov35XtA=" + "hash": "yriYc9I5kE/D5npr1mlFN1L82F3DlSQgwHtbyVfHD7M=" } }, "is_incremental": false, @@ -2250,7 +2262,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html", - "hash": "7vYNK6SElLDRT6JhXCLI4LjdfNpEvQymfBWJPnQm6wU=" + "hash": "08YVBdRwu8PDDhenirg4LbLaz3TjvaotnYvh9OfiwAE=" } }, "is_incremental": false, @@ -2262,7 +2274,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html", - "hash": "7uPaotFtmAavvIDE4wZSzYg3XwehWr8G5jKrPZfnalo=" + "hash": "Cj5WduXpkpe4HyLjIP2JIUxsKJfqrmJhwNrM5+I9Ps0=" } }, "is_incremental": false, @@ -2274,7 +2286,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html", - "hash": "GxBZpFGzbRKK4hJZ+5ALyciTheVcCuC3qKNmOuN84W8=" + "hash": "EnHzqjmDXazc4xykYFG28CydbHmf2wvpr7DHrx+6iuo=" } }, "is_incremental": false, @@ -2286,7 +2298,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html", - "hash": "JEF+hPsu9TF5BaWgcNgQHO6KOhL78FC8Uj635wYKKgQ=" + "hash": "UVLSW8rOk4jC6hAZAWfoe8J3/KqkKAaVFGxCZZZqEHA=" } }, "is_incremental": false, @@ -2298,7 +2310,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html", - "hash": "EqvI6+C6NCPuoPWvfPLRkDiOozwJQ8HsAgxhSsCEEkM=" + "hash": "OcgvFepzGGafcV5R3sQTf2n0OWEyRFTzsPu959EfeOE=" } }, "is_incremental": false, @@ -2310,7 +2322,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html", - "hash": "VoyyrlIs3CS9D6OkIz1l6mnS+Z1PHDt+c/XNEIwigu8=" + "hash": "D2Y4vvpXUdCZIjCoPkGRDxYK3lqXGco5QL5YXoao2pg=" } }, "is_incremental": false, @@ -2322,7 +2334,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html", - "hash": "5ZN6gyygyxvd7ywYlQEv3fgMS62F0g3Q4KP23qjI/UM=" + "hash": "5PRPmhBjXJIRzktHcq9o6hinWVhqWiT6NMuHR9mfEdg=" } }, "is_incremental": false, @@ -2334,7 +2346,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html", - "hash": "pLyG+ek6lTiIAkktrLyM3jf0aibPR1vjrKl7yOvi638=" + "hash": "s4FfVpdPSjjLkISkxRVdO+wjdXWN6oL7Suj/Wkzs160=" } }, "is_incremental": false, @@ -2346,7 +2358,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html", - "hash": "GQHwUV5JFadL6kiZQZ+qwOkdeajNp9oRU78vIzBvaCw=" + "hash": "JE/yltCU22gX3Z2bokesG/42mp+mU8/yFVSkRpscLoU=" } }, "is_incremental": false, @@ -2358,7 +2370,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html", - "hash": "8Eg5d+5U3gHZ7mmjSFo+AHI4b5JeNbpTpvL8ETS0TwA=" + "hash": "hh7/Enpr2qX0i0yEBRQ6Zhz/PqlKqMLKio34tuK1U0U=" } }, "is_incremental": false, @@ -2370,7 +2382,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html", - "hash": "bAYoT7dc5zheZ6/5mKUA7TlCaOMB6tlMUmeEDDI1K8w=" + "hash": "pE8qYsMSNlFrJ0WXvZDubGVdhbB4HUYUp0WR2fF8HkE=" } }, "is_incremental": false, @@ -2382,7 +2394,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html", - "hash": "ajiYdRrq0m/Sq9rp5SspxVR5p4rrZohDxEDleMvU3uk=" + "hash": "a7xSY8zhYDyLlaMZjSeG8Lw1FqGahq5pEnlhL1HgpmM=" } }, "is_incremental": false, @@ -2394,7 +2406,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html", - "hash": "/ZMMMSZ0tEgeR2FYQJoiJ5JI7Ot/mnKYf1lNXXAzX+I=" + "hash": "lHf1nGAFjqaRhsEQ8CixczBmNWrE1gxYbgIDuAQz8vw=" } }, "is_incremental": false, @@ -2406,7 +2418,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html", - "hash": "od8l3kaqF+XRORZOtqKnkE16Se6e1pooYLODtwybVis=" + "hash": "EpQ9mQNYrUrc3ZBalmzWWfQ706Tis+J9xOT4mTlvhKM=" } }, "is_incremental": false, @@ -2418,7 +2430,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html", - "hash": "hHFG1TtIliy8/gY0IInNqq4x2AgFvcSUUXJ/TfbBsNk=" + "hash": "VxP0EAbt5JGfYsvuQPCoWUqWQzjfyYQvlYwq25OG9zs=" } }, "is_incremental": false, @@ -2430,7 +2442,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html", - "hash": "dMqHu4qhKF6AYWASwmBzyHhNOdq2wCWcOY77/UKPE7M=" + "hash": "LQyXCDtj2L/ZP3TM+3i/VlHKIDaYdlHmRDb+UgDEzJc=" } }, "is_incremental": false, @@ -2442,7 +2454,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html", - "hash": "9t7KNLD8d6rSrUjiZ/CS/HTNiIWLXSZvndPufzjHVBI=" + "hash": "zO7G8IKCezXyMzqlpHuU92pEk9HBFvDcJG4tamjiFCM=" } }, "is_incremental": false, @@ -2454,7 +2466,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html", - "hash": "zyI7j+FEFTjhgVo7hlenjY9jpSl3CETgefA7Hys35T8=" + "hash": "xKnop8pPacQE0j5D2dS5HsHTgsdOFG7OrzfKPGwwelI=" } }, "is_incremental": false, @@ -2466,7 +2478,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Editor.html", - "hash": "rVlyTnl+Lc874uUx8OoobHSpgX6iQZ+rVhl8bnKKOMI=" + "hash": "lBc1+VMDASpXmBNGR0z+dzt2+K//wWo15r/rfmQBKWs=" } }, "is_incremental": false, @@ -2478,7 +2490,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.GraphViewExample.html", - "hash": "e4glMM8NsfkQoUMET2pZnm+ZfoGanqiF2Twe0f5S6m4=" + "hash": "QrMfZ7BuAXRMXhqATgqEM4kxUGlBhbKlvvucTL+oN80=" } }, "is_incremental": false, @@ -2490,7 +2502,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.HexEditor.html", - "hash": "+iB4zsjd2OOBGxIhDt98EaoesFvlDfwf6rDBCbaXd34=" + "hash": "nUmAHkGs0/9o2RRG+SECInMpQbDMUNl3EkxGPc7ivGs=" } }, "is_incremental": false, @@ -2502,7 +2514,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.InteractiveTree.html", - "hash": "IA3QsRONyL3KQWV7yb5Xxwxlsv3mCbJXP6PKwKIJhd4=" + "hash": "O1DjqtHr/EXueZmsOYmHAqjGrefYC2P5qPbrrqkygIg=" } }, "is_incremental": false, @@ -2514,7 +2526,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.InvertColors.html", - "hash": "qZfwXlMQKRgLozMyJ+lA3zRguDURr+RQ+qqMo7nHXUU=" + "hash": "8Qo9FqF/yHhbRW4AG0AD+o9zLPh+sEVA+fRv0akEfHE=" } }, "is_incremental": false, @@ -2526,7 +2538,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Keys.html", - "hash": "6Ves1KXpofBda/4h6tysai6uQCymonRTvSdzw09NDG8=" + "hash": "fwWZljbrBRfFzOagLLPjCp/mpO9wIOLak92khY5N4CI=" } }, "is_incremental": false, @@ -2538,7 +2550,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html", - "hash": "LUUTL9i+QcdJbKezCHaw3bYJqrArbs0P0NLs1wm84/Q=" + "hash": "7QrVH9zAPJ+E9RFn8DC7yn03l1ZXry6eLA/HvvDAXpo=" } }, "is_incremental": false, @@ -2550,7 +2562,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.LineViewExample.html", - "hash": "T6O6VpM/7AfKemGuczWei6L7MVP4IUJbNhILC20//t4=" + "hash": "uMb8zGUavZTgF2ZGXm3xoZkH5qLOPVrM5eqA/8urCck=" } }, "is_incremental": false, @@ -2562,7 +2574,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html", - "hash": "q83sHQj+Qo/Of42LZH/JNZ+ht/2pQ+RhwQWz5EgPxPQ=" + "hash": "kA0bAHNBBK5zT56195nVz/S1TcZ6rAnl5nzfW8+Deq4=" } }, "is_incremental": false, @@ -2574,7 +2586,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html", - "hash": "ieSj3fe8d49yp1AEEisTJsUvSW6PNFY9tG/q+IJX8W4=" + "hash": "qZzSduwJ2nX3JwP7xkIh7hVMzcBjrgaq7geYOMc56Ug=" } }, "is_incremental": false, @@ -2586,7 +2598,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MessageBoxes.html", - "hash": "PBqqzI/IhY8Xw0jarqjFMvy0cqQQ91ZBvu5m9t7xD44=" + "hash": "dSdeRQtwyq8RlhyO6PDOrqq/fHpmrbDnowsAt9mW6v8=" } }, "is_incremental": false, @@ -2598,7 +2610,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Mouse.html", - "hash": "EmfmyMmpdX+1ioOi4aZfvhrVS0exHKbvK8dgFByQzuA=" + "hash": "Aa64boYsbrIm2lq0VmrOx9g1RVtOhZa6pKdbpTcqBqI=" } }, "is_incremental": false, @@ -2610,7 +2622,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html", - "hash": "NGJRAnfDuiK2lYct4DdYUWbXw5RW4+fJkJFFbguck6Q=" + "hash": "1QGdjawnnDLZuwmY75iZlqNIb1Gi61Tm84T7zDtlWwY=" } }, "is_incremental": false, @@ -2622,7 +2634,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MyScenario.html", - "hash": "TIV2InljcVx0CEkRibhCaGF8OTHAuzG2xLqdZQbE6ks=" + "hash": "QlDtavc0N/tdSFbDlE0TwPHspyoVg722I/R1J7007aw=" } }, "is_incremental": false, @@ -2634,7 +2646,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Notepad.html", - "hash": "TOgN0BJbd3U2sjTvB/pNcJAU5D5SSZ/kFyMpU02ZHmk=" + "hash": "2wKRNjrBmnEmYfJqu5MIR7wOsxOUwCCZmq7tQSrHiao=" } }, "is_incremental": false, @@ -2646,7 +2658,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Progress.html", - "hash": "aT4CahOExFVBkoIr+xJPwbgPu4vIEdC3qf9cuPR8ecE=" + "hash": "S4OjBvbcn2KzhZR6qnOkZyXs6G2qq+ysor1jWhQk1e4=" } }, "is_incremental": false, @@ -2658,7 +2670,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html", - "hash": "jG9sh8MdL6c0GbAKAgqGXcBpB+D1CCKhEsnz/2n/D/U=" + "hash": "/grN/2tRrIk9KfTvasrN1Xtp/xTUgHKwi2snkK6iVE8=" } }, "is_incremental": false, @@ -2670,7 +2682,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Scrolling.html", - "hash": "pCrrLpuMKMnxM2wh1AkbrikxZRy4fhCKB+q+soG/EWA=" + "hash": "qN/L6YCp/el8SewhCHZ9t4+EhtxU05LgQbNciQ6mO50=" } }, "is_incremental": false, @@ -2682,7 +2694,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SendKeys.html", - "hash": "Wxtx3NT7Mc0uAXSafDT9Ig76Xm3W11YJSF9+aZnOhQs=" + "hash": "0L+HYcEwZPS1whwfNX/4AVxcwFgwDNXoFeFzfzXiKYk=" } }, "is_incremental": false, @@ -2694,7 +2706,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html", - "hash": "9XABy55jqV9aw7xc1DU5dtOrNwyofnngLgwdKAIYmho=" + "hash": "dlpYgN0w7Kho4AdUfTljTaf9KDHRm+mmHnLJjH/nxbs=" } }, "is_incremental": false, @@ -2706,7 +2718,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html", - "hash": "Lfwo6G0BXDyf7Fhu0ceGA2iPoxcoZEsH6tIFyMLbVoQ=" + "hash": "GqimWBZrWn1rSiBLtL1uEtRfXlp2xxRm+04xvM7luSE=" } }, "is_incremental": false, @@ -2718,7 +2730,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html", - "hash": "nWiqqmHWdAAomZ9m88So84cAIpIAdd7uoR/CWvsDBgw=" + "hash": "jUYrX3+rYKO18szitJmqQ0r9oWyt1wtSeblfHW3CgkQ=" } }, "is_incremental": false, @@ -2730,7 +2742,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html", - "hash": "ldN7RRJmheTkkQxAAjy9Abiwz+nKikxizQCkdpLWDFE=" + "hash": "HIC+650alUZhYq6rRfY/tZqJKmqi9qfeC/uYBS6ft6k=" } }, "is_incremental": false, @@ -2742,7 +2754,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TabViewExample.html", - "hash": "L2qJ8ffsTJeqQVv8WfKrYVcQTKluITFBQ3z13fXrFag=" + "hash": "zqOt0BnpDwcfCZ2nfWtixjMH7EERJALPeh322DG+V3A=" } }, "is_incremental": false, @@ -2754,7 +2766,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TableEditor.html", - "hash": "fLyE78JWH0f7XY2VDWayrfeQG0wo8DFBLvAKtm7npCU=" + "hash": "Y9CUTzmX7ZZJE38xvLAJazaTDy+OzxO76VD7ccXlMZA=" } }, "is_incremental": false, @@ -2766,7 +2778,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Text.html", - "hash": "40pSRCaAtguyXW4XFQEAqzR5SkaxJOGxkJR1P9FR7Kc=" + "hash": "/rC4hbplKsecIm7vPnSIqSZrqVItz3WIo3tG5KZjZV4=" } }, "is_incremental": false, @@ -2778,7 +2790,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextAlignments.html", - "hash": "cwkP2xDGFtyq1COzM7kzCRXnBq5MqToPgDlTPeNIBBQ=" + "hash": "pcm/QWbBymm/vZz7GGBEvlJn15/u3pucOMcwK4tROw8=" } }, "is_incremental": false, @@ -2790,7 +2802,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html", - "hash": "8lVgGdJkv1wjF5jbe/sWO+tAK2kCuppcjiJqZCqlA6Q=" + "hash": "l0UB0IQgJ+6XdpyG8XtBFyJUryGhaV30+UaM5OamFQY=" } }, "is_incremental": false, @@ -2802,7 +2814,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html", - "hash": "Gi8pC3wgP/f3Nu1/x7lvfHvTKZ5Fkhl4YbsI1cNXCY0=" + "hash": "KxSMCzEVkd/dx+FWV4UR3yjn93hON8L/EUfimo5jiQc=" } }, "is_incremental": false, @@ -2814,7 +2826,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html", - "hash": "oc0Qj0v6WkNblKapC7poCYm2fMurZG6l5ZtwQpTCkAM=" + "hash": "MfgeJumhoIwpMXJda951Kqf6RDbLCwWGEhmKUXoTaf8=" } }, "is_incremental": false, @@ -2826,7 +2838,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Threading.html", - "hash": "PP6QTb6il/qJiNkrEjPqS+4tAONKjRz4v4cUWKTgh80=" + "hash": "m03F32hNUd8ZjNZChrszpzIqYAIpTdV/h4+VMlaKbBU=" } }, "is_incremental": false, @@ -2838,7 +2850,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TimeAndDate.html", - "hash": "/Pf7J8e9cWpCMNYXA5YnOOzJEfAs+Rzk5MOz7A9bDhw=" + "hash": "xhWKJBaAvEFozE0ni7PFcaVVyS7kE6120aeQO1Z4wpM=" } }, "is_incremental": false, @@ -2850,7 +2862,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TreeUseCases.html", - "hash": "7HPSrxqoqKYNGYswFHGT8VgTM4TmDSuH99JS8/2lh90=" + "hash": "MmuBd5Bpsv6Gxwn9dHLKqq0xyz5/Qr8GABDcYBsKhcY=" } }, "is_incremental": false, @@ -2862,7 +2874,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html", - "hash": "wa7H3de9lNd+Kr4SGAdsjFb1xrO6+ZUzbDB9JiwrPzk=" + "hash": "JH+ZuKX+vnTUlnPUtogR/kAMPBmikeoedTWmVR369sY=" } }, "is_incremental": false, @@ -2874,7 +2886,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html", - "hash": "zMSwq/FzHsQeB0y73CYBV7qcnm/BI+ddV9uGqxBcWO8=" + "hash": "mG48k1EPVU6m0URV7+3OLpc/vLVzXT9n+PUF7cSGekQ=" } }, "is_incremental": false, @@ -2886,7 +2898,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html", - "hash": "RP2x8UOK4yJlny4u65usGRn4jik8ICbxGOwXrWTFcWc=" + "hash": "WO+EmLGynZGh492lIjq21klmNtuAsTaBe+dCsZvHtGE=" } }, "is_incremental": false, @@ -2898,7 +2910,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.html", - "hash": "7syOkDp+YrUBMAIU7x/ZyQH5yKDw6pSUR3TOwCgCCRY=" + "hash": "P8wkFVpAwX90K1G9yl5XQkI1nz0Nr2ksRpqdYE7qkzU=" } }, "is_incremental": false, @@ -2910,7 +2922,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.UICatalogApp.html", - "hash": "uDd/I2jG3Oogo3ewM7/rty6EL5cvBq8B/2YT+yx0GTE=" + "hash": "3I8ZKgZBfayzlyMJ/76xupf3vRPqrK2eLUr/NcB3g/c=" } }, "is_incremental": false, @@ -2922,7 +2934,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.html", - "hash": "ljgYyOqr8Sfc3a795Pf5MH9VEqvaXzPbxl36xVl3EyU=" + "hash": "tNoHORR8GmfYkr9turCibORIrDE9T1ZjzSZy2A9ozTI=" } }, "is_incremental": false, @@ -2934,7 +2946,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/toc.html", - "hash": "l2muCi6b/6orIHI/cGUAwsaIHFhf1I9rUd/2lTwGH5Q=" + "hash": "BsTMZJOd+Mk7r8QJ1vwsAs42lT67mF1Foeji7WwPKaA=" } }, "is_incremental": false, @@ -2946,7 +2958,7 @@ "output": { ".html": { "relative_path": "articles/index.html", - "hash": "AchWM0S6rqy1J1/lhagIa29GrBj67IyBtPqhWzu+Q4s=" + "hash": "K+b+faTKH34RsDAYzm0idoooQAowjKg2HPMyr3TLfbA=" } }, "is_incremental": false, @@ -2958,7 +2970,7 @@ "output": { ".html": { "relative_path": "articles/keyboard.html", - "hash": "vWiokYi9Ea/5P/dxAX6wk5TcyuQc2kRAKxdQzTV/aPA=" + "hash": "oWQQHgyNQM8ufVyfcDb70lpwF8enCX/S4YiIImx8SJk=" } }, "is_incremental": false, @@ -2970,7 +2982,7 @@ "output": { ".html": { "relative_path": "articles/mainloop.html", - "hash": "xV+A6nSpmb+jOamx77q0jHj8lTQuNC5ma83tUGnRQno=" + "hash": "xr8RSn28Yp1lu/1JiFRUNgQAa+WmRYIpi+NZg9nyYo8=" } }, "is_incremental": false, @@ -2982,7 +2994,7 @@ "output": { ".html": { "relative_path": "articles/overview.html", - "hash": "14idPCXdOI7Xy4jSJ4SDKHrQtPEb/s+soo4j+Tbzqtw=" + "hash": "eC+iorbOoEcwaTHdgfZtq1JSuhq3i3aUMB1pWhSbvV4=" } }, "is_incremental": false, @@ -2994,7 +3006,7 @@ "output": { ".html": { "relative_path": "articles/tableview.html", - "hash": "sJvEcW0Rd8IH7xe+U2t3ktYeWnTBjAonOS5+KigT1OM=" + "hash": "mwhWxl3527NudFe6mrVjXl7GiqPPcB2Aczl2wmcvluE=" } }, "is_incremental": false, @@ -3006,7 +3018,7 @@ "output": { ".html": { "relative_path": "articles/treeview.html", - "hash": "9b/yxGNwxNG7qBncfcPigfToN6YFxKmiIpt4SJF+zfA=" + "hash": "5e5z3FegRfKLUmlLxpWvGCwXfj7FiDs6RCOwVdLNZ5A=" } }, "is_incremental": false, @@ -3018,7 +3030,7 @@ "output": { ".html": { "relative_path": "articles/views.html", - "hash": "E6qUiNBJLW9feq4wRo7i+h5s/hrVM+HL1pswf+mIF2M=" + "hash": "D5zyTMx8U912KWeovJyYgVyk0Sq0ZZQbaSrf2SwJk6k=" } }, "is_incremental": false, @@ -3052,7 +3064,7 @@ "output": { ".html": { "relative_path": "index.html", - "hash": "uJbg/riFMDbvg9bu7ARlGLLhLZIWKnNPyJrMw3Gi69w=" + "hash": "7SfE3YHGyOywSkGZwgXmhb8YzFhWFebbweXIprtp8es=" } }, "is_incremental": false, @@ -3089,8 +3101,8 @@ "ManagedReferenceDocumentProcessor": { "can_incremental": true, "incrementalPhase": "build", - "total_file_count": 241, - "skipped_file_count": 87 + "total_file_count": 242, + "skipped_file_count": 156 }, "ResourceDocumentProcessor": { "can_incremental": false, diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index 917e72baf..05feccb78 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -1149,12 +1149,12 @@ references: isSpec: "True" fullName: Terminal.Gui.Border.ChildContainer nameWithType: Border.ChildContainer -- uid: Terminal.Gui.Border.DrawContent(Terminal.Gui.View) - name: DrawContent(View) - href: api/Terminal.Gui/Terminal.Gui.Border.html#Terminal_Gui_Border_DrawContent_Terminal_Gui_View_ - commentId: M:Terminal.Gui.Border.DrawContent(Terminal.Gui.View) - fullName: Terminal.Gui.Border.DrawContent(Terminal.Gui.View) - nameWithType: Border.DrawContent(View) +- uid: Terminal.Gui.Border.DrawContent(Terminal.Gui.View,System.Boolean) + name: DrawContent(View, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Border.html#Terminal_Gui_Border_DrawContent_Terminal_Gui_View_System_Boolean_ + commentId: M:Terminal.Gui.Border.DrawContent(Terminal.Gui.View,System.Boolean) + fullName: Terminal.Gui.Border.DrawContent(Terminal.Gui.View, System.Boolean) + nameWithType: Border.DrawContent(View, Boolean) - uid: Terminal.Gui.Border.DrawContent* name: DrawContent href: api/Terminal.Gui/Terminal.Gui.Border.html#Terminal_Gui_Border_DrawContent_ @@ -2066,6 +2066,166 @@ references: commentId: F:Terminal.Gui.Color.White fullName: Terminal.Gui.Color.White nameWithType: Color.White +- uid: Terminal.Gui.ColorPicker + name: ColorPicker + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html + commentId: T:Terminal.Gui.ColorPicker + fullName: Terminal.Gui.ColorPicker + nameWithType: ColorPicker +- uid: Terminal.Gui.ColorPicker.#ctor + name: ColorPicker() + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker__ctor + commentId: M:Terminal.Gui.ColorPicker.#ctor + fullName: Terminal.Gui.ColorPicker.ColorPicker() + nameWithType: ColorPicker.ColorPicker() +- uid: Terminal.Gui.ColorPicker.#ctor(NStack.ustring) + name: ColorPicker(ustring) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker__ctor_NStack_ustring_ + commentId: M:Terminal.Gui.ColorPicker.#ctor(NStack.ustring) + fullName: Terminal.Gui.ColorPicker.ColorPicker(NStack.ustring) + nameWithType: ColorPicker.ColorPicker(ustring) +- uid: Terminal.Gui.ColorPicker.#ctor(System.Int32,System.Int32,NStack.ustring) + name: ColorPicker(Int32, Int32, ustring) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker__ctor_System_Int32_System_Int32_NStack_ustring_ + commentId: M:Terminal.Gui.ColorPicker.#ctor(System.Int32,System.Int32,NStack.ustring) + fullName: Terminal.Gui.ColorPicker.ColorPicker(System.Int32, System.Int32, NStack.ustring) + nameWithType: ColorPicker.ColorPicker(Int32, Int32, ustring) +- uid: Terminal.Gui.ColorPicker.#ctor(Terminal.Gui.Point,NStack.ustring) + name: ColorPicker(Point, ustring) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker__ctor_Terminal_Gui_Point_NStack_ustring_ + commentId: M:Terminal.Gui.ColorPicker.#ctor(Terminal.Gui.Point,NStack.ustring) + fullName: Terminal.Gui.ColorPicker.ColorPicker(Terminal.Gui.Point, NStack.ustring) + nameWithType: ColorPicker.ColorPicker(Point, ustring) +- uid: Terminal.Gui.ColorPicker.#ctor* + name: ColorPicker + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker__ctor_ + commentId: Overload:Terminal.Gui.ColorPicker.#ctor + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.ColorPicker + nameWithType: ColorPicker.ColorPicker +- uid: Terminal.Gui.ColorPicker.ColorChanged + name: ColorChanged + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_ColorChanged + commentId: E:Terminal.Gui.ColorPicker.ColorChanged + fullName: Terminal.Gui.ColorPicker.ColorChanged + nameWithType: ColorPicker.ColorChanged +- uid: Terminal.Gui.ColorPicker.Cursor + name: Cursor + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_Cursor + commentId: P:Terminal.Gui.ColorPicker.Cursor + fullName: Terminal.Gui.ColorPicker.Cursor + nameWithType: ColorPicker.Cursor +- uid: Terminal.Gui.ColorPicker.Cursor* + name: Cursor + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_Cursor_ + commentId: Overload:Terminal.Gui.ColorPicker.Cursor + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.Cursor + nameWithType: ColorPicker.Cursor +- uid: Terminal.Gui.ColorPicker.MouseEvent(Terminal.Gui.MouseEvent) + name: MouseEvent(MouseEvent) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MouseEvent_Terminal_Gui_MouseEvent_ + commentId: M:Terminal.Gui.ColorPicker.MouseEvent(Terminal.Gui.MouseEvent) + fullName: Terminal.Gui.ColorPicker.MouseEvent(Terminal.Gui.MouseEvent) + nameWithType: ColorPicker.MouseEvent(MouseEvent) +- uid: Terminal.Gui.ColorPicker.MouseEvent* + name: MouseEvent + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MouseEvent_ + commentId: Overload:Terminal.Gui.ColorPicker.MouseEvent + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.MouseEvent + nameWithType: ColorPicker.MouseEvent +- uid: Terminal.Gui.ColorPicker.MoveDown + name: MoveDown() + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveDown + commentId: M:Terminal.Gui.ColorPicker.MoveDown + fullName: Terminal.Gui.ColorPicker.MoveDown() + nameWithType: ColorPicker.MoveDown() +- uid: Terminal.Gui.ColorPicker.MoveDown* + name: MoveDown + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveDown_ + commentId: Overload:Terminal.Gui.ColorPicker.MoveDown + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.MoveDown + nameWithType: ColorPicker.MoveDown +- uid: Terminal.Gui.ColorPicker.MoveLeft + name: MoveLeft() + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveLeft + commentId: M:Terminal.Gui.ColorPicker.MoveLeft + fullName: Terminal.Gui.ColorPicker.MoveLeft() + nameWithType: ColorPicker.MoveLeft() +- uid: Terminal.Gui.ColorPicker.MoveLeft* + name: MoveLeft + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveLeft_ + commentId: Overload:Terminal.Gui.ColorPicker.MoveLeft + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.MoveLeft + nameWithType: ColorPicker.MoveLeft +- uid: Terminal.Gui.ColorPicker.MoveRight + name: MoveRight() + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveRight + commentId: M:Terminal.Gui.ColorPicker.MoveRight + fullName: Terminal.Gui.ColorPicker.MoveRight() + nameWithType: ColorPicker.MoveRight() +- uid: Terminal.Gui.ColorPicker.MoveRight* + name: MoveRight + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveRight_ + commentId: Overload:Terminal.Gui.ColorPicker.MoveRight + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.MoveRight + nameWithType: ColorPicker.MoveRight +- uid: Terminal.Gui.ColorPicker.MoveUp + name: MoveUp() + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveUp + commentId: M:Terminal.Gui.ColorPicker.MoveUp + fullName: Terminal.Gui.ColorPicker.MoveUp() + nameWithType: ColorPicker.MoveUp() +- uid: Terminal.Gui.ColorPicker.MoveUp* + name: MoveUp + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_MoveUp_ + commentId: Overload:Terminal.Gui.ColorPicker.MoveUp + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.MoveUp + nameWithType: ColorPicker.MoveUp +- uid: Terminal.Gui.ColorPicker.ProcessKey(Terminal.Gui.KeyEvent) + name: ProcessKey(KeyEvent) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_ProcessKey_Terminal_Gui_KeyEvent_ + commentId: M:Terminal.Gui.ColorPicker.ProcessKey(Terminal.Gui.KeyEvent) + fullName: Terminal.Gui.ColorPicker.ProcessKey(Terminal.Gui.KeyEvent) + nameWithType: ColorPicker.ProcessKey(KeyEvent) +- uid: Terminal.Gui.ColorPicker.ProcessKey* + name: ProcessKey + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_ProcessKey_ + commentId: Overload:Terminal.Gui.ColorPicker.ProcessKey + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.ProcessKey + nameWithType: ColorPicker.ProcessKey +- uid: Terminal.Gui.ColorPicker.Redraw(Terminal.Gui.Rect) + name: Redraw(Rect) + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_Redraw_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.ColorPicker.Redraw(Terminal.Gui.Rect) + fullName: Terminal.Gui.ColorPicker.Redraw(Terminal.Gui.Rect) + nameWithType: ColorPicker.Redraw(Rect) +- uid: Terminal.Gui.ColorPicker.Redraw* + name: Redraw + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_Redraw_ + commentId: Overload:Terminal.Gui.ColorPicker.Redraw + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.Redraw + nameWithType: ColorPicker.Redraw +- uid: Terminal.Gui.ColorPicker.SelectedColor + name: SelectedColor + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_SelectedColor + commentId: P:Terminal.Gui.ColorPicker.SelectedColor + fullName: Terminal.Gui.ColorPicker.SelectedColor + nameWithType: ColorPicker.SelectedColor +- uid: Terminal.Gui.ColorPicker.SelectedColor* + name: SelectedColor + href: api/Terminal.Gui/Terminal.Gui.ColorPicker.html#Terminal_Gui_ColorPicker_SelectedColor_ + commentId: Overload:Terminal.Gui.ColorPicker.SelectedColor + isSpec: "True" + fullName: Terminal.Gui.ColorPicker.SelectedColor + nameWithType: ColorPicker.SelectedColor - uid: Terminal.Gui.Colors name: Colors href: api/Terminal.Gui/Terminal.Gui.Colors.html @@ -3297,6 +3457,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ConsoleDriver.Init nameWithType: ConsoleDriver.Init +- uid: Terminal.Gui.ConsoleDriver.IsValidContent(System.Int32,System.Int32,Terminal.Gui.Rect) + name: IsValidContent(Int32, Int32, Rect) + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_IsValidContent_System_Int32_System_Int32_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.ConsoleDriver.IsValidContent(System.Int32,System.Int32,Terminal.Gui.Rect) + fullName: Terminal.Gui.ConsoleDriver.IsValidContent(System.Int32, System.Int32, Terminal.Gui.Rect) + nameWithType: ConsoleDriver.IsValidContent(Int32, Int32, Rect) +- uid: Terminal.Gui.ConsoleDriver.IsValidContent* + name: IsValidContent + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_IsValidContent_ + commentId: Overload:Terminal.Gui.ConsoleDriver.IsValidContent + isSpec: "True" + fullName: Terminal.Gui.ConsoleDriver.IsValidContent + nameWithType: ConsoleDriver.IsValidContent - uid: Terminal.Gui.ConsoleDriver.Left name: Left href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Left @@ -3684,6 +3857,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ConsoleDriver.UpdateCursor nameWithType: ConsoleDriver.UpdateCursor +- uid: Terminal.Gui.ConsoleDriver.UpdateOffScreen + name: UpdateOffScreen() + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateOffScreen + commentId: M:Terminal.Gui.ConsoleDriver.UpdateOffScreen + fullName: Terminal.Gui.ConsoleDriver.UpdateOffScreen() + nameWithType: ConsoleDriver.UpdateOffScreen() +- uid: Terminal.Gui.ConsoleDriver.UpdateOffScreen* + name: UpdateOffScreen + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateOffScreen_ + commentId: Overload:Terminal.Gui.ConsoleDriver.UpdateOffScreen + isSpec: "True" + fullName: Terminal.Gui.ConsoleDriver.UpdateOffScreen + nameWithType: ConsoleDriver.UpdateOffScreen - uid: Terminal.Gui.ConsoleDriver.UpdateScreen name: UpdateScreen() href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateScreen @@ -3861,19 +4047,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ContextMenu.MenuBar nameWithType: ContextMenu.MenuBar -- uid: Terminal.Gui.ContextMenu.MenuItens - name: MenuItens - href: api/Terminal.Gui/Terminal.Gui.ContextMenu.html#Terminal_Gui_ContextMenu_MenuItens - commentId: P:Terminal.Gui.ContextMenu.MenuItens - fullName: Terminal.Gui.ContextMenu.MenuItens - nameWithType: ContextMenu.MenuItens -- uid: Terminal.Gui.ContextMenu.MenuItens* - name: MenuItens - href: api/Terminal.Gui/Terminal.Gui.ContextMenu.html#Terminal_Gui_ContextMenu_MenuItens_ - commentId: Overload:Terminal.Gui.ContextMenu.MenuItens +- uid: Terminal.Gui.ContextMenu.MenuItems + name: MenuItems + href: api/Terminal.Gui/Terminal.Gui.ContextMenu.html#Terminal_Gui_ContextMenu_MenuItems + commentId: P:Terminal.Gui.ContextMenu.MenuItems + fullName: Terminal.Gui.ContextMenu.MenuItems + nameWithType: ContextMenu.MenuItems +- uid: Terminal.Gui.ContextMenu.MenuItems* + name: MenuItems + href: api/Terminal.Gui/Terminal.Gui.ContextMenu.html#Terminal_Gui_ContextMenu_MenuItems_ + commentId: Overload:Terminal.Gui.ContextMenu.MenuItems isSpec: "True" - fullName: Terminal.Gui.ContextMenu.MenuItens - nameWithType: ContextMenu.MenuItens + fullName: Terminal.Gui.ContextMenu.MenuItems + nameWithType: ContextMenu.MenuItems - uid: Terminal.Gui.ContextMenu.MouseFlags name: MouseFlags href: api/Terminal.Gui/Terminal.Gui.ContextMenu.html#Terminal_Gui_ContextMenu_MouseFlags @@ -5753,6 +5939,19 @@ references: isSpec: "True" fullName: Terminal.Gui.FakeDriver.UpdateCursor nameWithType: FakeDriver.UpdateCursor +- uid: Terminal.Gui.FakeDriver.UpdateOffScreen + name: UpdateOffScreen() + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_UpdateOffScreen + commentId: M:Terminal.Gui.FakeDriver.UpdateOffScreen + fullName: Terminal.Gui.FakeDriver.UpdateOffScreen() + nameWithType: FakeDriver.UpdateOffScreen() +- uid: Terminal.Gui.FakeDriver.UpdateOffScreen* + name: UpdateOffScreen + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_UpdateOffScreen_ + commentId: Overload:Terminal.Gui.FakeDriver.UpdateOffScreen + isSpec: "True" + fullName: Terminal.Gui.FakeDriver.UpdateOffScreen + nameWithType: FakeDriver.UpdateOffScreen - uid: Terminal.Gui.FakeDriver.UpdateScreen name: UpdateScreen() href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_UpdateScreen @@ -9204,36 +9403,36 @@ references: commentId: M:Terminal.Gui.Label.#ctor fullName: Terminal.Gui.Label.Label() nameWithType: Label.Label() -- uid: Terminal.Gui.Label.#ctor(NStack.ustring) - name: Label(ustring) - href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_NStack_ustring_ - commentId: M:Terminal.Gui.Label.#ctor(NStack.ustring) - fullName: Terminal.Gui.Label.Label(NStack.ustring) - nameWithType: Label.Label(ustring) -- uid: Terminal.Gui.Label.#ctor(NStack.ustring,Terminal.Gui.TextDirection) - name: Label(ustring, TextDirection) - href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_NStack_ustring_Terminal_Gui_TextDirection_ - commentId: M:Terminal.Gui.Label.#ctor(NStack.ustring,Terminal.Gui.TextDirection) - fullName: Terminal.Gui.Label.Label(NStack.ustring, Terminal.Gui.TextDirection) - nameWithType: Label.Label(ustring, TextDirection) -- uid: Terminal.Gui.Label.#ctor(System.Int32,System.Int32,NStack.ustring) - name: Label(Int32, Int32, ustring) - href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_System_Int32_System_Int32_NStack_ustring_ - commentId: M:Terminal.Gui.Label.#ctor(System.Int32,System.Int32,NStack.ustring) - fullName: Terminal.Gui.Label.Label(System.Int32, System.Int32, NStack.ustring) - nameWithType: Label.Label(Int32, Int32, ustring) -- uid: Terminal.Gui.Label.#ctor(Terminal.Gui.Rect) - name: Label(Rect) - href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_Terminal_Gui_Rect_ - commentId: M:Terminal.Gui.Label.#ctor(Terminal.Gui.Rect) - fullName: Terminal.Gui.Label.Label(Terminal.Gui.Rect) - nameWithType: Label.Label(Rect) -- uid: Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,NStack.ustring) - name: Label(Rect, ustring) - href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_Terminal_Gui_Rect_NStack_ustring_ - commentId: M:Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,NStack.ustring) - fullName: Terminal.Gui.Label.Label(Terminal.Gui.Rect, NStack.ustring) - nameWithType: Label.Label(Rect, ustring) +- uid: Terminal.Gui.Label.#ctor(NStack.ustring,System.Boolean) + name: Label(ustring, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_NStack_ustring_System_Boolean_ + commentId: M:Terminal.Gui.Label.#ctor(NStack.ustring,System.Boolean) + fullName: Terminal.Gui.Label.Label(NStack.ustring, System.Boolean) + nameWithType: Label.Label(ustring, Boolean) +- uid: Terminal.Gui.Label.#ctor(NStack.ustring,Terminal.Gui.TextDirection,System.Boolean) + name: Label(ustring, TextDirection, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_NStack_ustring_Terminal_Gui_TextDirection_System_Boolean_ + commentId: M:Terminal.Gui.Label.#ctor(NStack.ustring,Terminal.Gui.TextDirection,System.Boolean) + fullName: Terminal.Gui.Label.Label(NStack.ustring, Terminal.Gui.TextDirection, System.Boolean) + nameWithType: Label.Label(ustring, TextDirection, Boolean) +- uid: Terminal.Gui.Label.#ctor(System.Int32,System.Int32,NStack.ustring,System.Boolean) + name: Label(Int32, Int32, ustring, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_System_Int32_System_Int32_NStack_ustring_System_Boolean_ + commentId: M:Terminal.Gui.Label.#ctor(System.Int32,System.Int32,NStack.ustring,System.Boolean) + fullName: Terminal.Gui.Label.Label(System.Int32, System.Int32, NStack.ustring, System.Boolean) + nameWithType: Label.Label(Int32, Int32, ustring, Boolean) +- uid: Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,NStack.ustring,System.Boolean) + name: Label(Rect, ustring, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_Terminal_Gui_Rect_NStack_ustring_System_Boolean_ + commentId: M:Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,NStack.ustring,System.Boolean) + fullName: Terminal.Gui.Label.Label(Terminal.Gui.Rect, NStack.ustring, System.Boolean) + nameWithType: Label.Label(Rect, ustring, Boolean) +- uid: Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,System.Boolean) + name: Label(Rect, Boolean) + href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_Terminal_Gui_Rect_System_Boolean_ + commentId: M:Terminal.Gui.Label.#ctor(Terminal.Gui.Rect,System.Boolean) + fullName: Terminal.Gui.Label.Label(Terminal.Gui.Rect, System.Boolean) + nameWithType: Label.Label(Rect, Boolean) - uid: Terminal.Gui.Label.#ctor* name: Label href: api/Terminal.Gui/Terminal.Gui.Label.html#Terminal_Gui_Label__ctor_ @@ -9291,6 +9490,96 @@ references: commentId: F:Terminal.Gui.LayoutStyle.Computed fullName: Terminal.Gui.LayoutStyle.Computed nameWithType: LayoutStyle.Computed +- uid: Terminal.Gui.LineView + name: LineView + href: api/Terminal.Gui/Terminal.Gui.LineView.html + commentId: T:Terminal.Gui.LineView + fullName: Terminal.Gui.LineView + nameWithType: LineView +- uid: Terminal.Gui.LineView.#ctor + name: LineView() + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView__ctor + commentId: M:Terminal.Gui.LineView.#ctor + fullName: Terminal.Gui.LineView.LineView() + nameWithType: LineView.LineView() +- uid: Terminal.Gui.LineView.#ctor(Terminal.Gui.Graphs.Orientation) + name: LineView(Orientation) + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView__ctor_Terminal_Gui_Graphs_Orientation_ + commentId: M:Terminal.Gui.LineView.#ctor(Terminal.Gui.Graphs.Orientation) + fullName: Terminal.Gui.LineView.LineView(Terminal.Gui.Graphs.Orientation) + nameWithType: LineView.LineView(Orientation) +- uid: Terminal.Gui.LineView.#ctor* + name: LineView + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView__ctor_ + commentId: Overload:Terminal.Gui.LineView.#ctor + isSpec: "True" + fullName: Terminal.Gui.LineView.LineView + nameWithType: LineView.LineView +- uid: Terminal.Gui.LineView.EndingAnchor + name: EndingAnchor + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_EndingAnchor + commentId: P:Terminal.Gui.LineView.EndingAnchor + fullName: Terminal.Gui.LineView.EndingAnchor + nameWithType: LineView.EndingAnchor +- uid: Terminal.Gui.LineView.EndingAnchor* + name: EndingAnchor + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_EndingAnchor_ + commentId: Overload:Terminal.Gui.LineView.EndingAnchor + isSpec: "True" + fullName: Terminal.Gui.LineView.EndingAnchor + nameWithType: LineView.EndingAnchor +- uid: Terminal.Gui.LineView.LineRune + name: LineRune + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_LineRune + commentId: P:Terminal.Gui.LineView.LineRune + fullName: Terminal.Gui.LineView.LineRune + nameWithType: LineView.LineRune +- uid: Terminal.Gui.LineView.LineRune* + name: LineRune + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_LineRune_ + commentId: Overload:Terminal.Gui.LineView.LineRune + isSpec: "True" + fullName: Terminal.Gui.LineView.LineRune + nameWithType: LineView.LineRune +- uid: Terminal.Gui.LineView.Orientation + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_Orientation + commentId: P:Terminal.Gui.LineView.Orientation + fullName: Terminal.Gui.LineView.Orientation + nameWithType: LineView.Orientation +- uid: Terminal.Gui.LineView.Orientation* + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_Orientation_ + commentId: Overload:Terminal.Gui.LineView.Orientation + isSpec: "True" + fullName: Terminal.Gui.LineView.Orientation + nameWithType: LineView.Orientation +- uid: Terminal.Gui.LineView.Redraw(Terminal.Gui.Rect) + name: Redraw(Rect) + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_Redraw_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.LineView.Redraw(Terminal.Gui.Rect) + fullName: Terminal.Gui.LineView.Redraw(Terminal.Gui.Rect) + nameWithType: LineView.Redraw(Rect) +- uid: Terminal.Gui.LineView.Redraw* + name: Redraw + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_Redraw_ + commentId: Overload:Terminal.Gui.LineView.Redraw + isSpec: "True" + fullName: Terminal.Gui.LineView.Redraw + nameWithType: LineView.Redraw +- uid: Terminal.Gui.LineView.StartingAnchor + name: StartingAnchor + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_StartingAnchor + commentId: P:Terminal.Gui.LineView.StartingAnchor + fullName: Terminal.Gui.LineView.StartingAnchor + nameWithType: LineView.StartingAnchor +- uid: Terminal.Gui.LineView.StartingAnchor* + name: StartingAnchor + href: api/Terminal.Gui/Terminal.Gui.LineView.html#Terminal_Gui_LineView_StartingAnchor_ + commentId: Overload:Terminal.Gui.LineView.StartingAnchor + isSpec: "True" + fullName: Terminal.Gui.LineView.StartingAnchor + nameWithType: LineView.StartingAnchor - uid: Terminal.Gui.ListView name: ListView href: api/Terminal.Gui/Terminal.Gui.ListView.html @@ -10696,6 +10985,19 @@ references: isSpec: "True" fullName: Terminal.Gui.MenuItem.CheckType nameWithType: MenuItem.CheckType +- uid: Terminal.Gui.MenuItem.Data + name: Data + href: api/Terminal.Gui/Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Data + commentId: P:Terminal.Gui.MenuItem.Data + fullName: Terminal.Gui.MenuItem.Data + nameWithType: MenuItem.Data +- uid: Terminal.Gui.MenuItem.Data* + name: Data + href: api/Terminal.Gui/Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Data_ + commentId: Overload:Terminal.Gui.MenuItem.Data + isSpec: "True" + fullName: Terminal.Gui.MenuItem.Data + nameWithType: MenuItem.Data - uid: Terminal.Gui.MenuItem.GetMenuBarItem name: GetMenuBarItem() href: api/Terminal.Gui/Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_GetMenuBarItem @@ -17164,18 +17466,18 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.CalcRect nameWithType: TextFormatter.CalcRect -- uid: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,System.Boolean) - name: ClipAndJustify(ustring, Int32, Boolean) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_ClipAndJustify_NStack_ustring_System_Int32_System_Boolean_ - commentId: M:Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,System.Boolean) - fullName: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring, System.Int32, System.Boolean) - nameWithType: TextFormatter.ClipAndJustify(ustring, Int32, Boolean) -- uid: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment) - name: ClipAndJustify(ustring, Int32, TextAlignment) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_ClipAndJustify_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_ - commentId: M:Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment) - fullName: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment) - nameWithType: TextFormatter.ClipAndJustify(ustring, Int32, TextAlignment) +- uid: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,System.Boolean,Terminal.Gui.TextDirection) + name: ClipAndJustify(ustring, Int32, Boolean, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_ClipAndJustify_NStack_ustring_System_Int32_System_Boolean_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,System.Boolean,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring, System.Int32, System.Boolean, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.ClipAndJustify(ustring, Int32, Boolean, TextDirection) +- uid: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,Terminal.Gui.TextDirection) + name: ClipAndJustify(ustring, Int32, TextAlignment, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_ClipAndJustify_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.ClipAndJustify(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.ClipAndJustify(ustring, Int32, TextAlignment, TextDirection) - uid: Terminal.Gui.TextFormatter.ClipAndJustify* name: ClipAndJustify href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_ClipAndJustify_ @@ -17222,12 +17524,12 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.Direction nameWithType: TextFormatter.Direction -- uid: Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute) - name: Draw(Rect, Attribute, Attribute) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Draw_Terminal_Gui_Rect_Terminal_Gui_Attribute_Terminal_Gui_Attribute_ - commentId: M:Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute) - fullName: Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect, Terminal.Gui.Attribute, Terminal.Gui.Attribute) - nameWithType: TextFormatter.Draw(Rect, Attribute, Attribute) +- uid: Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute,Terminal.Gui.Rect) + name: Draw(Rect, Attribute, Attribute, Rect) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Draw_Terminal_Gui_Rect_Terminal_Gui_Attribute_Terminal_Gui_Attribute_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute,Terminal.Gui.Rect) + fullName: Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect, Terminal.Gui.Attribute, Terminal.Gui.Attribute, Terminal.Gui.Rect) + nameWithType: TextFormatter.Draw(Rect, Attribute, Attribute, Rect) - uid: Terminal.Gui.TextFormatter.Draw* name: Draw href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Draw_ @@ -17251,18 +17553,18 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.FindHotKey nameWithType: TextFormatter.FindHotKey -- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32) - name: Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Int32_ - commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32) - fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, System.Boolean, System.Boolean, System.Boolean, System.Int32) - nameWithType: TextFormatter.Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) -- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32) - name: Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_System_Boolean_System_Boolean_System_Int32_ - commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32) - fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment, System.Boolean, System.Boolean, System.Int32) - nameWithType: TextFormatter.Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) +- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + name: Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Int32_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, System.Boolean, System.Boolean, System.Boolean, System.Int32, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.Format(ustring, Int32, Boolean, Boolean, Boolean, Int32, TextDirection) +- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + name: Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_System_Boolean_System_Boolean_System_Int32_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment, System.Boolean, System.Boolean, System.Int32, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32, TextDirection) - uid: Terminal.Gui.TextFormatter.Format* name: Format href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_ @@ -17270,6 +17572,63 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.Format nameWithType: TextFormatter.Format +- uid: Terminal.Gui.TextFormatter.GetMaxLengthForWidth(NStack.ustring,System.Int32) + name: GetMaxLengthForWidth(ustring, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetMaxLengthForWidth_NStack_ustring_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.GetMaxLengthForWidth(NStack.ustring,System.Int32) + fullName: Terminal.Gui.TextFormatter.GetMaxLengthForWidth(NStack.ustring, System.Int32) + nameWithType: TextFormatter.GetMaxLengthForWidth(ustring, Int32) +- uid: Terminal.Gui.TextFormatter.GetMaxLengthForWidth(System.Collections.Generic.List{System.Rune},System.Int32) + name: GetMaxLengthForWidth(List, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetMaxLengthForWidth_System_Collections_Generic_List_System_Rune__System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.GetMaxLengthForWidth(System.Collections.Generic.List{System.Rune},System.Int32) + name.vb: GetMaxLengthForWidth(List(Of Rune), Int32) + fullName: Terminal.Gui.TextFormatter.GetMaxLengthForWidth(System.Collections.Generic.List, System.Int32) + fullName.vb: Terminal.Gui.TextFormatter.GetMaxLengthForWidth(System.Collections.Generic.List(Of System.Rune), System.Int32) + nameWithType: TextFormatter.GetMaxLengthForWidth(List, Int32) + nameWithType.vb: TextFormatter.GetMaxLengthForWidth(List(Of Rune), Int32) +- uid: Terminal.Gui.TextFormatter.GetMaxLengthForWidth* + name: GetMaxLengthForWidth + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetMaxLengthForWidth_ + commentId: Overload:Terminal.Gui.TextFormatter.GetMaxLengthForWidth + isSpec: "True" + fullName: Terminal.Gui.TextFormatter.GetMaxLengthForWidth + nameWithType: TextFormatter.GetMaxLengthForWidth +- uid: Terminal.Gui.TextFormatter.GetSumMaxCharWidth(NStack.ustring,System.Int32,System.Int32) + name: GetSumMaxCharWidth(ustring, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetSumMaxCharWidth_NStack_ustring_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.GetSumMaxCharWidth(NStack.ustring,System.Int32,System.Int32) + fullName: Terminal.Gui.TextFormatter.GetSumMaxCharWidth(NStack.ustring, System.Int32, System.Int32) + nameWithType: TextFormatter.GetSumMaxCharWidth(ustring, Int32, Int32) +- uid: Terminal.Gui.TextFormatter.GetSumMaxCharWidth(System.Collections.Generic.List{NStack.ustring},System.Int32,System.Int32) + name: GetSumMaxCharWidth(List, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetSumMaxCharWidth_System_Collections_Generic_List_NStack_ustring__System_Int32_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.GetSumMaxCharWidth(System.Collections.Generic.List{NStack.ustring},System.Int32,System.Int32) + name.vb: GetSumMaxCharWidth(List(Of ustring), Int32, Int32) + fullName: Terminal.Gui.TextFormatter.GetSumMaxCharWidth(System.Collections.Generic.List, System.Int32, System.Int32) + fullName.vb: Terminal.Gui.TextFormatter.GetSumMaxCharWidth(System.Collections.Generic.List(Of NStack.ustring), System.Int32, System.Int32) + nameWithType: TextFormatter.GetSumMaxCharWidth(List, Int32, Int32) + nameWithType.vb: TextFormatter.GetSumMaxCharWidth(List(Of ustring), Int32, Int32) +- uid: Terminal.Gui.TextFormatter.GetSumMaxCharWidth* + name: GetSumMaxCharWidth + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetSumMaxCharWidth_ + commentId: Overload:Terminal.Gui.TextFormatter.GetSumMaxCharWidth + isSpec: "True" + fullName: Terminal.Gui.TextFormatter.GetSumMaxCharWidth + nameWithType: TextFormatter.GetSumMaxCharWidth +- uid: Terminal.Gui.TextFormatter.GetTextWidth(NStack.ustring) + name: GetTextWidth(ustring) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetTextWidth_NStack_ustring_ + commentId: M:Terminal.Gui.TextFormatter.GetTextWidth(NStack.ustring) + fullName: Terminal.Gui.TextFormatter.GetTextWidth(NStack.ustring) + nameWithType: TextFormatter.GetTextWidth(ustring) +- uid: Terminal.Gui.TextFormatter.GetTextWidth* + name: GetTextWidth + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_GetTextWidth_ + commentId: Overload:Terminal.Gui.TextFormatter.GetTextWidth + isSpec: "True" + fullName: Terminal.Gui.TextFormatter.GetTextWidth + nameWithType: TextFormatter.GetTextWidth - uid: Terminal.Gui.TextFormatter.HotKey name: HotKey href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_HotKey @@ -17380,12 +17739,12 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.IsVerticalDirection nameWithType: TextFormatter.IsVerticalDirection -- uid: Terminal.Gui.TextFormatter.Justify(NStack.ustring,System.Int32,System.Char) - name: Justify(ustring, Int32, Char) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Justify_NStack_ustring_System_Int32_System_Char_ - commentId: M:Terminal.Gui.TextFormatter.Justify(NStack.ustring,System.Int32,System.Char) - fullName: Terminal.Gui.TextFormatter.Justify(NStack.ustring, System.Int32, System.Char) - nameWithType: TextFormatter.Justify(ustring, Int32, Char) +- uid: Terminal.Gui.TextFormatter.Justify(NStack.ustring,System.Int32,System.Char,Terminal.Gui.TextDirection) + name: Justify(ustring, Int32, Char, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Justify_NStack_ustring_System_Int32_System_Char_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.Justify(NStack.ustring,System.Int32,System.Char,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.Justify(NStack.ustring, System.Int32, System.Char, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.Justify(ustring, Int32, Char, TextDirection) - uid: Terminal.Gui.TextFormatter.Justify* name: Justify href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Justify_ @@ -17510,12 +17869,12 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.VerticalAlignment nameWithType: TextFormatter.VerticalAlignment -- uid: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32) - name: WordWrap(ustring, Int32, Boolean, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_System_Int32_ - commentId: M:Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32) - fullName: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring, System.Int32, System.Boolean, System.Int32) - nameWithType: TextFormatter.WordWrap(ustring, Int32, Boolean, Int32) +- uid: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + name: WordWrap(ustring, Int32, Boolean, Int32, TextDirection) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_System_Int32_Terminal_Gui_TextDirection_ + commentId: M:Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32,Terminal.Gui.TextDirection) + fullName: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring, System.Int32, System.Boolean, System.Int32, Terminal.Gui.TextDirection) + nameWithType: TextFormatter.WordWrap(ustring, Int32, Boolean, Int32, TextDirection) - uid: Terminal.Gui.TextFormatter.WordWrap* name: WordWrap href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_ @@ -20719,6 +21078,23 @@ references: fullName.vb: Terminal.Gui.TreeView(Of T).CollapseImpl nameWithType: TreeView.CollapseImpl nameWithType.vb: TreeView(Of T).CollapseImpl +- uid: Terminal.Gui.TreeView`1.ColorGetter + name: ColorGetter + href: api/Terminal.Gui/Terminal.Gui.TreeView-1.html#Terminal_Gui_TreeView_1_ColorGetter + commentId: P:Terminal.Gui.TreeView`1.ColorGetter + fullName: Terminal.Gui.TreeView.ColorGetter + fullName.vb: Terminal.Gui.TreeView(Of T).ColorGetter + nameWithType: TreeView.ColorGetter + nameWithType.vb: TreeView(Of T).ColorGetter +- uid: Terminal.Gui.TreeView`1.ColorGetter* + name: ColorGetter + href: api/Terminal.Gui/Terminal.Gui.TreeView-1.html#Terminal_Gui_TreeView_1_ColorGetter_ + commentId: Overload:Terminal.Gui.TreeView`1.ColorGetter + isSpec: "True" + fullName: Terminal.Gui.TreeView.ColorGetter + fullName.vb: Terminal.Gui.TreeView(Of T).ColorGetter + nameWithType: TreeView.ColorGetter + nameWithType.vb: TreeView(Of T).ColorGetter - uid: Terminal.Gui.TreeView`1.ContentHeight name: ContentHeight href: api/Terminal.Gui/Terminal.Gui.TreeView-1.html#Terminal_Gui_TreeView_1_ContentHeight @@ -23063,6 +23439,19 @@ references: isSpec: "True" fullName: Terminal.Gui.View.TextDirection nameWithType: View.TextDirection +- uid: Terminal.Gui.View.TextFormatter + name: TextFormatter + href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter + commentId: P:Terminal.Gui.View.TextFormatter + fullName: Terminal.Gui.View.TextFormatter + nameWithType: View.TextFormatter +- uid: Terminal.Gui.View.TextFormatter* + name: TextFormatter + href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter_ + commentId: Overload:Terminal.Gui.View.TextFormatter + isSpec: "True" + fullName: Terminal.Gui.View.TextFormatter + nameWithType: View.TextFormatter - uid: Terminal.Gui.View.ToString name: ToString() href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_ToString @@ -23173,102 +23562,6 @@ references: isSpec: "True" fullName: Terminal.Gui.View.Y nameWithType: View.Y -- uid: Terminal.Gui.Views - name: Terminal.Gui.Views - href: api/Terminal.Gui/Terminal.Gui.Views.html - commentId: N:Terminal.Gui.Views - fullName: Terminal.Gui.Views - nameWithType: Terminal.Gui.Views -- uid: Terminal.Gui.Views.LineView - name: LineView - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html - commentId: T:Terminal.Gui.Views.LineView - fullName: Terminal.Gui.Views.LineView - nameWithType: LineView -- uid: Terminal.Gui.Views.LineView.#ctor - name: LineView() - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView__ctor - commentId: M:Terminal.Gui.Views.LineView.#ctor - fullName: Terminal.Gui.Views.LineView.LineView() - nameWithType: LineView.LineView() -- uid: Terminal.Gui.Views.LineView.#ctor(Terminal.Gui.Graphs.Orientation) - name: LineView(Orientation) - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView__ctor_Terminal_Gui_Graphs_Orientation_ - commentId: M:Terminal.Gui.Views.LineView.#ctor(Terminal.Gui.Graphs.Orientation) - fullName: Terminal.Gui.Views.LineView.LineView(Terminal.Gui.Graphs.Orientation) - nameWithType: LineView.LineView(Orientation) -- uid: Terminal.Gui.Views.LineView.#ctor* - name: LineView - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView__ctor_ - commentId: Overload:Terminal.Gui.Views.LineView.#ctor - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.LineView - nameWithType: LineView.LineView -- uid: Terminal.Gui.Views.LineView.EndingAnchor - name: EndingAnchor - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_EndingAnchor - commentId: P:Terminal.Gui.Views.LineView.EndingAnchor - fullName: Terminal.Gui.Views.LineView.EndingAnchor - nameWithType: LineView.EndingAnchor -- uid: Terminal.Gui.Views.LineView.EndingAnchor* - name: EndingAnchor - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_EndingAnchor_ - commentId: Overload:Terminal.Gui.Views.LineView.EndingAnchor - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.EndingAnchor - nameWithType: LineView.EndingAnchor -- uid: Terminal.Gui.Views.LineView.LineRune - name: LineRune - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_LineRune - commentId: P:Terminal.Gui.Views.LineView.LineRune - fullName: Terminal.Gui.Views.LineView.LineRune - nameWithType: LineView.LineRune -- uid: Terminal.Gui.Views.LineView.LineRune* - name: LineRune - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_LineRune_ - commentId: Overload:Terminal.Gui.Views.LineView.LineRune - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.LineRune - nameWithType: LineView.LineRune -- uid: Terminal.Gui.Views.LineView.Orientation - name: Orientation - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_Orientation - commentId: P:Terminal.Gui.Views.LineView.Orientation - fullName: Terminal.Gui.Views.LineView.Orientation - nameWithType: LineView.Orientation -- uid: Terminal.Gui.Views.LineView.Orientation* - name: Orientation - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_Orientation_ - commentId: Overload:Terminal.Gui.Views.LineView.Orientation - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.Orientation - nameWithType: LineView.Orientation -- uid: Terminal.Gui.Views.LineView.Redraw(Terminal.Gui.Rect) - name: Redraw(Rect) - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_Redraw_Terminal_Gui_Rect_ - commentId: M:Terminal.Gui.Views.LineView.Redraw(Terminal.Gui.Rect) - fullName: Terminal.Gui.Views.LineView.Redraw(Terminal.Gui.Rect) - nameWithType: LineView.Redraw(Rect) -- uid: Terminal.Gui.Views.LineView.Redraw* - name: Redraw - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_Redraw_ - commentId: Overload:Terminal.Gui.Views.LineView.Redraw - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.Redraw - nameWithType: LineView.Redraw -- uid: Terminal.Gui.Views.LineView.StartingAnchor - name: StartingAnchor - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_StartingAnchor - commentId: P:Terminal.Gui.Views.LineView.StartingAnchor - fullName: Terminal.Gui.Views.LineView.StartingAnchor - nameWithType: LineView.StartingAnchor -- uid: Terminal.Gui.Views.LineView.StartingAnchor* - name: StartingAnchor - href: api/Terminal.Gui/Terminal.Gui.Views.LineView.html#Terminal_Gui_Views_LineView_StartingAnchor_ - commentId: Overload:Terminal.Gui.Views.LineView.StartingAnchor - isSpec: "True" - fullName: Terminal.Gui.Views.LineView.StartingAnchor - nameWithType: LineView.StartingAnchor - uid: Terminal.Gui.Window name: Window href: api/Terminal.Gui/Terminal.Gui.Window.html @@ -24098,6 +24391,25 @@ references: isSpec: "True" fullName: UICatalog.Scenarios.Clipping.Setup nameWithType: Clipping.Setup +- uid: UICatalog.Scenarios.ColorPickers + name: ColorPickers + href: api/UICatalog/UICatalog.Scenarios.ColorPickers.html + commentId: T:UICatalog.Scenarios.ColorPickers + fullName: UICatalog.Scenarios.ColorPickers + nameWithType: ColorPickers +- uid: UICatalog.Scenarios.ColorPickers.Setup + name: Setup() + href: api/UICatalog/UICatalog.Scenarios.ColorPickers.html#UICatalog_Scenarios_ColorPickers_Setup + commentId: M:UICatalog.Scenarios.ColorPickers.Setup + fullName: UICatalog.Scenarios.ColorPickers.Setup() + nameWithType: ColorPickers.Setup() +- uid: UICatalog.Scenarios.ColorPickers.Setup* + name: Setup + href: api/UICatalog/UICatalog.Scenarios.ColorPickers.html#UICatalog_Scenarios_ColorPickers_Setup_ + commentId: Overload:UICatalog.Scenarios.ColorPickers.Setup + isSpec: "True" + fullName: UICatalog.Scenarios.ColorPickers.Setup + nameWithType: ColorPickers.Setup - uid: UICatalog.Scenarios.ComboBoxIteration name: ComboBoxIteration href: api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html @@ -27432,6 +27744,32 @@ references: isSpec: "True" fullName: Unix.Terminal.Curses.move nameWithType: Curses.move +- uid: Unix.Terminal.Curses.mvaddch(System.Int32,System.Int32,System.Int32) + name: mvaddch(Int32, Int32, Int32) + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_mvaddch_System_Int32_System_Int32_System_Int32_ + commentId: M:Unix.Terminal.Curses.mvaddch(System.Int32,System.Int32,System.Int32) + fullName: Unix.Terminal.Curses.mvaddch(System.Int32, System.Int32, System.Int32) + nameWithType: Curses.mvaddch(Int32, Int32, Int32) +- uid: Unix.Terminal.Curses.mvaddch* + name: mvaddch + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_mvaddch_ + commentId: Overload:Unix.Terminal.Curses.mvaddch + isSpec: "True" + fullName: Unix.Terminal.Curses.mvaddch + nameWithType: Curses.mvaddch +- uid: Unix.Terminal.Curses.mvaddwstr(System.Int32,System.Int32,System.String) + name: mvaddwstr(Int32, Int32, String) + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_mvaddwstr_System_Int32_System_Int32_System_String_ + commentId: M:Unix.Terminal.Curses.mvaddwstr(System.Int32,System.Int32,System.String) + fullName: Unix.Terminal.Curses.mvaddwstr(System.Int32, System.Int32, System.String) + nameWithType: Curses.mvaddwstr(Int32, Int32, String) +- uid: Unix.Terminal.Curses.mvaddwstr* + name: mvaddwstr + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_mvaddwstr_ + commentId: Overload:Unix.Terminal.Curses.mvaddwstr + isSpec: "True" + fullName: Unix.Terminal.Curses.mvaddwstr + nameWithType: Curses.mvaddwstr - uid: Unix.Terminal.Curses.mvgetch(System.Int32,System.Int32) name: mvgetch(Int32, Int32) href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_mvgetch_System_Int32_System_Int32_