From 13f14406e54628aaccc222c3ef3129839be42066 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Sat, 17 Sep 2022 07:51:52 -0600 Subject: [PATCH] Revert "fix merge" This reverts commit a45314e4a9e6e3e0d1869c0e17cf1aa52abac9f3, reversing changes made to b7ecb827f06168759cbc9510af7fc97e0a7053ec. --- .github/workflows/api-docs.yml | 54 -- .../CursesDriver/CursesDriver.cs | 48 +- .../ConsoleDrivers/CursesDriver/binding.cs | 4 + .../ConsoleDrivers/FakeDriver/FakeDriver.cs | 47 +- Terminal.Gui/ConsoleDrivers/NetDriver.cs | 46 +- Terminal.Gui/ConsoleDrivers/WindowsDriver.cs | 41 +- Terminal.Gui/Core/Application.cs | 21 +- Terminal.Gui/Core/ConsoleDriver.cs | 55 ++ Terminal.Gui/Core/MainLoop.cs | 26 +- Terminal.Gui/Core/TextFormatter.cs | 78 +- Terminal.Gui/Core/View.cs | 63 +- Terminal.Gui/Terminal.Gui.csproj | 2 +- Terminal.Gui/Views/ComboBox.cs | 239 +++++- Terminal.Gui/Views/ListView.cs | 16 +- Terminal.Gui/Views/Menu.cs | 21 +- Terminal.Gui/Views/ScrollView.cs | 1 - Terminal.Gui/Views/TextField.cs | 10 +- Terminal.Gui/Views/TextView.cs | 173 +++-- Terminal.Gui/Views/TreeView.cs | 2 +- Terminal.Gui/Windows/Dialog.cs | 3 +- Terminal.Gui/Windows/MessageBox.cs | 42 +- Terminal.Gui/Windows/Wizard.cs | 5 - UICatalog/KeyBindingsDialog.cs | 11 +- .../Scenarios/AutoSizeAndDirectionText.cs | 1 - UICatalog/Scenarios/BordersComparisons.cs | 3 - UICatalog/Scenarios/BordersOnFrameView.cs | 1 - UICatalog/Scenarios/BordersOnToplevel.cs | 1 - UICatalog/Scenarios/BordersOnWindow.cs | 1 - UICatalog/Scenarios/ComboBoxIteration.cs | 3 +- UICatalog/Scenarios/DynamicMenuBar.cs | 1 - UICatalog/Scenarios/DynamicStatusBar.cs | 1 - UICatalog/Scenarios/Editor.cs | 61 +- UICatalog/Scenarios/GraphViewExample.cs | 29 +- UICatalog/Scenarios/MessageBoxes.cs | 1 - UICatalog/Scenarios/ProgressBarStyles.cs | 6 +- UICatalog/Scenarios/SyntaxHighlighting.cs | 122 ++- UICatalog/Scenarios/Text.cs | 1 - .../Scenarios/TextAlignmentsAndDirection.cs | 2 +- .../Scenarios/TextViewAutocompletePopup.cs | 6 - UICatalog/Scenarios/Wizards.cs | 1 + UnitTests/ApplicationTests.cs | 159 +++- UnitTests/CheckboxTests.cs | 56 +- UnitTests/ComboBoxTests.cs | 695 ++++++++++++++++++ UnitTests/ContextMenuTests.cs | 269 ++++++- UnitTests/ListViewTests.cs | 321 ++++++++ UnitTests/MainLoopTests.cs | 90 ++- UnitTests/MenuTests.cs | 4 +- UnitTests/MessageBoxTests.cs | 158 ++++ UnitTests/ReflectionTools.cs | 35 + UnitTests/TextFormatterTests.cs | 173 ++++- UnitTests/TextViewTests.cs | 538 +++++++++++++- UnitTests/TreeViewTests.cs | 9 + UnitTests/UnitTests.csproj | 4 +- UnitTests/ViewTests.cs | 29 + ...inal.Gui.Application.ResizedEventArgs.html | 6 +- .../Terminal.Gui.Application.RunState.html | 10 +- .../Terminal.Gui.Application.html | 80 +- .../Terminal.Gui/Terminal.Gui.Attribute.html | 24 +- .../Terminal.Gui.Autocomplete.html | 64 +- ...Terminal.Gui.Border.ToplevelContainer.html | 26 +- .../api/Terminal.Gui/Terminal.Gui.Border.html | 46 +- .../Terminal.Gui.BorderStyle.html | 2 +- .../api/Terminal.Gui/Terminal.Gui.Button.html | 38 +- .../Terminal.Gui/Terminal.Gui.CheckBox.html | 34 +- .../Terminal.Gui/Terminal.Gui.Clipboard.html | 10 +- .../Terminal.Gui.ClipboardBase.html | 16 +- docs/api/Terminal.Gui/Terminal.Gui.Color.html | 2 +- .../Terminal.Gui.ColorPicker.html | 36 +- .../Terminal.Gui.ColorScheme.html | 22 +- .../api/Terminal.Gui/Terminal.Gui.Colors.html | 14 +- .../Terminal.Gui/Terminal.Gui.ComboBox.html | 212 +++++- .../Terminal.Gui/Terminal.Gui.Command.html | 2 +- ...nal.Gui.ConsoleDriver.DiagnosticFlags.html | 2 +- .../Terminal.Gui.ConsoleDriver.html | 250 +++++-- .../Terminal.Gui.ContextMenu.html | 36 +- .../Terminal.Gui.CursorVisibility.html | 2 +- .../Terminal.Gui/Terminal.Gui.DateField.html | 38 +- .../Terminal.Gui.DateTimeEventArgs-1.html | 10 +- .../Terminal.Gui.Dialog.ButtonAlignments.html | 2 +- .../api/Terminal.Gui/Terminal.Gui.Dialog.html | 20 +- docs/api/Terminal.Gui/Terminal.Gui.Dim.html | 24 +- .../Terminal.Gui.DisplayModeLayout.html | 2 +- .../Terminal.Gui.FakeConsole.html | 182 ++--- .../Terminal.Gui/Terminal.Gui.FakeDriver.html | 133 +++- .../Terminal.Gui.FakeMainLoop.html | 14 +- .../Terminal.Gui/Terminal.Gui.FileDialog.html | 40 +- .../Terminal.Gui/Terminal.Gui.FrameView.html | 34 +- .../Terminal.Gui/Terminal.Gui.GraphView.html | 50 +- .../Terminal.Gui.Graphs.Axis.html | 28 +- ...inal.Gui.Graphs.AxisIncrementToRender.html | 10 +- .../Terminal.Gui.Graphs.BarSeries.Bar.html | 10 +- .../Terminal.Gui.Graphs.BarSeries.html | 20 +- ...Terminal.Gui.Graphs.GraphCellToRender.html | 12 +- .../Terminal.Gui.Graphs.HorizontalAxis.html | 14 +- .../Terminal.Gui.Graphs.IAnnotation.html | 6 +- .../Terminal.Gui.Graphs.ISeries.html | 4 +- ...rminal.Gui.Graphs.LabelGetterDelegate.html | 2 +- .../Terminal.Gui.Graphs.LegendAnnotation.html | 14 +- .../Terminal.Gui.Graphs.MultiBarSeries.html | 12 +- .../Terminal.Gui.Graphs.Orientation.html | 2 +- ...minal.Gui.Graphs.PathAnnotation.LineF.html | 8 +- .../Terminal.Gui.Graphs.PathAnnotation.html | 12 +- .../Terminal.Gui.Graphs.ScatterSeries.html | 8 +- .../Terminal.Gui.Graphs.TextAnnotation.html | 14 +- .../Terminal.Gui.Graphs.VerticalAxis.html | 14 +- ...Terminal.Gui.HexView.HexViewEventArgs.html | 10 +- .../Terminal.Gui/Terminal.Gui.HexView.html | 52 +- .../Terminal.Gui.IAutocomplete.html | 36 +- .../Terminal.Gui/Terminal.Gui.IClipboard.html | 12 +- .../Terminal.Gui.IListDataSource.html | 14 +- .../Terminal.Gui.IMainLoopDriver.html | 10 +- .../Terminal.Gui/Terminal.Gui.ITreeView.html | 8 +- docs/api/Terminal.Gui/Terminal.Gui.Key.html | 2 +- .../Terminal.Gui/Terminal.Gui.KeyEvent.html | 24 +- .../Terminal.Gui.KeyModifiers.html | 14 +- docs/api/Terminal.Gui/Terminal.Gui.Label.html | 30 +- .../Terminal.Gui.LayoutStyle.html | 2 +- .../Terminal.Gui/Terminal.Gui.LineView.html | 22 +- .../Terminal.Gui/Terminal.Gui.ListView.html | 84 +-- .../Terminal.Gui.ListViewItemEventArgs.html | 8 +- .../Terminal.Gui.ListViewRowEventArgs.html | 8 +- .../Terminal.Gui.ListWrapper.html | 16 +- .../Terminal.Gui.MainLoop.Timeout.html | 6 +- .../Terminal.Gui/Terminal.Gui.MainLoop.html | 36 +- .../Terminal.Gui/Terminal.Gui.MenuBar.html | 66 +- .../Terminal.Gui.MenuBarItem.html | 20 +- .../Terminal.Gui.MenuClosingEventArgs.html | 12 +- .../Terminal.Gui/Terminal.Gui.MenuItem.html | 34 +- .../Terminal.Gui.MenuItemCheckStyle.html | 2 +- .../Terminal.Gui.MenuOpeningEventArgs.html | 10 +- .../Terminal.Gui/Terminal.Gui.MessageBox.html | 28 +- .../Terminal.Gui/Terminal.Gui.MouseEvent.html | 16 +- .../Terminal.Gui/Terminal.Gui.MouseFlags.html | 2 +- .../Terminal.Gui.OpenDialog.OpenMode.html | 2 +- .../Terminal.Gui/Terminal.Gui.OpenDialog.html | 20 +- .../Terminal.Gui/Terminal.Gui.PanelView.html | 26 +- docs/api/Terminal.Gui/Terminal.Gui.Point.html | 38 +- .../api/Terminal.Gui/Terminal.Gui.PointF.html | 40 +- docs/api/Terminal.Gui/Terminal.Gui.Pos.html | 34 +- .../Terminal.Gui.ProgressBar.html | 30 +- .../Terminal.Gui.ProgressBarFormat.html | 2 +- .../Terminal.Gui.ProgressBarStyle.html | 2 +- .../Terminal.Gui/Terminal.Gui.RadioGroup.html | 42 +- docs/api/Terminal.Gui/Terminal.Gui.Rect.html | 66 +- .../Terminal.Gui/Terminal.Gui.RectangleF.html | 70 +- .../Terminal.Gui/Terminal.Gui.Responder.html | 40 +- .../Terminal.Gui/Terminal.Gui.SaveDialog.html | 14 +- .../Terminal.Gui.ScrollBarView.html | 46 +- .../Terminal.Gui/Terminal.Gui.ScrollView.html | 48 +- .../Terminal.Gui.SelectedItemChangedArgs.html | 8 +- .../Terminal.Gui.ShortcutHelper.html | 24 +- docs/api/Terminal.Gui/Terminal.Gui.Size.html | 34 +- docs/api/Terminal.Gui/Terminal.Gui.SizeF.html | 44 +- .../Terminal.Gui.StackExtensions.html | 16 +- .../Terminal.Gui/Terminal.Gui.StatusBar.html | 30 +- .../Terminal.Gui/Terminal.Gui.StatusItem.html | 10 +- .../Terminal.Gui.TabView.Tab.html | 10 +- ...minal.Gui.TabView.TabChangedEventArgs.html | 8 +- .../Terminal.Gui.TabView.TabStyle.html | 8 +- .../Terminal.Gui/Terminal.Gui.TabView.html | 44 +- ....Gui.TableView.CellActivatedEventArgs.html | 10 +- ...nal.Gui.TableView.CellColorGetterArgs.html | 14 +- ...Gui.TableView.CellColorGetterDelegate.html | 2 +- .../Terminal.Gui.TableView.ColumnStyle.html | 22 +- ...inal.Gui.TableView.RowColorGetterArgs.html | 6 +- ....Gui.TableView.RowColorGetterDelegate.html | 2 +- ...ableView.SelectedCellChangedEventArgs.html | 14 +- ...Terminal.Gui.TableView.TableSelection.html | 8 +- .../Terminal.Gui.TableView.TableStyle.html | 28 +- .../Terminal.Gui/Terminal.Gui.TableView.html | 94 +-- .../Terminal.Gui.TextAlignment.html | 2 +- .../Terminal.Gui.TextChangingEventArgs.html | 8 +- .../Terminal.Gui.TextDirection.html | 2 +- .../Terminal.Gui/Terminal.Gui.TextField.html | 125 ++-- .../Terminal.Gui.TextFieldAutocomplete.html | 8 +- .../Terminal.Gui.TextFormatter.html | 193 +++-- .../Terminal.Gui.TextValidateField.html | 26 +- ...lidateProviders.ITextValidateProvider.html | 24 +- ...lidateProviders.NetMaskedTextProvider.html | 28 +- ...xtValidateProviders.TextRegexProvider.html | 30 +- .../Terminal.Gui/Terminal.Gui.TextView.html | 552 ++++++++------ .../Terminal.Gui.TextViewAutocomplete.html | 8 +- .../Terminal.Gui/Terminal.Gui.Thickness.html | 16 +- .../Terminal.Gui/Terminal.Gui.TimeField.html | 38 +- .../Terminal.Gui/Terminal.Gui.Toplevel.html | 102 +-- ...Terminal.Gui.ToplevelClosingEventArgs.html | 8 +- .../Terminal.Gui.ToplevelComparer.html | 4 +- ...Terminal.Gui.ToplevelEqualityComparer.html | 6 +- .../Terminal.Gui/Terminal.Gui.TreeView-1.html | 142 ++-- .../Terminal.Gui/Terminal.Gui.TreeView.html | 10 +- ...inal.Gui.Trees.AspectGetterDelegate-1.html | 2 +- ...minal.Gui.Trees.DelegateTreeBuilder-1.html | 10 +- .../Terminal.Gui.Trees.ITreeBuilder-1.html | 8 +- .../Terminal.Gui.Trees.ITreeNode.html | 8 +- ....Gui.Trees.ObjectActivatedEventArgs-1.html | 8 +- ...Gui.Trees.SelectionChangedEventArgs-1.html | 10 +- .../Terminal.Gui.Trees.TreeBuilder-1.html | 10 +- .../Terminal.Gui.Trees.TreeNode.html | 14 +- .../Terminal.Gui.Trees.TreeNodeBuilder.html | 6 +- .../Terminal.Gui.Trees.TreeStyle.html | 14 +- .../Terminal.Gui.VerticalTextAlignment.html | 2 +- .../Terminal.Gui.View.FocusEventArgs.html | 8 +- .../Terminal.Gui.View.KeyEventEventArgs.html | 8 +- .../Terminal.Gui.View.LayoutEventArgs.html | 4 +- .../Terminal.Gui.View.MouseEventArgs.html | 8 +- docs/api/Terminal.Gui/Terminal.Gui.View.html | 323 ++++---- .../Terminal.Gui.Window.TitleEventArgs.html | 10 +- .../api/Terminal.Gui/Terminal.Gui.Window.html | 44 +- ...rminal.Gui.Wizard.StepChangeEventArgs.html | 10 +- ...inal.Gui.Wizard.WizardButtonEventArgs.html | 6 +- ....Gui.Wizard.WizardStep.TitleEventArgs.html | 10 +- .../Terminal.Gui.Wizard.WizardStep.html | 32 +- .../api/Terminal.Gui/Terminal.Gui.Wizard.html | 56 +- .../Unix.Terminal.Curses.Event.html | 2 +- .../Unix.Terminal.Curses.MouseEvent.html | 12 +- .../Unix.Terminal.Curses.Window.html | 44 +- .../Terminal.Gui/Unix.Terminal.Curses.html | 457 ++++++------ .../UICatalog/UICatalog.NumberToWords.html | 6 +- .../UICatalog.Scenario.ScenarioCategory.html | 10 +- .../UICatalog.Scenario.ScenarioMetadata.html | 12 +- docs/api/UICatalog/UICatalog.Scenario.html | 28 +- .../UICatalog.Scenarios.AllViewsTester.html | 8 +- ...og.Scenarios.AutoSizeAndDirectionText.html | 4 +- ....Scenarios.BackgroundWorkerCollection.html | 6 +- .../UICatalog.Scenarios.BasicColors.html | 4 +- .../UICatalog.Scenarios.Borders.html | 4 +- ...ICatalog.Scenarios.BordersComparisons.html | 6 +- ...ICatalog.Scenarios.BordersOnFrameView.html | 4 +- ...UICatalog.Scenarios.BordersOnToplevel.html | 4 +- .../UICatalog.Scenarios.BordersOnWindow.html | 4 +- .../UICatalog.Scenarios.Buttons.html | 4 +- .../UICatalog.Scenarios.CharacterMap.html | 6 +- .../UICatalog.Scenarios.ClassExplorer.html | 4 +- .../UICatalog.Scenarios.Clipping.html | 6 +- .../UICatalog.Scenarios.ColorPickers.html | 4 +- ...UICatalog.Scenarios.ComboBoxIteration.html | 4 +- .../UICatalog.Scenarios.ComputedLayout.html | 6 +- .../UICatalog.Scenarios.ContextMenus.html | 4 +- .../UICatalog.Scenarios.CsvEditor.html | 4 +- .../UICatalog.Scenarios.Dialogs.html | 4 +- ...alog.Scenarios.DynamicMenuBar.Binding.html | 12 +- ....DynamicMenuBar.DynamicMenuBarDetails.html | 36 +- ...s.DynamicMenuBar.DynamicMenuBarSample.html | 12 +- ...narios.DynamicMenuBar.DynamicMenuItem.html | 22 +- ...os.DynamicMenuBar.DynamicMenuItemList.html | 12 +- ...s.DynamicMenuBar.DynamicMenuItemModel.html | 14 +- ...narios.DynamicMenuBar.IValueConverter.html | 4 +- ...s.DynamicMenuBar.ListWrapperConverter.html | 4 +- ....DynamicMenuBar.UStringValueConverter.html | 4 +- .../UICatalog.Scenarios.DynamicMenuBar.html | 4 +- ...og.Scenarios.DynamicStatusBar.Binding.html | 12 +- ...amicStatusBar.DynamicStatusBarDetails.html | 26 +- ...namicStatusBar.DynamicStatusBarSample.html | 14 +- ...os.DynamicStatusBar.DynamicStatusItem.html | 14 +- ...ynamicStatusBar.DynamicStatusItemList.html | 12 +- ...namicStatusBar.DynamicStatusItemModel.html | 12 +- ...rios.DynamicStatusBar.IValueConverter.html | 4 +- ...DynamicStatusBar.ListWrapperConverter.html | 4 +- ...ynamicStatusBar.UStringValueConverter.html | 4 +- .../UICatalog.Scenarios.DynamicStatusBar.html | 4 +- .../UICatalog/UICatalog.Scenarios.Editor.html | 6 +- .../UICatalog.Scenarios.GraphViewExample.html | 4 +- .../UICatalog.Scenarios.HexEditor.html | 4 +- .../UICatalog.Scenarios.InteractiveTree.html | 4 +- .../UICatalog.Scenarios.InvertColors.html | 4 +- .../UICatalog/UICatalog.Scenarios.Keys.html | 6 +- .../UICatalog.Scenarios.LabelsAsLabels.html | 4 +- .../UICatalog.Scenarios.LineViewExample.html | 4 +- ...talog.Scenarios.ListViewWithSelection.html | 14 +- .../UICatalog.Scenarios.ListsAndCombos.html | 4 +- .../UICatalog.Scenarios.MessageBoxes.html | 4 +- .../UICatalog/UICatalog.Scenarios.Mouse.html | 4 +- ...ICatalog.Scenarios.MultiColouredTable.html | 4 +- .../UICatalog.Scenarios.MyScenario.html | 4 +- .../UICatalog.Scenarios.Notepad.html | 8 +- .../UICatalog.Scenarios.Progress.html | 6 +- ...UICatalog.Scenarios.ProgressBarStyles.html | 4 +- ...log.Scenarios.RuneWidthGreaterThanOne.html | 6 +- .../UICatalog.Scenarios.Scrolling.html | 4 +- .../UICatalog.Scenarios.SendKeys.html | 4 +- ...narios.SingleBackgroundWorker.MainApp.html | 10 +- ...eBackgroundWorker.StagingUIController.html | 12 +- ...alog.Scenarios.SingleBackgroundWorker.html | 4 +- ...ICatalog.Scenarios.SyntaxHighlighting.html | 4 +- .../UICatalog.Scenarios.TabViewExample.html | 4 +- .../UICatalog.Scenarios.TableEditor.html | 8 +- .../UICatalog/UICatalog.Scenarios.Text.html | 4 +- .../UICatalog.Scenarios.TextAlignments.html | 4 +- ...Scenarios.TextAlignmentsAndDirections.html | 4 +- ...UICatalog.Scenarios.TextFormatterDemo.html | 4 +- ...g.Scenarios.TextViewAutocompletePopup.html | 4 +- .../UICatalog.Scenarios.Threading.html | 4 +- .../UICatalog.Scenarios.TimeAndDate.html | 4 +- .../UICatalog.Scenarios.TreeUseCases.html | 4 +- ...ICatalog.Scenarios.TreeViewFileSystem.html | 4 +- .../UICatalog.Scenarios.UnicodeInMenu.html | 4 +- ...atalog.Scenarios.WindowsAndFrameViews.html | 10 +- .../UICatalog.Scenarios.WizardAsView.html | 6 +- .../UICatalog.Scenarios.Wizards.html | 4 +- .../api/UICatalog/UICatalog.UICatalogApp.html | 2 +- docs/index.json | 94 +-- docs/manifest.json | 492 ++++++------- docs/xrefmap.yml | 364 +++++++-- 303 files changed, 7257 insertions(+), 3735 deletions(-) delete mode 100644 .github/workflows/api-docs.yml create mode 100644 UnitTests/MessageBoxTests.cs create mode 100644 UnitTests/ReflectionTools.cs diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml deleted file mode 100644 index a33ddc344b..0000000000 --- a/.github/workflows/api-docs.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Build and publish API docs - -on: - push: - branches: [main] - -jobs: - generate-docs: - runs-on: windows-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 6.0.100 - - - name: Setup DocFX - uses: crazy-max/ghaction-chocolatey@v1 - with: - args: install docfx - - - name: Install dependencies - run: dotnet restore - - - name: DocFX Build - working-directory: docfx - # https://stackoverflow.com/questions/56726429/how-to-run-multiple-commands-in-one-github-actions-docker - run: | - rm ../docs -Recurse -Force - docfx docfx.json - continue-on-error: false - - - name: Publish - if: github.event_name == 'push' - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs - force_orphan: true - - # - name: Use docfx to build API Docs - # uses: nikeee/docfx-action@v1.0.0 - # with: - # args: docfx/docfx.json - - # # Publish generated site using GitHub Pages - # - uses: maxheld83/ghpages@master - # name: Publish API Documentation on GitHub Pages - # env: - # BUILD_DIR: docs # docfx's default output directory is _site - # GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages \ No newline at end of file diff --git a/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs b/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs index 6b5aa1a1a5..b5db7847be 100644 --- a/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs @@ -191,7 +191,7 @@ public static Attribute MakeColor (short foreground, short background) background: MapCursesColor (background)); } - static Attribute MakeColor (Color fore, Color back) + public override Attribute MakeColor (Color fore, Color back) { return MakeColor ((short)MapColor (fore), (short)MapColor (back)); } @@ -663,7 +663,7 @@ void ProcessInput (Action keyHandler, Action keyDownHandler, // Special handling for ESC, we want to try to catch ESC+letter to simulate alt-letter as well as Alt-Fkey if (wch == 27) { - Curses.timeout (200); + Curses.timeout (10); code = Curses.get_wch (out int wch2); @@ -820,6 +820,7 @@ public override void Init (Action terminalResized) //Console.Out.Flush (); window = Curses.initscr (); + Curses.set_escdelay (10); } catch (Exception e) { throw new Exception ($"Curses failed to initialize, the exception is: {e.Message}"); } @@ -889,51 +890,14 @@ public override void Init (Action terminalResized) //UpArrow = Curses.ACS_UARROW; //DownArrow = Curses.ACS_DARROW; - Colors.TopLevel = new ColorScheme (); - Colors.Base = new ColorScheme (); - Colors.Dialog = new ColorScheme (); - Colors.Menu = new ColorScheme (); - Colors.Error = new ColorScheme (); - if (Curses.HasColors) { Curses.StartColor (); Curses.UseDefaultColors (); - Colors.TopLevel.Normal = MakeColor (Color.Green, Color.Black); - Colors.TopLevel.Focus = MakeColor (Color.White, Color.Cyan); - Colors.TopLevel.HotNormal = MakeColor (Color.Brown, Color.Black); - Colors.TopLevel.HotFocus = MakeColor (Color.Blue, Color.Cyan); - Colors.TopLevel.Disabled = MakeColor (Color.DarkGray, Color.Black); - - Colors.Base.Normal = MakeColor (Color.White, Color.Blue); - Colors.Base.Focus = MakeColor (Color.Black, Color.Gray); - Colors.Base.HotNormal = MakeColor (Color.BrightCyan, Color.Blue); - Colors.Base.HotFocus = MakeColor (Color.BrightBlue, Color.Gray); - Colors.Base.Disabled = MakeColor (Color.DarkGray, Color.Blue); - - // Focused, - // Selected, Hot: Yellow on Black - // Selected, text: white on black - // Unselected, hot: yellow on cyan - // unselected, text: same as unfocused - Colors.Menu.Normal = MakeColor (Color.White, Color.DarkGray); - Colors.Menu.Focus = MakeColor (Color.White, Color.Black); - Colors.Menu.HotNormal = MakeColor (Color.BrightYellow, Color.DarkGray); - Colors.Menu.HotFocus = MakeColor (Color.BrightYellow, Color.Black); - Colors.Menu.Disabled = MakeColor (Color.Gray, Color.DarkGray); - - Colors.Dialog.Normal = MakeColor (Color.Black, Color.Gray); - Colors.Dialog.Focus = MakeColor (Color.White, Color.DarkGray); - Colors.Dialog.HotNormal = MakeColor (Color.Blue, Color.Gray); - Colors.Dialog.HotFocus = MakeColor (Color.Blue, Color.DarkGray); - Colors.Dialog.Disabled = MakeColor (Color.DarkGray, Color.Gray); - - Colors.Error.Normal = MakeColor (Color.Red, Color.White); - Colors.Error.Focus = MakeColor (Color.White, Color.Red); - Colors.Error.HotNormal = MakeColor (Color.Black, Color.White); - Colors.Error.HotFocus = MakeColor (Color.Black, Color.Red); - Colors.Error.Disabled = MakeColor (Color.DarkGray, Color.White); + CreateColors (); } else { + CreateColors (false); + Colors.TopLevel.Normal = Curses.COLOR_GREEN; Colors.TopLevel.Focus = Curses.COLOR_WHITE; Colors.TopLevel.HotNormal = Curses.COLOR_YELLOW; diff --git a/Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs b/Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs index fa9d49ddd4..4195344eb3 100644 --- a/Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs +++ b/Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs @@ -330,6 +330,7 @@ static public int IsAlt (int key) static public int reset_shell_mode () => methods.reset_shell_mode (); static public int savetty () => methods.savetty (); static public int resetty () => methods.resetty (); + static public int set_escdelay (int size) => methods.set_escdelay (size); } #pragma warning disable RCS1102 // Make class static. @@ -405,6 +406,7 @@ internal class Delegates { public delegate int reset_shell_mode (); public delegate int savetty (); public delegate int resetty (); + public delegate int set_escdelay (int size); } internal class NativeMethods { @@ -478,6 +480,7 @@ internal class NativeMethods { public readonly Delegates.reset_shell_mode reset_shell_mode; public readonly Delegates.savetty savetty; public readonly Delegates.resetty resetty; + public readonly Delegates.set_escdelay set_escdelay; public UnmanagedLibrary UnmanagedLibrary; public NativeMethods (UnmanagedLibrary lib) @@ -553,6 +556,7 @@ public NativeMethods (UnmanagedLibrary lib) reset_shell_mode = lib.GetNativeMethodDelegate ("reset_shell_mode"); savetty = lib.GetNativeMethodDelegate ("savetty"); resetty = lib.GetNativeMethodDelegate ("resetty"); + set_escdelay = lib.GetNativeMethodDelegate ("set_escdelay"); } } #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member diff --git a/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs b/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs index 0faccb2742..50662f3640 100644 --- a/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs @@ -157,6 +157,11 @@ public override void End () FakeConsole.Clear (); } + public override Attribute MakeColor (Color foreground, Color background) + { + return MakeColor ((ConsoleColor)foreground, (ConsoleColor)background); + } + static Attribute MakeColor (ConsoleColor f, ConsoleColor b) { // Encode the colors into the int value. @@ -177,47 +182,7 @@ public override void Init (Action terminalResized) ResizeScreen (); UpdateOffScreen (); - Colors.TopLevel = new ColorScheme (); - Colors.Base = new ColorScheme (); - Colors.Dialog = new ColorScheme (); - Colors.Menu = new ColorScheme (); - Colors.Error = new ColorScheme (); - Clip = new Rect (0, 0, Cols, Rows); - - Colors.TopLevel.Normal = MakeColor (ConsoleColor.Green, ConsoleColor.Black); - Colors.TopLevel.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkCyan); - Colors.TopLevel.HotNormal = MakeColor (ConsoleColor.DarkYellow, ConsoleColor.Black); - Colors.TopLevel.HotFocus = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.DarkCyan); - Colors.TopLevel.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Black); - - Colors.Base.Normal = MakeColor (ConsoleColor.White, ConsoleColor.Blue); - Colors.Base.Focus = MakeColor (ConsoleColor.Black, ConsoleColor.Cyan); - Colors.Base.HotNormal = MakeColor (ConsoleColor.Yellow, ConsoleColor.Blue); - Colors.Base.HotFocus = MakeColor (ConsoleColor.Yellow, ConsoleColor.Cyan); - Colors.Base.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.DarkBlue); - - // Focused, - // Selected, Hot: Yellow on Black - // Selected, text: white on black - // Unselected, hot: yellow on cyan - // unselected, text: same as unfocused - Colors.Menu.HotFocus = MakeColor (ConsoleColor.Yellow, ConsoleColor.Black); - Colors.Menu.Focus = MakeColor (ConsoleColor.White, ConsoleColor.Black); - Colors.Menu.HotNormal = MakeColor (ConsoleColor.Yellow, ConsoleColor.Cyan); - Colors.Menu.Normal = MakeColor (ConsoleColor.White, ConsoleColor.Cyan); - Colors.Menu.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Cyan); - - Colors.Dialog.Normal = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Dialog.Focus = MakeColor (ConsoleColor.Black, ConsoleColor.Cyan); - Colors.Dialog.HotNormal = MakeColor (ConsoleColor.Blue, ConsoleColor.Gray); - Colors.Dialog.HotFocus = MakeColor (ConsoleColor.Blue, ConsoleColor.Cyan); - Colors.Dialog.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Gray); - - Colors.Error.Normal = MakeColor (ConsoleColor.White, ConsoleColor.Red); - Colors.Error.Focus = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Error.HotNormal = MakeColor (ConsoleColor.Yellow, ConsoleColor.Red); - Colors.Error.HotFocus = Colors.Error.HotNormal; - Colors.Error.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.White); + CreateColors (); //MockConsole.Clear (); } diff --git a/Terminal.Gui/ConsoleDrivers/NetDriver.cs b/Terminal.Gui/ConsoleDrivers/NetDriver.cs index 95e93391ab..c6c65caa74 100644 --- a/Terminal.Gui/ConsoleDrivers/NetDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/NetDriver.cs @@ -1309,6 +1309,11 @@ void Clear () } } + public override Attribute MakeColor (Color foreground, Color background) + { + return MakeColor ((ConsoleColor)foreground, (ConsoleColor)background); + } + static Attribute MakeColor (ConsoleColor f, ConsoleColor b) { // Encode the colors into the int value. @@ -1337,46 +1342,7 @@ public override void Init (Action terminalResized) StartReportingMouseMoves (); - Colors.TopLevel = new ColorScheme (); - Colors.Base = new ColorScheme (); - Colors.Dialog = new ColorScheme (); - Colors.Menu = new ColorScheme (); - Colors.Error = new ColorScheme (); - - Colors.TopLevel.Normal = MakeColor (ConsoleColor.Green, ConsoleColor.Black); - Colors.TopLevel.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkCyan); - Colors.TopLevel.HotNormal = MakeColor (ConsoleColor.DarkYellow, ConsoleColor.Black); - Colors.TopLevel.HotFocus = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.DarkCyan); - Colors.TopLevel.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Black); - - Colors.Base.Normal = MakeColor (ConsoleColor.White, ConsoleColor.DarkBlue); - Colors.Base.Focus = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Base.HotNormal = MakeColor (ConsoleColor.Cyan, ConsoleColor.DarkBlue); - Colors.Base.HotFocus = MakeColor (ConsoleColor.Blue, ConsoleColor.Gray); - Colors.Base.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.DarkBlue); - - // Focused, - // Selected, Hot: Yellow on Black - // Selected, text: white on black - // Unselected, hot: yellow on cyan - // unselected, text: same as unfocused - Colors.Menu.Normal = MakeColor (ConsoleColor.White, ConsoleColor.DarkGray); - Colors.Menu.Focus = MakeColor (ConsoleColor.White, ConsoleColor.Black); - Colors.Menu.HotNormal = MakeColor (ConsoleColor.Yellow, ConsoleColor.DarkGray); - Colors.Menu.HotFocus = MakeColor (ConsoleColor.Yellow, ConsoleColor.Black); - Colors.Menu.Disabled = MakeColor (ConsoleColor.Gray, ConsoleColor.DarkGray); - - Colors.Dialog.Normal = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Dialog.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkGray); - Colors.Dialog.HotNormal = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.Gray); - Colors.Dialog.HotFocus = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.DarkGray); - Colors.Dialog.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Gray); - - Colors.Error.Normal = MakeColor (ConsoleColor.DarkRed, ConsoleColor.White); - Colors.Error.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkRed); - Colors.Error.HotNormal = MakeColor (ConsoleColor.Black, ConsoleColor.White); - Colors.Error.HotFocus = MakeColor (ConsoleColor.Black, ConsoleColor.DarkRed); - Colors.Error.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.White); + CreateColors (); Clear (); } diff --git a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs b/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs index 21b7a60945..e5f65fbfd0 100644 --- a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs @@ -1397,41 +1397,7 @@ public override void Init (Action terminalResized) ResizeScreen (); UpdateOffScreen (); - Colors.TopLevel = new ColorScheme (); - Colors.Base = new ColorScheme (); - Colors.Dialog = new ColorScheme (); - Colors.Menu = new ColorScheme (); - Colors.Error = new ColorScheme (); - - Colors.TopLevel.Normal = MakeColor (ConsoleColor.Green, ConsoleColor.Black); - Colors.TopLevel.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkCyan); - Colors.TopLevel.HotNormal = MakeColor (ConsoleColor.DarkYellow, ConsoleColor.Black); - Colors.TopLevel.HotFocus = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.DarkCyan); - Colors.TopLevel.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Black); - - Colors.Base.Normal = MakeColor (ConsoleColor.White, ConsoleColor.DarkBlue); - Colors.Base.Focus = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Base.HotNormal = MakeColor (ConsoleColor.Cyan, ConsoleColor.DarkBlue); - Colors.Base.HotFocus = MakeColor (ConsoleColor.Blue, ConsoleColor.Gray); - Colors.Base.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.DarkBlue); - - Colors.Menu.Normal = MakeColor (ConsoleColor.White, ConsoleColor.DarkGray); - Colors.Menu.Focus = MakeColor (ConsoleColor.White, ConsoleColor.Black); - Colors.Menu.HotNormal = MakeColor (ConsoleColor.Yellow, ConsoleColor.DarkGray); - Colors.Menu.HotFocus = MakeColor (ConsoleColor.Yellow, ConsoleColor.Black); - Colors.Menu.Disabled = MakeColor (ConsoleColor.Gray, ConsoleColor.DarkGray); - - Colors.Dialog.Normal = MakeColor (ConsoleColor.Black, ConsoleColor.Gray); - Colors.Dialog.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkGray); - Colors.Dialog.HotNormal = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.Gray); - Colors.Dialog.HotFocus = MakeColor (ConsoleColor.DarkBlue, ConsoleColor.DarkGray); - Colors.Dialog.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.Gray); - - Colors.Error.Normal = MakeColor (ConsoleColor.DarkRed, ConsoleColor.White); - Colors.Error.Focus = MakeColor (ConsoleColor.White, ConsoleColor.DarkRed); - Colors.Error.HotNormal = MakeColor (ConsoleColor.Black, ConsoleColor.White); - Colors.Error.HotFocus = MakeColor (ConsoleColor.Black, ConsoleColor.DarkRed); - Colors.Error.Disabled = MakeColor (ConsoleColor.DarkGray, ConsoleColor.White); + CreateColors (); } public override void ResizeScreen () @@ -1537,6 +1503,11 @@ public override void SetAttribute (Attribute c) currentAttribute = c; } + public override Attribute MakeColor (Color foreground, Color background) + { + return MakeColor ((ConsoleColor)foreground, (ConsoleColor)background); + } + Attribute MakeColor (ConsoleColor f, ConsoleColor b) { // Encode the colors into the int value. diff --git a/Terminal.Gui/Core/Application.cs b/Terminal.Gui/Core/Application.cs index f4812d7dce..eb1200999f 100644 --- a/Terminal.Gui/Core/Application.cs +++ b/Terminal.Gui/Core/Application.cs @@ -279,9 +279,18 @@ public override void Post (SendOrPostCallback d, object state) public override void Send (SendOrPostCallback d, object state) { - mainLoop.Invoke (() => { + if (Thread.CurrentThread.ManagedThreadId == _mainThreadId) { d (state); - }); + } else { + var wasExecuted = false; + mainLoop.Invoke (() => { + d (state); + wasExecuted = true; + }); + while (!wasExecuted) { + Thread.Sleep (15); + } + } } } @@ -307,6 +316,7 @@ public override void Send (SendOrPostCallback d, object state) public static void Init (ConsoleDriver driver = null, IMainLoopDriver mainLoopDriver = null) => Init (() => Toplevel.Create (), driver, mainLoopDriver); internal static bool _initialized = false; + internal static int _mainThreadId = -1; /// /// Initializes the Terminal.Gui application @@ -360,6 +370,7 @@ static void Init (Func topLevelFactory, ConsoleDriver driver = null, I Top = topLevelFactory (); Current = Top; supportedCultures = GetSupportedCultures (); + _mainThreadId = Thread.CurrentThread.ManagedThreadId; _initialized = true; } @@ -627,6 +638,11 @@ static void ProcessMouseEvent (MouseEvent me) } RootMouseEvent?.Invoke (me); if (mouseGrabView != null) { + if (view == null) { + UngrabMouse (); + return; + } + var newxy = mouseGrabView.ScreenToView (me.X, me.Y); var nme = new MouseEvent () { X = newxy.X, @@ -892,6 +908,7 @@ static void ResetState () RootMouseEvent = null; RootKeyEvent = null; Resized = null; + _mainThreadId = -1; NotifyNewRunState = null; NotifyStopRunState = null; _initialized = false; diff --git a/Terminal.Gui/Core/ConsoleDriver.cs b/Terminal.Gui/Core/ConsoleDriver.cs index 5116c07edf..873d8398bc 100644 --- a/Terminal.Gui/Core/ConsoleDriver.cs +++ b/Terminal.Gui/Core/ConsoleDriver.cs @@ -1338,5 +1338,60 @@ public Rect Clip { /// /// The current attribute. public abstract Attribute GetAttribute (); + + /// + /// Make the for the . + /// + /// The foreground color. + /// The background color. + /// The attribute for the foreground and background colors. + public abstract Attribute MakeColor (Color foreground, Color background); + + /// + /// Create all with the for the console driver. + /// + /// Flag indicating if colors are supported. + public void CreateColors (bool hasColors = true) + { + Colors.TopLevel = new ColorScheme (); + Colors.Base = new ColorScheme (); + Colors.Dialog = new ColorScheme (); + Colors.Menu = new ColorScheme (); + Colors.Error = new ColorScheme (); + + if (!hasColors) { + return; + } + + Colors.TopLevel.Normal = MakeColor (Color.BrightGreen, Color.Black); + Colors.TopLevel.Focus = MakeColor (Color.White, Color.Cyan); + Colors.TopLevel.HotNormal = MakeColor (Color.Brown, Color.Black); + Colors.TopLevel.HotFocus = MakeColor (Color.Blue, Color.Cyan); + Colors.TopLevel.Disabled = MakeColor (Color.DarkGray, Color.Black); + + Colors.Base.Normal = MakeColor (Color.White, Color.Blue); + Colors.Base.Focus = MakeColor (Color.Black, Color.Gray); + Colors.Base.HotNormal = MakeColor (Color.BrightCyan, Color.Blue); + Colors.Base.HotFocus = MakeColor (Color.BrightBlue, Color.Gray); + Colors.Base.Disabled = MakeColor (Color.DarkGray, Color.Blue); + + Colors.Dialog.Normal = MakeColor (Color.Black, Color.Gray); + Colors.Dialog.Focus = MakeColor (Color.White, Color.DarkGray); + Colors.Dialog.HotNormal = MakeColor (Color.Blue, Color.Gray); + Colors.Dialog.HotFocus = MakeColor (Color.BrightYellow, Color.DarkGray); + Colors.Dialog.Disabled = MakeColor (Color.Gray, Color.DarkGray); + + Colors.Menu.Normal = MakeColor (Color.White, Color.DarkGray); + Colors.Menu.Focus = MakeColor (Color.White, Color.Black); + Colors.Menu.HotNormal = MakeColor (Color.BrightYellow, Color.DarkGray); + Colors.Menu.HotFocus = MakeColor (Color.BrightYellow, Color.Black); + Colors.Menu.Disabled = MakeColor (Color.Gray, Color.DarkGray); + + Colors.Error.Normal = MakeColor (Color.Red, Color.White); + Colors.Error.Focus = MakeColor (Color.Black, Color.BrightRed); + Colors.Error.HotNormal = MakeColor (Color.Black, Color.White); + Colors.Error.HotFocus = MakeColor (Color.BrightRed, Color.Gray); + Colors.Error.Disabled = MakeColor (Color.DarkGray, Color.White); + } } } diff --git a/Terminal.Gui/Core/MainLoop.cs b/Terminal.Gui/Core/MainLoop.cs index 4988a5a8e3..43789e2284 100644 --- a/Terminal.Gui/Core/MainLoop.cs +++ b/Terminal.Gui/Core/MainLoop.cs @@ -6,6 +6,7 @@ // using System; using System.Collections.Generic; +using System.Collections.ObjectModel; namespace Terminal.Gui { /// @@ -61,6 +62,11 @@ public sealed class Timeout { internal SortedList timeouts = new SortedList (); object timeoutsLockToken = new object (); + + /// + /// The idle handlers and lock that must be held while manipulating them + /// + object idleHandlersLock = new object (); internal List> idleHandlers = new List> (); /// @@ -71,9 +77,15 @@ public sealed class Timeout { public SortedList Timeouts => timeouts; /// - /// Gets the list of all idle handlers. + /// Gets a copy of the list of all idle handlers. /// - public List> IdleHandlers => idleHandlers; + public ReadOnlyCollection> IdleHandlers { + get { + lock (idleHandlersLock) { + return new List> (idleHandlers).AsReadOnly (); + } + } + } /// /// The current IMainLoopDriver in use. @@ -123,7 +135,7 @@ public void Invoke (Action action) /// Token that can be used to remove the idle handler with . public Func AddIdle (Func idleHandler) { - lock (idleHandlers) { + lock (idleHandlersLock) { idleHandlers.Add (idleHandler); } @@ -139,7 +151,7 @@ public Func AddIdle (Func idleHandler) /// This method also returns false if the idle handler is not found. public bool RemoveIdle (Func token) { - lock (token) + lock (idleHandlersLock) return idleHandlers.Remove (token); } @@ -242,14 +254,14 @@ private long NudgeToUniqueKey (long k) void RunIdle () { List> iterate; - lock (idleHandlers) { + lock (idleHandlersLock) { iterate = idleHandlers; idleHandlers = new List> (); } foreach (var idle in iterate) { if (idle ()) - lock (idleHandlers) + lock (idleHandlersLock) idleHandlers.Add (idle); } } @@ -294,7 +306,7 @@ public void MainIteration () Driver.MainIteration (); - lock (idleHandlers) { + lock (idleHandlersLock) { if (idleHandlers.Count > 0) RunIdle (); } diff --git a/Terminal.Gui/Core/TextFormatter.cs b/Terminal.Gui/Core/TextFormatter.cs index eb4ec57756..06b0323d5a 100644 --- a/Terminal.Gui/Core/TextFormatter.cs +++ b/Terminal.Gui/Core/TextFormatter.cs @@ -356,7 +356,7 @@ public List Lines { } /// - /// Gets or sets whether the needs to format the text when is called. + /// Gets or sets whether the needs to format the text when is called. /// If it is false when Draw is called, the Draw call will be faster. /// /// @@ -417,6 +417,50 @@ static ustring ReplaceCRLFWithSpace (ustring str) return ustring.Make (runes); } + /// + /// Splits all newlines in the into a list + /// and supports both CRLF and LF, preserving the ending newline. + /// + /// The text. + /// A list of text without the newline characters. + public static List SplitNewLine (ustring text) + { + var runes = text.ToRuneList (); + var lines = new List (); + var start = 0; + var end = 0; + + for (int i = 0; i < runes.Count; i++) { + end = i; + switch (runes [i]) { + case '\n': + lines.Add (ustring.Make (runes.GetRange (start, end - start))); + i++; + start = i; + break; + + case '\r': + if ((i + 1) < runes.Count && runes [i + 1] == '\n') { + lines.Add (ustring.Make (runes.GetRange (start, end - start))); + i += 2; + start = i; + } else { + lines.Add (ustring.Make (runes.GetRange (start, end - start))); + i++; + start = i; + } + break; + } + } + if (runes.Count > 0 && lines.Count == 0) { + lines.Add (ustring.Make (runes)); + } else if (runes.Count > 0 && start < runes.Count) { + lines.Add (ustring.Make (runes.GetRange (start, runes.Count - start))); + } else { + lines.Add (ustring.Make ("")); + } + return lines; + } /// /// Adds trailing whitespace or truncates @@ -649,7 +693,7 @@ public static ustring Justify (ustring text, int width, char spaceChar = ' ', Te textCount = words.Sum (arg => arg.RuneCount); } var spaces = words.Length > 1 ? (width - textCount) / (words.Length - 1) : 0; - var extras = words.Length > 1 ? (width - textCount) % words.Length : 0; + var extras = words.Length > 1 ? (width - textCount) % (words.Length - 1) : 0; var s = new System.Text.StringBuilder (); for (int w = 0; w < words.Length; w++) { @@ -659,8 +703,14 @@ public static ustring Justify (ustring text, int width, char spaceChar = ' ', Te for (int i = 0; i < spaces; i++) s.Append (spaceChar); if (extras > 0) { + for (int i = 0; i < 1; i++) + s.Append (spaceChar); extras--; } + if (w + 1 == words.Length - 1) { + for (int i = 0; i < extras; i++) + s.Append (spaceChar); + } } return ustring.Make (s.ToString ()); } @@ -791,6 +841,18 @@ public static int MaxWidth (ustring text, int width) return max; } + /// + /// Determines the line with the highest width in the + /// if it contains newlines. + /// + /// Text, may contain newlines. + /// The highest line width. + public static int MaxWidthLine (ustring text) + { + var result = TextFormatter.SplitNewLine (text); + return result.Max (x => x.ConsoleWidth); + } + /// /// Gets the total width of the passed text. /// @@ -1097,7 +1159,8 @@ public static ustring RemoveHotKeySpecifier (ustring text, int hotPos, Rune hotK /// The color to use for all text except the hotkey /// The color to use to draw the hotkey /// Specifies the screen-relative location and maximum container size. - public void Draw (Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default) + /// Determines if the bounds width will be used (default) or only the text width will be used. + public void Draw (Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default, bool fillRemaining = true) { // With this check, we protect against subclasses with overrides of Text (like Button) if (ustring.IsNullOrEmpty (text)) { @@ -1200,7 +1263,7 @@ public void Draw (Rect bounds, Attribute normalColor, Attribute hotColor, Rect c var size = isVertical ? bounds.Height : bounds.Width; var current = start; var savedClip = Application.Driver?.Clip; - if (Application.Driver != null && containerBounds != default) { + if (Application.Driver != null) { Application.Driver.Clip = containerBounds == default ? bounds : new Rect (Math.Max (containerBounds.X, bounds.X), @@ -1210,10 +1273,10 @@ public void Draw (Rect bounds, Attribute normalColor, Attribute hotColor, Rect c } for (var idx = (isVertical ? start - y : start - x); current < start + size; idx++) { - if (idx < 0) { + if (!fillRemaining && idx < 0) { current++; continue; - } else if (idx > runes.Length - 1) { + } else if (!fillRemaining && idx > runes.Length - 1) { break; } var rune = (Rune)' '; @@ -1245,7 +1308,8 @@ public void Draw (Rect bounds, Attribute normalColor, Attribute hotColor, Rect c } else { current += runeWidth; } - if (!isVertical && idx + 1 < runes.Length && current + Rune.ColumnWidth (runes [idx + 1]) > start + size) { + var nextRuneWidth = idx + 1 > -1 && idx + 1 < runes.Length ? Rune.ColumnWidth (runes [idx + 1]) : 0; + if (!isVertical && idx + 1 < runes.Length && current + nextRuneWidth > start + size) { break; } } diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 2870be8584..9e082ee17b 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -271,7 +271,7 @@ internal Direction FocusDirection { /// /// Configurable keybindings supported by the control /// - private Dictionary KeyBindings { get; set; } = new Dictionary (); + private Dictionary KeyBindings { get; set; } = new Dictionary (); private Dictionary> CommandImplementations { get; set; } = new Dictionary> (); /// @@ -1716,17 +1716,32 @@ public override bool ProcessKey (KeyEvent keyEvent) /// The key event passed. protected bool? InvokeKeybindings (KeyEvent keyEvent) { + bool? toReturn = null; + if (KeyBindings.ContainsKey (keyEvent.Key)) { - var command = KeyBindings [keyEvent.Key]; - if (!CommandImplementations.ContainsKey (command)) { - throw new NotSupportedException ($"A KeyBinding was set up for the command {command} ({keyEvent.Key}) but that command is not supported by this View ({GetType ().Name})"); - } + foreach (var command in KeyBindings [keyEvent.Key]) { + + if (!CommandImplementations.ContainsKey (command)) { + throw new NotSupportedException ($"A KeyBinding was set up for the command {command} ({keyEvent.Key}) but that command is not supported by this View ({GetType ().Name})"); + } - return CommandImplementations [command] (); + // each command has its own return value + var thisReturn = CommandImplementations [command] (); + + // if we haven't got anything yet, the current command result should be used + if (toReturn == null) { + toReturn = thisReturn; + } + + // if ever see a true then that's what we will return + if (thisReturn ?? false) { + toReturn = thisReturn.Value; + } + } } - return null; + return toReturn; } @@ -1736,11 +1751,19 @@ public override bool ProcessKey (KeyEvent keyEvent) /// /// If the key is already bound to a different it will be /// rebound to this one + /// Commands are only ever applied to the current (i.e. this feature + /// cannot be used to switch focus to another view and perform multiple commands there) /// /// - /// - public void AddKeyBinding (Key key, Command command) + /// The command(s) to run on the when is pressed. + /// When specifying multiple, all commands will be applied in sequence. The bound strike + /// will be consumed if any took effect. + public void AddKeyBinding (Key key, params Command [] command) { + if (command.Length == 0) { + throw new ArgumentException ("At least one command must be specified", nameof (command)); + } + if (KeyBindings.ContainsKey (key)) { KeyBindings [key] = command; } else { @@ -1756,7 +1779,7 @@ public void AddKeyBinding (Key key, Command command) protected void ReplaceKeyBinding (Key fromKey, Key toKey) { if (KeyBindings.ContainsKey (fromKey)) { - Command value = KeyBindings [fromKey]; + var value = KeyBindings [fromKey]; KeyBindings.Remove (fromKey); KeyBindings [toKey] = value; } @@ -1795,9 +1818,9 @@ public void ClearKeybinding (Key key) /// keys bound to the same command and this method will clear all of them. /// /// - public void ClearKeybinding (Command command) + public void ClearKeybinding (params Command [] command) { - foreach (var kvp in KeyBindings.Where (kvp => kvp.Value == command).ToArray ()) { + foreach (var kvp in KeyBindings.Where (kvp => kvp.Value.SequenceEqual (command)).ToArray()) { KeyBindings.Remove (kvp.Key); } } @@ -1837,9 +1860,9 @@ public IEnumerable GetSupportedCommands () /// /// The command to search. /// The used by a - public Key GetKeyFromCommand (Command command) + public Key GetKeyFromCommand (params Command [] command) { - return KeyBindings.First (x => x.Value == command).Key; + return KeyBindings.First (x => x.Value.SequenceEqual (command)).Key; } /// @@ -2539,8 +2562,11 @@ public override bool Visible { set { if (base.Visible != value) { base.Visible = value; - if (!value && HasFocus) { - SetHasFocus (false, this); + if (!value) { + if (HasFocus) { + SetHasFocus (false, this); + } + Clear (); } OnVisibleChanged (); SetNeedsDisplay (); @@ -2971,8 +2997,9 @@ public bool GetCurrentHeight (out int currentHeight) /// Determines the current based on the value. /// /// if is - /// or if is - public Attribute GetNormalColor () + /// or if is . + /// If it's overridden can return other values. + public virtual Attribute GetNormalColor () { return Enabled ? ColorScheme.Normal : ColorScheme.Disabled; } diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 5dcf16d6f3..20200381cb 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -16,7 +16,7 @@ 1.0 - + diff --git a/Terminal.Gui/Views/ComboBox.cs b/Terminal.Gui/Views/ComboBox.cs index efe228c785..c26a340edc 100644 --- a/Terminal.Gui/Views/ComboBox.cs +++ b/Terminal.Gui/Views/ComboBox.cs @@ -16,6 +16,161 @@ namespace Terminal.Gui { /// public class ComboBox : View { + private class ComboListView : ListView { + private int highlighted = -1; + private bool isFocusing; + private ComboBox container; + private bool hideDropdownListOnClick; + + public ComboListView (ComboBox container, bool hideDropdownListOnClick) + { + Initialize (container, hideDropdownListOnClick); + } + + public ComboListView (ComboBox container, Rect rect, IList source, bool hideDropdownListOnClick) : base (rect, source) + { + Initialize (container, hideDropdownListOnClick); + } + + public ComboListView (ComboBox container, IList source, bool hideDropdownListOnClick) : base (source) + { + Initialize (container, hideDropdownListOnClick); + } + + private void Initialize (ComboBox container, bool hideDropdownListOnClick) + { + if (container == null) + throw new ArgumentNullException ("ComboBox container cannot be null.", nameof (container)); + + this.container = container; + HideDropdownListOnClick = hideDropdownListOnClick; + } + + public bool HideDropdownListOnClick { + get => hideDropdownListOnClick; + set => hideDropdownListOnClick = WantContinuousButtonPressed = value; + } + + public override bool MouseEvent (MouseEvent me) + { + var res = false; + var isMousePositionValid = IsMousePositionValid (me); + + if (isMousePositionValid) { + res = base.MouseEvent (me); + } + + if (HideDropdownListOnClick && me.Flags == MouseFlags.Button1Clicked) { + if (!isMousePositionValid && !isFocusing) { + container.isShow = false; + container.HideList (); + } else if (isMousePositionValid) { + OnOpenSelectedItem (); + } else { + isFocusing = false; + } + return true; + } else if (me.Flags == MouseFlags.ReportMousePosition && HideDropdownListOnClick) { + if (isMousePositionValid) { + highlighted = Math.Min (TopItem + me.Y, Source.Count); + SetNeedsDisplay (); + } + isFocusing = false; + return true; + } + + return res; + } + + private bool IsMousePositionValid (MouseEvent me) + { + if (me.X >= 0 && me.X < Frame.Width && me.Y >= 0 && me.Y < Frame.Height) { + return true; + } + return false; + } + + public override void Redraw (Rect bounds) + { + var current = ColorScheme.Focus; + Driver.SetAttribute (current); + Move (0, 0); + var f = Frame; + var item = TopItem; + bool focused = HasFocus; + int col = AllowsMarking ? 2 : 0; + int start = LeftItem; + + for (int row = 0; row < f.Height; row++, item++) { + bool isSelected = item == container.SelectedItem; + bool isHighlighted = hideDropdownListOnClick && item == highlighted; + + Attribute newcolor; + if (isHighlighted || (isSelected && !hideDropdownListOnClick)) { + newcolor = focused ? ColorScheme.Focus : ColorScheme.HotNormal; + } else if (isSelected && hideDropdownListOnClick) { + newcolor = focused ? ColorScheme.HotFocus : ColorScheme.HotNormal; + } else { + newcolor = focused ? GetNormalColor () : GetNormalColor (); + } + + if (newcolor != current) { + Driver.SetAttribute (newcolor); + current = newcolor; + } + + Move (0, row); + if (Source == null || item >= Source.Count) { + for (int c = 0; c < f.Width; c++) + Driver.AddRune (' '); + } else { + var rowEventArgs = new ListViewRowEventArgs (item); + OnRowRender (rowEventArgs); + if (rowEventArgs.RowAttribute != null && current != rowEventArgs.RowAttribute) { + current = (Attribute)rowEventArgs.RowAttribute; + Driver.SetAttribute (current); + } + if (AllowsMarking) { + Driver.AddRune (Source.IsMarked (item) ? (AllowsMultipleSelection ? Driver.Checked : Driver.Selected) : (AllowsMultipleSelection ? Driver.UnChecked : Driver.UnSelected)); + Driver.AddRune (' '); + } + Source.Render (this, Driver, isSelected, item, col, row, f.Width - col, start); + } + } + } + + public override bool OnEnter (View view) + { + if (hideDropdownListOnClick) { + isFocusing = true; + highlighted = container.SelectedItem; + Application.GrabMouse (this); + } + + return base.OnEnter (view); + } + + public override bool OnLeave (View view) + { + if (hideDropdownListOnClick) { + isFocusing = false; + highlighted = container.SelectedItem; + Application.UngrabMouse (); + } + + return base.OnLeave (view); + } + + public override bool OnSelectedChanged () + { + var res = base.OnSelectedChanged (); + + highlighted = SelectedItem; + + return res; + } + } + IListDataSource source; /// /// Gets or sets the backing this , enabling custom rendering. @@ -61,6 +216,16 @@ public void SetSource (IList source) /// public event Action SelectedItemChanged; + /// + /// This event is raised when the drop-down list is expanded. + /// + public event Action Expanded; + + /// + /// This event is raised when the drop-down list is collapsed. + /// + public event Action Collapsed; + /// /// This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. /// @@ -69,7 +234,7 @@ public void SetSource (IList source) readonly IList searchset = new List (); ustring text = ""; readonly TextField search; - readonly ListView listview; + readonly ComboListView listview; bool autoHide = true; int minimumHeight = 2; @@ -87,7 +252,7 @@ public ComboBox () : this (string.Empty) public ComboBox (ustring text) : base () { search = new TextField (""); - listview = new ListView () { LayoutStyle = LayoutStyle.Computed, CanFocus = true, TabStop = false }; + listview = new ComboListView (this, HideDropdownListOnClick) { LayoutStyle = LayoutStyle.Computed, CanFocus = true, TabStop = false }; Initialize (); Text = text; @@ -101,7 +266,20 @@ public ComboBox (ustring text) : base () public ComboBox (Rect rect, IList source) : base (rect) { search = new TextField ("") { Width = rect.Width }; - listview = new ListView (rect, source) { LayoutStyle = LayoutStyle.Computed, ColorScheme = Colors.Base }; + listview = new ComboListView (this, rect, source, HideDropdownListOnClick) { LayoutStyle = LayoutStyle.Computed, ColorScheme = Colors.Base }; + + Initialize (); + SetSource (source); + } + + /// + /// Initialize with the source. + /// + /// The source. + public ComboBox (IList source) : this (string.Empty) + { + search = new TextField (""); + listview = new ComboListView (this, source, HideDropdownListOnClick) { LayoutStyle = LayoutStyle.Computed, ColorScheme = Colors.Base }; Initialize (); SetSource (source); @@ -133,7 +311,7 @@ private void Initialize () listview.SelectedItemChanged += (ListViewItemEventArgs e) => { - if (searchset.Count > 0) { + if (!HideDropdownListOnClick && searchset.Count > 0) { SetValue (searchset [listview.SelectedItem]); } }; @@ -182,6 +360,8 @@ private void Initialize () private bool isShow = false; private int selectedItem = -1; + private int lastSelectedItem = -1; + private bool hideDropdownListOnClick; /// /// Gets the index of the currently selected item in the @@ -193,7 +373,7 @@ public int SelectedItem { if (selectedItem != value && (value == -1 || (source != null && value > -1 && value < source.Count))) { - selectedItem = value; + selectedItem = lastSelectedItem = value; if (selectedItem != -1) { SetValue (source.ToList () [selectedItem].ToString (), true); } else { @@ -236,6 +416,14 @@ public bool ReadOnly { } } + /// + /// Gets or sets if the drop-down list can be hide with a button click event. + /// + public bool HideDropdownListOnClick { + get => hideDropdownListOnClick; + set => hideDropdownListOnClick = listview.HideDropdownListOnClick = value; + } + /// public override bool MouseEvent (MouseEvent me) { @@ -268,10 +456,25 @@ public override bool MouseEvent (MouseEvent me) private void FocusSelectedItem () { listview.SelectedItem = SelectedItem > -1 ? SelectedItem : 0; - if (SelectedItem > -1) { - listview.TabStop = true; - listview.SetFocus (); - } + listview.TabStop = true; + listview.SetFocus (); + OnExpanded (); + } + + /// + /// Virtual method which invokes the event. + /// + public virtual void OnExpanded () + { + Expanded?.Invoke (); + } + + /// + /// Virtual method which invokes the event. + /// + public virtual void OnCollapsed () + { + Collapsed?.Invoke (); } /// @@ -324,6 +527,7 @@ public virtual bool OnSelectedChanged () public virtual bool OnOpenSelectedItem () { var value = search.Text; + lastSelectedItem = SelectedItem; OpenSelectedItem?.Invoke (new ListViewItemEventArgs (SelectedItem, value)); return true; @@ -338,6 +542,7 @@ public override void Redraw (Rect bounds) return; } + Driver.SetAttribute (ColorScheme.Focus); Move (Bounds.Right - 1, 0); Driver.AddRune (Driver.DownArrow); } @@ -362,8 +567,16 @@ bool UnixEmulation () bool CancelSelected () { search.SetFocus (); - search.Text = text = ""; - OnSelectedChanged (); + if (ReadOnly || HideDropdownListOnClick) { + SelectedItem = lastSelectedItem; + if (SelectedItem > -1 && listview.Source?.Count > 0) { + search.Text = text = listview.Source.ToList () [SelectedItem].ToString (); + } + } else if (!ReadOnly) { + search.Text = text = ""; + selectedItem = lastSelectedItem; + OnSelectedChanged (); + } Collapse (); return true; } @@ -635,12 +848,16 @@ private void ShowList () /// Consider making public private void HideList () { + if (lastSelectedItem != selectedItem) { + OnOpenSelectedItem (); + } var rect = listview.ViewToScreen (listview.Bounds); Reset (SelectedItem > -1); listview.Clear (rect); listview.TabStop = false; SuperView?.SendSubviewToBack (this); SuperView?.SetNeedsDisplay (rect); + OnCollapsed (); } /// diff --git a/Terminal.Gui/Views/ListView.cs b/Terminal.Gui/Views/ListView.cs index 525d4c2508..1a37fea3af 100644 --- a/Terminal.Gui/Views/ListView.cs +++ b/Terminal.Gui/Views/ListView.cs @@ -140,7 +140,7 @@ public IListDataSource Source { /// public void SetSource (IList source) { - if (source == null) + if (source == null && (Source == null || !(Source is ListWrapper))) Source = null; else { Source = MakeWrapper (source); @@ -157,7 +157,7 @@ public void SetSource (IList source) public Task SetSourceAsync (IList source) { return Task.Factory.StartNew (() => { - if (source == null) + if (source == null && (Source == null || !(Source is ListWrapper))) Source = null; else Source = MakeWrapper (source); @@ -521,12 +521,17 @@ public virtual bool MoveDown () top++; } else if (selected < top) { top = selected; + } else if (selected < top) { + top = selected; } OnSelectedChanged (); SetNeedsDisplay (); } else if (selected == 0) { OnSelectedChanged (); SetNeedsDisplay (); + } else if (selected >= top + Frame.Height) { + top = source.Count - Frame.Height; + SetNeedsDisplay (); } return true; @@ -561,6 +566,9 @@ public virtual bool MoveUp () } OnSelectedChanged (); SetNeedsDisplay (); + } else if (selected < top) { + top = selected; + SetNeedsDisplay (); } return true; } @@ -819,7 +827,7 @@ public ListWrapper (IList source) int GetMaxLengthItem () { - if (src?.Count == 0) { + if (src == null || src?.Count == 0) { return 0; } @@ -875,7 +883,7 @@ void RenderUstr (ConsoleDriver driver, ustring ustr, int col, int line, int widt public void Render (ListView container, ConsoleDriver driver, bool marked, int item, int col, int line, int width, int start = 0) { container.Move (col, line); - var t = src [item]; + var t = src? [item]; if (t == null) { RenderUstr (driver, ustring.Make (""), col, line, width); } else { diff --git a/Terminal.Gui/Views/Menu.cs b/Terminal.Gui/Views/Menu.cs index 022b0b9c0c..e40d852b5b 100644 --- a/Terminal.Gui/Views/Menu.cs +++ b/Terminal.Gui/Views/Menu.cs @@ -384,17 +384,26 @@ class Menu : View { internal int current; internal View previousSubFocused; - internal static Rect MakeFrame (int x, int y, MenuItem [] items) + internal static Rect MakeFrame (int x, int y, MenuItem [] items, Menu parent = null) { if (items == null || items.Length == 0) { return new Rect (); } - int maxW = items.Max (z => z?.Width) ?? 0; - - return new Rect (x, y, maxW + 2, items.Length + 2); + int minX = x; + int minY = y; + int maxW = (items.Max (z => z?.Width) ?? 0) + 2; + int maxH = items.Length + 2; + if (parent != null && x + maxW > Driver.Cols) { + minX = Math.Max (parent.Frame.Right - parent.Frame.Width - maxW, 0); + } + if (y + maxH > Driver.Rows) { + minY = Math.Max (Driver.Rows - maxH, 0); + } + return new Rect (minX, minY, maxW, maxH); } - public Menu (MenuBar host, int x, int y, MenuBarItem barItems) : base (MakeFrame (x, y, barItems.Children)) + public Menu (MenuBar host, int x, int y, MenuBarItem barItems, Menu parent = null) + : base (MakeFrame (x, y, barItems.Children, parent)) { this.barItems = barItems; this.host = host; @@ -1232,7 +1241,7 @@ internal void OpenMenu (int index, int sIndex = -1, MenuBarItem subMenu = null) } else { var last = openSubMenu.Count > 0 ? openSubMenu.Last () : openMenu; if (!UseSubMenusSingleFrame) { - openCurrentMenu = new Menu (this, last.Frame.Left + last.Frame.Width, last.Frame.Top + 1 + last.current, subMenu); + openCurrentMenu = new Menu (this, last.Frame.Left + last.Frame.Width, last.Frame.Top + 1 + last.current, subMenu, last); } else { var first = openSubMenu.Count > 0 ? openSubMenu.First () : openMenu; var mbi = new MenuItem [2 + subMenu.Children.Length]; diff --git a/Terminal.Gui/Views/ScrollView.cs b/Terminal.Gui/Views/ScrollView.cs index a77a8f2aa2..306261dae3 100644 --- a/Terminal.Gui/Views/ScrollView.cs +++ b/Terminal.Gui/Views/ScrollView.cs @@ -517,7 +517,6 @@ public override bool MouseEvent (MouseEvent me) horizontal.MouseEvent (me); } else if (IsOverridden (me.View)) { Application.UngrabMouse (); - return false; } return true; } diff --git a/Terminal.Gui/Views/TextField.cs b/Terminal.Gui/Views/TextField.cs index ebd900da22..dba4130bf9 100644 --- a/Terminal.Gui/Views/TextField.cs +++ b/Terminal.Gui/Views/TextField.cs @@ -203,6 +203,8 @@ void Initialize (ustring text, int w) AddKeyBinding (Key.X | Key.CtrlMask, Command.Cut); AddKeyBinding (Key.V | Key.CtrlMask, Command.Paste); AddKeyBinding (Key.T | Key.CtrlMask, Command.SelectAll); + + AddKeyBinding (Key.R | Key.CtrlMask, Command.DeleteAll); AddKeyBinding (Key.D | Key.CtrlMask | Key.ShiftMask, Command.DeleteAll); currentCulture = Thread.CurrentThread.CurrentUICulture; @@ -412,7 +414,7 @@ public override void Redraw (Rect bounds) var selColor = new Attribute (ColorScheme.Focus.Background, ColorScheme.Focus.Foreground); SetSelectedStartSelectedLength (); - Driver.SetAttribute (ColorScheme.Focus); + Driver.SetAttribute (GetNormalColor ()); Move (0, 0); int p = first; @@ -464,6 +466,12 @@ public override void Redraw (Rect bounds) Autocomplete.RenderOverlay (renderAt); } + /// + public override Attribute GetNormalColor () + { + return Enabled ? ColorScheme.Focus : ColorScheme.Disabled; + } + Attribute GetReadOnlyColor () { if (ColorScheme.Disabled.Foreground == ColorScheme.Focus.Background) { diff --git a/Terminal.Gui/Views/TextView.cs b/Terminal.Gui/Views/TextView.cs index 1a28678497..f671a5264f 100644 --- a/Terminal.Gui/Views/TextView.cs +++ b/Terminal.Gui/Views/TextView.cs @@ -1176,6 +1176,11 @@ public class TextView : View { /// public event Action TextChanged; + /// + /// Invoked with the unwrapped . + /// + public event Action UnwrappedCursorPosition; + /// /// Provides autocomplete context menu based on suggestions at the current cursor /// position. Populate to enable this feature @@ -1367,6 +1372,8 @@ void Initialize () AddKeyBinding (Key.Z | Key.CtrlMask, Command.Undo); AddKeyBinding (Key.R | Key.CtrlMask, Command.Redo); + + AddKeyBinding (Key.G | Key.CtrlMask, Command.DeleteAll); AddKeyBinding (Key.D | Key.CtrlMask | Key.ShiftMask, Command.DeleteAll); currentCulture = Thread.CurrentThread.CurrentUICulture; @@ -1608,12 +1615,7 @@ public ustring SelectedText { return ustring.Empty; } - SetWrapModel (); - var sel = GetRegion (); - UpdateWrapModel (); - Adjust (); - - return sel; + return GetSelectedRegion (); } } @@ -1936,7 +1938,7 @@ void ClearRegion (int left, int top, int right, int bottom) /// /// Sets the driver to the default color for the control where no text is being rendered. Defaults to . /// - protected virtual void ColorNormal () + protected virtual void SetNormalColor () { Driver.SetAttribute (GetNormalColor ()); } @@ -1948,7 +1950,7 @@ protected virtual void ColorNormal () /// /// /// - protected virtual void ColorNormal (List line, int idx) + protected virtual void SetNormalColor (List line, int idx) { Driver.SetAttribute (GetNormalColor ()); } @@ -1960,9 +1962,27 @@ protected virtual void ColorNormal (List line, int idx) /// /// /// - protected virtual void ColorSelection (List line, int idx) + protected virtual void SetSelectionColor (List line, int idx) + { + Driver.SetAttribute (new Attribute (ColorScheme.Focus.Background, ColorScheme.Focus.Foreground)); + } + + /// + /// Sets the to an appropriate color for rendering the given of the + /// current . Override to provide custom coloring by calling + /// Defaults to . + /// + /// + /// + protected virtual void SetReadOnlyColor (List line, int idx) { - Driver.SetAttribute (ColorScheme.Focus); + Attribute attribute; + if (ColorScheme.Disabled.Foreground == ColorScheme.Focus.Background) { + attribute = new Attribute (ColorScheme.Focus.Foreground, ColorScheme.Focus.Background); + } else { + attribute = new Attribute (ColorScheme.Disabled.Foreground, ColorScheme.Focus.Background); + } + Driver.SetAttribute (attribute); } /// @@ -1972,7 +1992,7 @@ protected virtual void ColorSelection (List line, int idx) /// /// /// - protected virtual void ColorUsed (List line, int idx) + protected virtual void SetUsedColor (List line, int idx) { Driver.SetAttribute (ColorScheme.HotFocus); } @@ -2022,10 +2042,18 @@ public override bool OnEnter (View view) } // Returns an encoded region start..end (top 32 bits are the row, low32 the column) - void GetEncodedRegionBounds (out long start, out long end) - { - long selection = ((long)(uint)selectionStartRow << 32) | (uint)selectionStartColumn; - long point = ((long)(uint)currentRow << 32) | (uint)currentColumn; + void GetEncodedRegionBounds (out long start, out long end, + int? startRow = null, int? startCol = null, int? cRow = null, int? cCol = null) + { + long selection; + long point; + if (startRow == null || startCol == null || cRow == null || cCol == null) { + selection = ((long)(uint)selectionStartRow << 32) | (uint)selectionStartColumn; + point = ((long)(uint)currentRow << 32) | (uint)currentColumn; + } else { + selection = ((long)(uint)startRow << 32) | (uint)startCol; + point = ((long)(uint)cRow << 32) | (uint)cCol; + } if (selection > point) { start = point; end = selection; @@ -2047,10 +2075,10 @@ bool PointInSelection (int col, int row) // Returns a ustring with the text in the selected // region. // - ustring GetRegion () + ustring GetRegion (int? sRow = null, int? sCol = null, int? cRow = null, int? cCol = null, TextModel model = null) { long start, end; - GetEncodedRegionBounds (out start, out end); + GetEncodedRegionBounds (out start, out end, sRow, sCol, cRow, cCol); if (start == end) { return ustring.Empty; } @@ -2058,7 +2086,7 @@ ustring GetRegion () var maxrow = ((int)(end >> 32)); int startCol = (int)(start & 0xffffffff); var endCol = (int)(end & 0xffffffff); - var line = model.GetLine (startRow); + var line = model == null ? this.model.GetLine (startRow) : model.GetLine (startRow); if (startRow == maxrow) return StringFromRunes (line.GetRange (startCol, endCol - startCol)); @@ -2066,9 +2094,10 @@ ustring GetRegion () ustring res = StringFromRunes (line.GetRange (startCol, line.Count - startCol)); for (int row = startRow + 1; row < maxrow; row++) { - res = res + ustring.Make (Environment.NewLine) + StringFromRunes (model.GetLine (row)); + res = res + ustring.Make (Environment.NewLine) + StringFromRunes (model == null + ? this.model.GetLine (row) : model.GetLine (row)); } - line = model.GetLine (maxrow); + line = model == null ? this.model.GetLine (maxrow) : model.GetLine (maxrow); res = res + ustring.Make (Environment.NewLine) + StringFromRunes (line.GetRange (0, endCol)); return res; } @@ -2320,10 +2349,42 @@ void UpdateWrapModel ([CallerMemberName] string caller = null) throw new InvalidOperationException ($"WordWrap settings was changed after the {currentCaller} call."); } + /// + /// Invoke the event with the unwrapped . + /// + public virtual void OnUnwrappedCursorPosition (int? cRow = null, int? cCol = null) + { + var row = cRow == null ? currentRow : cRow; + var col = cCol == null ? currentColumn : cCol; + if (cRow == null && cCol == null && wordWrap) { + row = wrapManager.GetModelLineFromWrappedLines (currentRow); + col = wrapManager.GetModelColFromWrappedLines (currentRow, currentColumn); + } + UnwrappedCursorPosition?.Invoke (new Point ((int)col, (int)row)); + } + + ustring GetSelectedRegion () + { + var cRow = currentRow; + var cCol = currentColumn; + var startRow = selectionStartRow; + var startCol = selectionStartColumn; + var model = this.model; + if (wordWrap) { + cRow = wrapManager.GetModelLineFromWrappedLines (currentRow); + cCol = wrapManager.GetModelColFromWrappedLines (currentRow, currentColumn); + startRow = wrapManager.GetModelLineFromWrappedLines (selectionStartRow); + startCol = wrapManager.GetModelColFromWrappedLines (selectionStartRow, selectionStartColumn); + model = wrapManager.Model; + } + OnUnwrappedCursorPosition (cRow, cCol); + return GetRegion (startRow, startCol, cRow, cCol, model); + } + /// public override void Redraw (Rect bounds) { - ColorNormal (); + SetNormalColor (); var offB = OffSetBackground (); int right = Frame.Width + offB.width + RightOffset; @@ -2339,12 +2400,14 @@ public override void Redraw (Rect bounds) var rune = idxCol >= lineRuneCount ? ' ' : line [idxCol]; var cols = Rune.ColumnWidth (rune); if (idxCol < line.Count && selecting && PointInSelection (idxCol, idxRow)) { - ColorSelection (line, idxCol); + SetSelectionColor (line, idxCol); } else if (idxCol == currentColumn && idxRow == currentRow && !selecting && !Used && HasFocus && idxCol < lineRuneCount) { - ColorUsed (line, idxCol); + SetSelectionColor (line, idxCol); + } else if (ReadOnly) { + SetReadOnlyColor (line, idxCol); } else { - ColorNormal (line, idxCol); + SetNormalColor (line, idxCol); } if (rune == '\t') { @@ -2368,13 +2431,13 @@ public override void Redraw (Rect bounds) } } if (col < right) { - ColorNormal (); + SetNormalColor (); ClearRegion (col, row, right, row + 1); } row++; } if (row < bottom) { - ColorNormal (); + SetNormalColor (); ClearRegion (bounds.Left, row, right, bottom); } @@ -2395,6 +2458,12 @@ public override void Redraw (Rect bounds) Autocomplete.RenderOverlay (renderAt); } + /// + public override Attribute GetNormalColor () + { + return Enabled ? ColorScheme.Focus : ColorScheme.Disabled; + } + /// public override bool CanFocus { get => base.CanFocus; @@ -2617,6 +2686,8 @@ void Adjust () } else { PositionCursor (); } + + OnUnwrappedCursorPosition (); } (int width, int height) OffSetBackground () @@ -3135,14 +3206,14 @@ void KillWordBackward () if (newPos.HasValue && currentRow == newPos.Value.row) { var restCount = currentColumn - newPos.Value.col; currentLine.RemoveRange (newPos.Value.col, restCount); - if (wordWrap && wrapManager.RemoveRange (currentRow, newPos.Value.col, restCount)) { + if (wordWrap) { wrapNeeded = true; } currentColumn = newPos.Value.col; } else if (newPos.HasValue) { var restCount = currentLine.Count - currentColumn; currentLine.RemoveRange (currentColumn, restCount); - if (wordWrap && wrapManager.RemoveRange (currentRow, currentColumn, restCount)) { + if (wordWrap) { wrapNeeded = true; } currentColumn = newPos.Value.col; @@ -3192,7 +3263,7 @@ void KillWordForward () restCount = currentLine.Count - currentColumn; currentLine.RemoveRange (currentColumn, restCount); } - if (wordWrap && wrapManager.RemoveRange (currentRow, currentColumn, restCount)) { + if (wordWrap) { wrapNeeded = true; } @@ -3579,16 +3650,24 @@ bool InsertText (KeyEvent kb) if (selecting) { ClearSelectedRegion (); } - if (Used) { - Insert ((uint)kb.Key); - currentColumn++; - if (currentColumn >= leftColumn + Frame.Width) { - leftColumn++; - SetNeedsDisplay (); - } + if (kb.Key == Key.Enter) { + model.AddLine (currentRow + 1, new List ()); + currentRow++; + currentColumn = 0; + } else if ((uint)kb.Key == 13) { + currentColumn = 0; } else { - Insert ((uint)kb.Key); - currentColumn++; + if (Used) { + Insert ((uint)kb.Key); + currentColumn++; + if (currentColumn >= leftColumn + Frame.Width) { + leftColumn++; + SetNeedsDisplay (); + } + } else { + Insert ((uint)kb.Key); + currentColumn++; + } } historyText.Add (new List> () { new List (GetCurrentLine ()) }, CursorPosition, @@ -3674,7 +3753,7 @@ bool DeleteTextForwards () historyText.Add (new List> () { new List (currentLine) }, CursorPosition, HistoryText.LineStatus.Replaced); - if (wordWrap && wrapManager.RemoveLine (currentRow, currentColumn, out _)) { + if (wordWrap) { wrapNeeded = true; } if (wrapNeeded) { @@ -3691,7 +3770,7 @@ bool DeleteTextForwards () historyText.Add (new List> () { new List (currentLine) }, CursorPosition, HistoryText.LineStatus.Replaced); - if (wordWrap && wrapManager.RemoveAt (currentRow, currentColumn)) { + if (wordWrap) { wrapNeeded = true; } @@ -3719,7 +3798,7 @@ bool DeleteTextBackwards () historyText.Add (new List> () { new List (currentLine) }, CursorPosition); currentLine.RemoveAt (currentColumn - 1); - if (wordWrap && wrapManager.RemoveAt (currentRow, currentColumn - 1)) { + if (wordWrap) { wrapNeeded = true; } currentColumn--; @@ -3751,8 +3830,7 @@ bool DeleteTextBackwards () var prevCount = prevRow.Count; model.GetLine (prowIdx).AddRange (GetCurrentLine ()); model.RemoveLine (currentRow); - bool lineRemoved = false; - if (wordWrap && wrapManager.RemoveLine (currentRow, currentColumn, out lineRemoved, false)) { + if (wordWrap) { wrapNeeded = true; } currentRow--; @@ -3760,11 +3838,7 @@ bool DeleteTextBackwards () historyText.Add (new List> () { GetCurrentLine () }, new Point (currentColumn, prowIdx), HistoryText.LineStatus.Replaced); - if (wrapNeeded && !lineRemoved) { - currentColumn = Math.Max (prevCount - 1, 0); - } else { - currentColumn = prevCount; - } + currentColumn = prevCount; SetNeedsDisplay (); } @@ -3871,6 +3945,7 @@ void StopSelecting () { shiftSelecting = false; selecting = false; + isButtonShift = false; } void ClearSelectedRegion () @@ -4185,8 +4260,6 @@ public override bool MouseEvent (MouseEvent ev) if (ev.Flags == MouseFlags.Button1Clicked) { if (shiftSelecting && !isButtonShift) { StopSelecting (); - } else if (!shiftSelecting && isButtonShift) { - isButtonShift = false; } ProcessMouseClick (ev, out _); PositionCursor (); diff --git a/Terminal.Gui/Views/TreeView.cs b/Terminal.Gui/Views/TreeView.cs index 61fa4520c2..5067295fbb 100644 --- a/Terminal.Gui/Views/TreeView.cs +++ b/Terminal.Gui/Views/TreeView.cs @@ -907,7 +907,7 @@ public void GoToEnd () { var map = BuildLineMap (); ScrollOffsetVertical = Math.Max (0, map.Count - Bounds.Height + 1); - SelectedObject = map.Last ().Model; + SelectedObject = map.LastOrDefault ()?.Model; SetNeedsDisplay (); } diff --git a/Terminal.Gui/Windows/Dialog.cs b/Terminal.Gui/Windows/Dialog.cs index 84da2f0266..c4d159eac4 100644 --- a/Terminal.Gui/Windows/Dialog.cs +++ b/Terminal.Gui/Windows/Dialog.cs @@ -160,7 +160,7 @@ void LayoutStartedHandler () switch (ButtonAlignment) { case ButtonAlignments.Center: // Center Buttons - shiftLeft = Math.Max ((Bounds.Width - buttonsWidth - buttons.Count - 2) / 2 + 1, 0); + shiftLeft = (Bounds.Width - buttonsWidth - buttons.Count - 2) / 2 + 1; for (int i = buttons.Count - 1; i >= 0; i--) { Button button = buttons [i]; shiftLeft += button.Frame.Width + (i == buttons.Count - 1 ? 0 : 1); @@ -231,6 +231,5 @@ public override bool ProcessKey (KeyEvent kb) } return base.ProcessKey (kb); } - } } diff --git a/Terminal.Gui/Windows/MessageBox.cs b/Terminal.Gui/Windows/MessageBox.cs index b8fdd8a162..c1cb326824 100644 --- a/Terminal.Gui/Windows/MessageBox.cs +++ b/Terminal.Gui/Windows/MessageBox.cs @@ -1,7 +1,6 @@ using NStack; using System; using System.Collections.Generic; -using System.Linq; namespace Terminal.Gui { /// @@ -240,7 +239,16 @@ static int QueryFull (bool useErrorColors, int width, int height, ustring title, int defaultButton = 0, Border border = null, params ustring [] buttons) { const int defaultWidth = 50; - int textWidth = TextFormatter.MaxWidth (message, width == 0 ? defaultWidth : width); + int maxWidthLine = TextFormatter.MaxWidthLine (message); + if (maxWidthLine > Application.Driver.Cols) { + maxWidthLine = Application.Driver.Cols; + } + if (width == 0) { + maxWidthLine = Math.Max (maxWidthLine, defaultWidth); + } else { + maxWidthLine = width; + } + int textWidth = TextFormatter.MaxWidth (message, maxWidthLine); int textHeight = TextFormatter.MaxLines (message, textWidth); // message.Count (ustring.Make ('\n')) + 1; int msgboxHeight = Math.Max (1, textHeight) + 4; // textHeight + (top + top padding + buttons + bottom) @@ -262,10 +270,11 @@ static int QueryFull (bool useErrorColors, int width, int height, ustring title, // Create Dialog (retain backwards compat by supporting specifying height/width) Dialog d; if (width == 0 & height == 0) { - d = new Dialog (title, buttonList.ToArray ()); - d.Height = msgboxHeight; + d = new Dialog (title, buttonList.ToArray ()) { + Height = msgboxHeight + }; } else { - d = new Dialog (title, Math.Max (width, textWidth) + 4, height, buttonList.ToArray ()); + d = new Dialog (title, width, Math.Max (height, 4), buttonList.ToArray ()); } if (border != null) { @@ -277,19 +286,22 @@ static int QueryFull (bool useErrorColors, int width, int height, ustring title, } if (message != null) { - var l = new Label (textWidth > width ? 0 : (width - 4 - textWidth) / 2, 1, message); - l.LayoutStyle = LayoutStyle.Computed; - l.TextAlignment = TextAlignment.Centered; - l.X = Pos.Center (); - l.Y = Pos.Center (); - l.Width = Dim.Fill (2); - l.Height = Dim.Fill (1); + var l = new Label (message) { + LayoutStyle = LayoutStyle.Computed, + TextAlignment = TextAlignment.Centered, + X = Pos.Center (), + Y = Pos.Center (), + Width = Dim.Fill (), + Height = Dim.Fill (1), + AutoSize = false + }; d.Add (l); } - // Dynamically size Width - int msgboxWidth = Math.Max (defaultWidth, Math.Max (title.RuneCount + 8, Math.Max (textWidth + 4, d.GetButtonsWidth ()) + 8)); // textWidth + (left + padding + padding + right) - d.Width = msgboxWidth; + if (width == 0 & height == 0) { + // Dynamically size Width + d.Width = Math.Max (maxWidthLine, Math.Max (title.ConsoleWidth, Math.Max (textWidth + 2, d.GetButtonsWidth ()))); // textWidth + (left + padding + padding + right) + } // Setup actions Clicked = -1; diff --git a/Terminal.Gui/Windows/Wizard.cs b/Terminal.Gui/Windows/Wizard.cs index 9d1be30940..dd0b224135 100644 --- a/Terminal.Gui/Windows/Wizard.cs +++ b/Terminal.Gui/Windows/Wizard.cs @@ -203,11 +203,6 @@ public WizardStep (ustring title) base.Add (contentView); - helpTextView.ColorScheme = new ColorScheme () { - Normal = new Attribute(Color.Gray, Color.DarkGray), - Focus = new Attribute(Color.DarkGray, Color.Gray), - HotFocus = new Attribute(Color.White, Color.DarkGray) - }; helpTextView.ReadOnly = true; helpTextView.WordWrap = true; base.Add (helpTextView); diff --git a/UICatalog/KeyBindingsDialog.cs b/UICatalog/KeyBindingsDialog.cs index cb2c1b9cfe..95b1fcf91e 100644 --- a/UICatalog/KeyBindingsDialog.cs +++ b/UICatalog/KeyBindingsDialog.cs @@ -132,7 +132,7 @@ public KeyBindingsDialog () : base("Keybindings", 50,10) Width = Dim.Percent (50), Height = Dim.Percent (100) - 1, }; - commandsListView.SelectedItemChanged += CommandsListView_SelectedItemChanged; + Add (commandsListView); keyLabel = new Label () { @@ -143,7 +143,7 @@ public KeyBindingsDialog () : base("Keybindings", 50,10) }; Add (keyLabel); - var btnChange = new Button ("Change") { + var btnChange = new Button ("Ch_ange") { X = Pos.Percent (50), Y = 1, }; @@ -160,6 +160,13 @@ public KeyBindingsDialog () : base("Keybindings", 50,10) var cancel = new Button ("Cancel"); cancel.Clicked += ()=>Application.RequestStop(); AddButton (cancel); + + // Register event handler as the last thing in constructor to prevent early calls + // before it is even shown (e.g. OnEnter) + commandsListView.SelectedItemChanged += CommandsListView_SelectedItemChanged; + + // Setup to show first ListView entry + SetTextBoxToShowBinding (commands.First()); } private void RemapKey () diff --git a/UICatalog/Scenarios/AutoSizeAndDirectionText.cs b/UICatalog/Scenarios/AutoSizeAndDirectionText.cs index 4cfa487d47..342c87bd64 100644 --- a/UICatalog/Scenarios/AutoSizeAndDirectionText.cs +++ b/UICatalog/Scenarios/AutoSizeAndDirectionText.cs @@ -33,7 +33,6 @@ public override void Setup () Y = Pos.Center (), Width = 20, Height = 5, - ColorScheme = color, Text = text }; diff --git a/UICatalog/Scenarios/BordersComparisons.cs b/UICatalog/Scenarios/BordersComparisons.cs index b07c76e52f..baaabcae01 100644 --- a/UICatalog/Scenarios/BordersComparisons.cs +++ b/UICatalog/Scenarios/BordersComparisons.cs @@ -46,7 +46,6 @@ public override void Init (Toplevel top, ColorScheme colorScheme) Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; var tf2 = new TextField ("1234567890") { @@ -86,7 +85,6 @@ public override void Init (Toplevel top, ColorScheme colorScheme) Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; var tf4 = new TextField ("1234567890") { @@ -123,7 +121,6 @@ public override void Init (Toplevel top, ColorScheme colorScheme) Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; var tf6 = new TextField ("1234567890") { diff --git a/UICatalog/Scenarios/BordersOnFrameView.cs b/UICatalog/Scenarios/BordersOnFrameView.cs index 4eaf21c316..ee205f49f4 100644 --- a/UICatalog/Scenarios/BordersOnFrameView.cs +++ b/UICatalog/Scenarios/BordersOnFrameView.cs @@ -56,7 +56,6 @@ public override void Setup () Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; smartView.Add (tf1, button, label, tf2, tv); diff --git a/UICatalog/Scenarios/BordersOnToplevel.cs b/UICatalog/Scenarios/BordersOnToplevel.cs index 7364549a87..edf238e6a5 100644 --- a/UICatalog/Scenarios/BordersOnToplevel.cs +++ b/UICatalog/Scenarios/BordersOnToplevel.cs @@ -56,7 +56,6 @@ public override void Setup () Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; smartView.Add (tf1, button, label, tf2, tv); diff --git a/UICatalog/Scenarios/BordersOnWindow.cs b/UICatalog/Scenarios/BordersOnWindow.cs index 5aaf97466c..51e441b3ac 100644 --- a/UICatalog/Scenarios/BordersOnWindow.cs +++ b/UICatalog/Scenarios/BordersOnWindow.cs @@ -56,7 +56,6 @@ public override void Setup () Y = Pos.AnchorEnd (2), Width = 10, Height = Dim.Fill (), - ColorScheme = Colors.Dialog, Text = "1234567890" }; smartView.Add (tf1, button, label, tf2, tv); diff --git a/UICatalog/Scenarios/ComboBoxIteration.cs b/UICatalog/Scenarios/ComboBoxIteration.cs index f3b90d552a..1c9e670028 100644 --- a/UICatalog/Scenarios/ComboBoxIteration.cs +++ b/UICatalog/Scenarios/ComboBoxIteration.cs @@ -33,7 +33,8 @@ public override void Setup () X = Pos.Right (listview) + 1, Y = Pos.Bottom (lbListView) + 1, Height = Dim.Fill (2), - Width = Dim.Percent (40) + Width = Dim.Percent (40), + HideDropdownListOnClick = true }; comboBox.SetSource (items); diff --git a/UICatalog/Scenarios/DynamicMenuBar.cs b/UICatalog/Scenarios/DynamicMenuBar.cs index 629705acdf..82309b9656 100644 --- a/UICatalog/Scenarios/DynamicMenuBar.cs +++ b/UICatalog/Scenarios/DynamicMenuBar.cs @@ -681,7 +681,6 @@ public DynamicMenuBarDetails (ustring title) : base (title) Add (_lblAction); _txtAction = new TextView () { - ColorScheme = Colors.Dialog, X = Pos.Left (_txtTitle), Y = Pos.Top (_lblAction), Width = Dim.Fill (), diff --git a/UICatalog/Scenarios/DynamicStatusBar.cs b/UICatalog/Scenarios/DynamicStatusBar.cs index 3475829e29..5583afbcb0 100644 --- a/UICatalog/Scenarios/DynamicStatusBar.cs +++ b/UICatalog/Scenarios/DynamicStatusBar.cs @@ -383,7 +383,6 @@ public DynamicStatusBarDetails (ustring title) : base (title) Add (_lblAction); _txtAction = new TextView () { - ColorScheme = Colors.Dialog, X = Pos.Left (_txtTitle), Y = Pos.Top (_lblAction), Width = Dim.Fill (), diff --git a/UICatalog/Scenarios/Editor.cs b/UICatalog/Scenarios/Editor.cs index bfc18fd9ef..633158ee57 100644 --- a/UICatalog/Scenarios/Editor.cs +++ b/UICatalog/Scenarios/Editor.cs @@ -26,11 +26,11 @@ public class Editor : Scenario { private string _textToReplace; private bool _matchCase; private bool _matchWholeWord; - private Window winDialog; + private Window _winDialog; private TabView _tabView; - private MenuItem miForceMinimumPosToZero; - private bool forceMinimumPosToZero = true; - private readonly List cultureInfos = Application.SupportedCultures; + private MenuItem _miForceMinimumPosToZero; + private bool _forceMinimumPosToZero = true; + private readonly List _cultureInfos = Application.SupportedCultures; public override void Init (Toplevel top, ColorScheme colorScheme) { @@ -60,6 +60,12 @@ public override void Init (Toplevel top, ColorScheme colorScheme) CreateDemoFile (_fileName); + var siCursorPosition = new StatusItem (Key.Null, "", null); + + _textView.UnwrappedCursorPosition += (e) => { + siCursorPosition.Title = $"Ln {e.Y + 1}, Col {e.X + 1}"; + }; + LoadFile (); Win.Add (_textView); @@ -103,16 +109,17 @@ public override void Init (Toplevel top, ColorScheme colorScheme) CreateVisibleChecked () }), new MenuBarItem ("Conte_xtMenu", new MenuItem [] { - miForceMinimumPosToZero = new MenuItem ("ForceMinimumPosTo_Zero", "", () => { - miForceMinimumPosToZero.Checked = forceMinimumPosToZero = !forceMinimumPosToZero; - _textView.ContextMenu.ForceMinimumPosToZero = forceMinimumPosToZero; - }) { CheckType = MenuItemCheckStyle.Checked, Checked = forceMinimumPosToZero }, + _miForceMinimumPosToZero = new MenuItem ("ForceMinimumPosTo_Zero", "", () => { + _miForceMinimumPosToZero.Checked = _forceMinimumPosToZero = !_forceMinimumPosToZero; + _textView.ContextMenu.ForceMinimumPosToZero = _forceMinimumPosToZero; + }) { CheckType = MenuItemCheckStyle.Checked, Checked = _forceMinimumPosToZero }, new MenuBarItem ("_Languages", GetSupportedCultures ()) }) }); Top.Add (menu); var statusBar = new StatusBar (new StatusItem [] { + siCursorPosition, new StatusItem(Key.F2, "~F2~ Open", () => Open()), new StatusItem(Key.F3, "~F3~ Save", () => Save()), new StatusItem(Key.F4, "~F4~ Save As", () => SaveAs()), @@ -168,20 +175,20 @@ public override void Init (Toplevel top, ColorScheme colorScheme) Win.KeyPress += (e) => { var keys = ShortcutHelper.GetModifiersKey (e.KeyEvent); - if (winDialog != null && (e.KeyEvent.Key == Key.Esc + if (_winDialog != null && (e.KeyEvent.Key == Key.Esc || e.KeyEvent.Key == (Key.Q | Key.CtrlMask))) { DisposeWinDialog (); } else if (e.KeyEvent.Key == (Key.Q | Key.CtrlMask)) { Quit (); e.Handled = true; - } else if (winDialog != null && keys == (Key.Tab | Key.CtrlMask)) { + } else if (_winDialog != null && keys == (Key.Tab | Key.CtrlMask)) { if (_tabView.SelectedTab == _tabView.Tabs.ElementAt (_tabView.Tabs.Count - 1)) { _tabView.SelectedTab = _tabView.Tabs.ElementAt (0); } else { _tabView.SwitchTabBy (1); } e.Handled = true; - } else if (winDialog != null && keys == (Key.Tab | Key.CtrlMask | Key.ShiftMask)) { + } else if (_winDialog != null && keys == (Key.Tab | Key.CtrlMask | Key.ShiftMask)) { if (_tabView.SelectedTab == _tabView.Tabs.ElementAt (0)) { _tabView.SelectedTab = _tabView.Tabs.ElementAt (_tabView.Tabs.Count - 1); } else { @@ -196,9 +203,9 @@ public override void Init (Toplevel top, ColorScheme colorScheme) private void DisposeWinDialog () { - winDialog.Dispose (); - Win.Remove (winDialog); - winDialog = null; + _winDialog.Dispose (); + Win.Remove (_winDialog); + _winDialog = null; } public override void Setup () @@ -276,7 +283,7 @@ private void ContinueFind (bool next = true, bool replace = false) Find (); return; } else if (replace && (string.IsNullOrEmpty (_textToFind) - || (winDialog == null && string.IsNullOrEmpty (_textToReplace)))) { + || (_winDialog == null && string.IsNullOrEmpty (_textToReplace)))) { Replace (); return; } @@ -323,7 +330,7 @@ private void ReplacePrevious () private void ReplaceAll () { - if (string.IsNullOrEmpty (_textToFind) || (string.IsNullOrEmpty (_textToReplace) && winDialog == null)) { + if (string.IsNullOrEmpty (_textToFind) || (string.IsNullOrEmpty (_textToReplace) && _winDialog == null)) { Replace (); return; } @@ -468,7 +475,7 @@ private MenuItem [] GetSupportedCultures () List supportedCultures = new List (); var index = -1; - foreach (var c in cultureInfos) { + foreach (var c in _cultureInfos) { var culture = new MenuItem { CheckType = MenuItemCheckStyle.Checked }; @@ -714,17 +721,17 @@ void SetCursor (CursorVisibility visibility) private void CreateFindReplace (bool isFind = true) { - if (winDialog != null) { - winDialog.SetFocus (); + if (_winDialog != null) { + _winDialog.SetFocus (); return; } - winDialog = new Window (isFind ? "Find" : "Replace") { + _winDialog = new Window (isFind ? "Find" : "Replace") { X = Win.Bounds.Width / 2 - 30, Y = Win.Bounds.Height / 2 - 10, ColorScheme = Colors.TopLevel }; - winDialog.Border.Effect3D = true; + _winDialog.Border.Effect3D = true; _tabView = new TabView () { X = 0, @@ -737,15 +744,15 @@ private void CreateFindReplace (bool isFind = true) var replace = ReplaceTab (); _tabView.AddTab (new TabView.Tab ("Replace", replace), !isFind); _tabView.SelectedTabChanged += (s, e) => _tabView.SelectedTab.View.FocusFirst (); - winDialog.Add (_tabView); + _winDialog.Add (_tabView); - Win.Add (winDialog); + Win.Add (_winDialog); - winDialog.Width = replace.Width + 4; - winDialog.Height = replace.Height + 4; + _winDialog.Width = replace.Width + 4; + _winDialog.Height = replace.Height + 4; - winDialog.SuperView.BringSubviewToFront (winDialog); - winDialog.SetFocus (); + _winDialog.SuperView.BringSubviewToFront (_winDialog); + _winDialog.SetFocus (); } private void SetFindText () diff --git a/UICatalog/Scenarios/GraphViewExample.cs b/UICatalog/Scenarios/GraphViewExample.cs index 3e5890a7bf..8404f044b1 100644 --- a/UICatalog/Scenarios/GraphViewExample.cs +++ b/UICatalog/Scenarios/GraphViewExample.cs @@ -101,7 +101,8 @@ private void MultiBarGraph () about.Text = "Housing Expenditures by income thirds 1996-2003"; - var black = Application.Driver.MakeAttribute (graphView.ColorScheme.Normal.Foreground, Color.Black); + var fore = graphView.ColorScheme.Normal.Foreground == Color.Black ? Color.White : graphView.ColorScheme.Normal.Foreground; + var black = Application.Driver.MakeAttribute (fore, Color.Black); var cyan = Application.Driver.MakeAttribute (Color.BrightCyan, Color.Black); var magenta = Application.Driver.MakeAttribute (Color.BrightMagenta, Color.Black); var red = Application.Driver.MakeAttribute (Color.BrightRed, Color.Black); @@ -138,7 +139,7 @@ private void MultiBarGraph () graphView.AxisY.Minimum = 0; - var legend = new LegendAnnotation (new Rect (graphView.Bounds.Width - 20,0, 20, 5)); + var legend = new LegendAnnotation (new Rect (graphView.Bounds.Width - 20, 0, 20, 5)); legend.AddEntry (new GraphCellToRender (stiple, series.SubSeries.ElementAt (0).OverrideBarColor), "Lower Third"); legend.AddEntry (new GraphCellToRender (stiple, series.SubSeries.ElementAt (1).OverrideBarColor), "Middle Third"); legend.AddEntry (new GraphCellToRender (stiple, series.SubSeries.ElementAt (2).OverrideBarColor), "Upper Third"); @@ -540,26 +541,19 @@ protected override void DrawBarLine (GraphView graph, Terminal.Gui.Point start, var driver = Application.Driver; int x = start.X; - for(int y = end.Y; y <= start.Y; y++) { + for (int y = end.Y; y <= start.Y; y++) { var height = graph.ScreenToGraphSpace (x, y).Y; if (height >= 85) { - driver.SetAttribute(red); - } - else - if (height >= 66) { + driver.SetAttribute (red); + } else if (height >= 66) { driver.SetAttribute (brightred); - } - else - if (height >= 45) { + } else if (height >= 45) { driver.SetAttribute (brightyellow); - } - else - if (height >= 25) { + } else if (height >= 25) { driver.SetAttribute (brightgreen); - } - else{ + } else { driver.SetAttribute (green); } @@ -683,9 +677,8 @@ private void Zoom (float factor) private void Margin (bool left, bool increase) { if (left) { - graphView.MarginLeft = (uint)Math.Max(0,graphView.MarginLeft + (increase ? 1 : -1)); - } - else { + graphView.MarginLeft = (uint)Math.Max (0, graphView.MarginLeft + (increase ? 1 : -1)); + } else { graphView.MarginBottom = (uint)Math.Max (0, graphView.MarginBottom + (increase ? 1 : -1)); } diff --git a/UICatalog/Scenarios/MessageBoxes.cs b/UICatalog/Scenarios/MessageBoxes.cs index b4ebcc0a66..0b9aaa7026 100644 --- a/UICatalog/Scenarios/MessageBoxes.cs +++ b/UICatalog/Scenarios/MessageBoxes.cs @@ -90,7 +90,6 @@ public override void Setup () Y = Pos.Top (label), Width = Dim.Fill (), Height = 5, - ColorScheme = Colors.Dialog, }; frame.Add (messageEdit); diff --git a/UICatalog/Scenarios/ProgressBarStyles.cs b/UICatalog/Scenarios/ProgressBarStyles.cs index 74f6ebf94d..0b8ee4bfe4 100644 --- a/UICatalog/Scenarios/ProgressBarStyles.cs +++ b/UICatalog/Scenarios/ProgressBarStyles.cs @@ -135,11 +135,15 @@ public override void Setup () void Top_Unloaded () { + if (_fractionTimer != null) { + _fractionTimer.Dispose (); + _fractionTimer = null; + } if (_pulseTimer != null) { _pulseTimer.Dispose (); _pulseTimer = null; - Top.Unloaded -= Top_Unloaded; } + Top.Unloaded -= Top_Unloaded; } } } diff --git a/UICatalog/Scenarios/SyntaxHighlighting.cs b/UICatalog/Scenarios/SyntaxHighlighting.cs index 887542c404..cd3436341c 100644 --- a/UICatalog/Scenarios/SyntaxHighlighting.cs +++ b/UICatalog/Scenarios/SyntaxHighlighting.cs @@ -38,7 +38,7 @@ public override void Setup () Height = Dim.Fill (1), }; - textView.Init(); + textView.Init (); textView.Text = "SELECT TOP 100 * \nfrom\n MyDb.dbo.Biochemistry;"; @@ -63,49 +63,49 @@ private void Quit () Application.RequestStop (); } - private class SqlTextView : TextView{ + private class SqlTextView : TextView { - private HashSet keywords = new HashSet(StringComparer.CurrentCultureIgnoreCase); + private HashSet keywords = new HashSet (StringComparer.CurrentCultureIgnoreCase); private Attribute blue; private Attribute white; private Attribute magenta; - public void Init() + public void Init () { - keywords.Add("select"); - keywords.Add("distinct"); - keywords.Add("top"); - keywords.Add("from"); - keywords.Add("create"); - keywords.Add("CIPHER"); - keywords.Add("CLASS_ORIGIN"); - keywords.Add("CLIENT"); - keywords.Add("CLOSE"); - keywords.Add("COALESCE"); - keywords.Add("CODE"); - keywords.Add("COLUMNS"); - keywords.Add("COLUMN_FORMAT"); - keywords.Add("COLUMN_NAME"); - keywords.Add("COMMENT"); - keywords.Add("COMMIT"); - keywords.Add("COMPACT"); - keywords.Add("COMPLETION"); - keywords.Add("COMPRESSED"); - keywords.Add("COMPRESSION"); - keywords.Add("CONCURRENT"); - keywords.Add("CONNECT"); - keywords.Add("CONNECTION"); - keywords.Add("CONSISTENT"); - keywords.Add("CONSTRAINT_CATALOG"); - keywords.Add("CONSTRAINT_SCHEMA"); - keywords.Add("CONSTRAINT_NAME"); - keywords.Add("CONTAINS"); - keywords.Add("CONTEXT"); - keywords.Add("CONTRIBUTORS"); - keywords.Add("COPY"); - keywords.Add("CPU"); - keywords.Add("CURSOR_NAME"); + keywords.Add ("select"); + keywords.Add ("distinct"); + keywords.Add ("top"); + keywords.Add ("from"); + keywords.Add ("create"); + keywords.Add ("CIPHER"); + keywords.Add ("CLASS_ORIGIN"); + keywords.Add ("CLIENT"); + keywords.Add ("CLOSE"); + keywords.Add ("COALESCE"); + keywords.Add ("CODE"); + keywords.Add ("COLUMNS"); + keywords.Add ("COLUMN_FORMAT"); + keywords.Add ("COLUMN_NAME"); + keywords.Add ("COMMENT"); + keywords.Add ("COMMIT"); + keywords.Add ("COMPACT"); + keywords.Add ("COMPLETION"); + keywords.Add ("COMPRESSED"); + keywords.Add ("COMPRESSION"); + keywords.Add ("CONCURRENT"); + keywords.Add ("CONNECT"); + keywords.Add ("CONNECTION"); + keywords.Add ("CONSISTENT"); + keywords.Add ("CONSTRAINT_CATALOG"); + keywords.Add ("CONSTRAINT_SCHEMA"); + keywords.Add ("CONSTRAINT_NAME"); + keywords.Add ("CONTAINS"); + keywords.Add ("CONTEXT"); + keywords.Add ("CONTRIBUTORS"); + keywords.Add ("COPY"); + keywords.Add ("CPU"); + keywords.Add ("CURSOR_NAME"); keywords.Add ("primary"); keywords.Add ("key"); keywords.Add ("insert"); @@ -138,29 +138,26 @@ public void Init() keywords.Add ("union"); keywords.Add ("exists"); - Autocomplete.AllSuggestions = keywords.ToList(); + Autocomplete.AllSuggestions = keywords.ToList (); magenta = Driver.MakeAttribute (Color.Magenta, Color.Black); blue = Driver.MakeAttribute (Color.Cyan, Color.Black); white = Driver.MakeAttribute (Color.White, Color.Black); } - protected override void ColorNormal () + protected override void SetNormalColor () { Driver.SetAttribute (white); } - protected override void ColorNormal (List line, int idx) + protected override void SetNormalColor (List line, int idx) { - if(IsInStringLiteral(line,idx)) { + if (IsInStringLiteral (line, idx)) { Driver.SetAttribute (magenta); - } - else - if(IsKeyword(line,idx)) - { + } else + if (IsKeyword (line, idx)) { Driver.SetAttribute (blue); - } - else{ + } else { Driver.SetAttribute (white); } } @@ -168,9 +165,9 @@ protected override void ColorNormal (List line, int idx) private bool IsInStringLiteral (List line, int idx) { string strLine = new string (line.Select (r => (char)r).ToArray ()); - - foreach(Match m in Regex.Matches(strLine, "'[^']*'")) { - if(idx >= m.Index && idx < m.Index+m.Length) { + + foreach (Match m in Regex.Matches (strLine, "'[^']*'")) { + if (idx >= m.Index && idx < m.Index + m.Length) { return true; } } @@ -178,37 +175,36 @@ private bool IsInStringLiteral (List line, int idx) return false; } - private bool IsKeyword(List line, int idx) + private bool IsKeyword (List line, int idx) { - var word = IdxToWord(line,idx); - - if(string.IsNullOrWhiteSpace(word)){ + var word = IdxToWord (line, idx); + + if (string.IsNullOrWhiteSpace (word)) { return false; } - return keywords.Contains(word,StringComparer.CurrentCultureIgnoreCase); + return keywords.Contains (word, StringComparer.CurrentCultureIgnoreCase); } - private string IdxToWord(List line, int idx) + private string IdxToWord (List line, int idx) { - var words = Regex.Split( - new string(line.Select(r=>(char)r).ToArray()), + var words = Regex.Split ( + new string (line.Select (r => (char)r).ToArray ()), "\\b"); int count = 0; string current = null; - foreach(var word in words) - { + foreach (var word in words) { current = word; - count+= word.Length; - if(count > idx){ + count += word.Length; + if (count > idx) { break; } } - return current?.Trim(); + return current?.Trim (); } } } diff --git a/UICatalog/Scenarios/Text.cs b/UICatalog/Scenarios/Text.cs index 836a8bb9ea..7b9a256281 100644 --- a/UICatalog/Scenarios/Text.cs +++ b/UICatalog/Scenarios/Text.cs @@ -49,7 +49,6 @@ void TextField_TextChanging (TextChangingEventArgs e) Y = 3, Width = Dim.Percent (50), Height = Dim.Percent (30), - ColorScheme = Colors.Dialog }; textView.Text = s; textView.DrawContent += TextView_DrawContent; diff --git a/UICatalog/Scenarios/TextAlignmentsAndDirection.cs b/UICatalog/Scenarios/TextAlignmentsAndDirection.cs index aa58bf2d0f..e407878263 100644 --- a/UICatalog/Scenarios/TextAlignmentsAndDirection.cs +++ b/UICatalog/Scenarios/TextAlignmentsAndDirection.cs @@ -105,7 +105,7 @@ public override void Setup () Y = Pos.Bottom (container) + 1, Width = Dim.Fill (10), Height = Dim.Fill (1), - ColorScheme = color2, + ColorScheme = Colors.TopLevel, Text = txt }; diff --git a/UICatalog/Scenarios/TextViewAutocompletePopup.cs b/UICatalog/Scenarios/TextViewAutocompletePopup.cs index 957247c93e..a9518586ff 100644 --- a/UICatalog/Scenarios/TextViewAutocompletePopup.cs +++ b/UICatalog/Scenarios/TextViewAutocompletePopup.cs @@ -24,7 +24,6 @@ public override void Setup () { Win.Title = GetName (); var width = 20; - var colorScheme = Colors.Dialog; var text = " jamp jemp jimp jomp jump"; var menu = new MenuBar (new MenuBarItem [] { @@ -39,7 +38,6 @@ public override void Setup () textViewTopLeft = new TextView () { Width = width, Height = height, - ColorScheme = colorScheme, Text = text }; textViewTopLeft.DrawContent += TextViewTopLeft_DrawContent; @@ -49,7 +47,6 @@ public override void Setup () X = Pos.AnchorEnd (width), Width = width, Height = height, - ColorScheme = colorScheme, Text = text }; textViewTopRight.DrawContent += TextViewTopRight_DrawContent; @@ -59,7 +56,6 @@ public override void Setup () Y = Pos.AnchorEnd (height), Width = width, Height = height, - ColorScheme = colorScheme, Text = text }; textViewBottomLeft.DrawContent += TextViewBottomLeft_DrawContent; @@ -70,7 +66,6 @@ public override void Setup () Y = Pos.AnchorEnd (height), Width = width, Height = height, - ColorScheme = colorScheme, Text = text }; textViewBottomRight.DrawContent += TextViewBottomRight_DrawContent; @@ -81,7 +76,6 @@ public override void Setup () Y = Pos.Center (), Width = width, Height = height, - ColorScheme = colorScheme, Text = text }; textViewCentered.DrawContent += TextViewCentered_DrawContent; diff --git a/UICatalog/Scenarios/Wizards.cs b/UICatalog/Scenarios/Wizards.cs index b7f09229a1..e5f503414c 100644 --- a/UICatalog/Scenarios/Wizards.cs +++ b/UICatalog/Scenarios/Wizards.cs @@ -217,6 +217,7 @@ void Top_Loaded () Height = Dim.Fill (1), WordWrap = true, AllowsTab = false, + ColorScheme = Colors.Base }; var help = "This is helpful."; fourthStep.Add (someText); diff --git a/UnitTests/ApplicationTests.cs b/UnitTests/ApplicationTests.cs index 0aa526d68f..8c335da05e 100644 --- a/UnitTests/ApplicationTests.cs +++ b/UnitTests/ApplicationTests.cs @@ -84,6 +84,7 @@ void Init () Application.Init (new FakeDriver (), new FakeMainLoop (() => FakeConsole.ReadKey (true))); Assert.NotNull (Application.Driver); Assert.NotNull (Application.MainLoop); + Assert.NotNull (SynchronizationContext.Current); } void Shutdown () @@ -1300,7 +1301,7 @@ public void TestAddManyTimeouts () var myi = i; Task.Run (() => { - Task.Delay (100).Wait (); + Thread.Sleep (100); // each thread registers lots of 1s timeouts for (int j = 0; j < numberOfTimeoutsPerThread; j++) { @@ -1317,7 +1318,7 @@ public void TestAddManyTimeouts () if (myi == 0) { // let the timeouts run for a bit - Task.Delay (5000).Wait (); + Thread.Sleep (5000); // then tell the application to quit Application.MainLoop.Invoke (() => Application.RequestStop ()); @@ -1335,5 +1336,159 @@ public void TestAddManyTimeouts () Assert.True (delegatesRun >= numberOfThreads * numberOfTimeoutsPerThread * 2); } } + + [Fact] + public void SynchronizationContext_Post () + { + Init (); + var context = SynchronizationContext.Current; + + var success = false; + Task.Run (() => { + Thread.Sleep (1_000); + + // non blocking + context.Post ( + delegate (object o) { + success = true; + + // then tell the application to quit + Application.MainLoop.Invoke (() => Application.RequestStop ()); + }, null); + Assert.False (success); + }); + + // blocks here until the RequestStop is processed at the end of the test + Application.Run (); + Assert.True (success); + + Application.Shutdown (); + } + + [Fact] + public void SynchronizationContext_Send () + { + Init (); + var context = SynchronizationContext.Current; + + var success = false; + Task.Run (() => { + Thread.Sleep (1_000); + + // blocking + context.Send ( + delegate (object o) { + success = true; + + // then tell the application to quit + Application.MainLoop.Invoke (() => Application.RequestStop ()); + }, null); + Assert.True (success); + }); + + // blocks here until the RequestStop is processed at the end of the test + Application.Run (); + Assert.True (success); + + Application.Shutdown (); + } + + [Fact] + public void SynchronizationContext_CreateCopy () + { + Init (); + + var context = SynchronizationContext.Current; + Assert.NotNull (context); + + var contextCopy = context.CreateCopy (); + Assert.NotNull (contextCopy); + + Assert.NotEqual (context, contextCopy); + + Application.Shutdown (); + } + + [Fact, AutoInitShutdown] + public void MouseGrabView_WithNullMouseEventView () + { + var tf = new TextField () { Width = 10 }; + var sv = new ScrollView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + ContentSize = new Size (100, 100) + }; + + sv.Add (tf); + Application.Top.Add (sv); + + var iterations = -1; + + Application.Iteration = () => { + iterations++; + if (iterations == 0) { + Assert.True (tf.HasFocus); + Assert.Null (Application.mouseGrabView); + + ReflectionTools.InvokePrivate ( + typeof (Application), + "ProcessMouseEvent", + new MouseEvent () { + X = 5, + Y = 5, + Flags = MouseFlags.ReportMousePosition + }); + + Assert.Equal (sv, Application.mouseGrabView); + + MessageBox.Query ("Title", "Test", "Ok"); + + Assert.Null (Application.mouseGrabView); + } else if (iterations == 1) { + Assert.Equal (sv, Application.mouseGrabView); + + ReflectionTools.InvokePrivate ( + typeof (Application), + "ProcessMouseEvent", + new MouseEvent () { + X = 5, + Y = 5, + Flags = MouseFlags.ReportMousePosition + }); + + Assert.Null (Application.mouseGrabView); + + ReflectionTools.InvokePrivate ( + typeof (Application), + "ProcessMouseEvent", + new MouseEvent () { + X = 40, + Y = 12, + Flags = MouseFlags.ReportMousePosition + }); + + Assert.Null (Application.mouseGrabView); + + ReflectionTools.InvokePrivate ( + typeof (Application), + "ProcessMouseEvent", + new MouseEvent () { + X = 0, + Y = 0, + Flags = MouseFlags.Button1Pressed + }); + + Assert.Null (Application.mouseGrabView); + + Application.RequestStop (); + } else if (iterations == 2) { + Assert.Null (Application.mouseGrabView); + + Application.RequestStop (); + } + }; + + Application.Run (); + } } } diff --git a/UnitTests/CheckboxTests.cs b/UnitTests/CheckboxTests.cs index 6dac850889..99bbdf41fa 100644 --- a/UnitTests/CheckboxTests.cs +++ b/UnitTests/CheckboxTests.cs @@ -314,10 +314,18 @@ public void TextAlignment_Centered () [Fact, AutoInitShutdown] public void TextAlignment_Justified () { - var checkBox = new CheckBox () { + var checkBox1 = new CheckBox () { X = 1, Y = Pos.Center (), - Text = "Check this out 你", + Text = "Check first out 你", + TextAlignment = TextAlignment.Justified, + AutoSize = false, + Width = 25 + }; + var checkBox2 = new CheckBox () { + X = 1, + Y = Pos.Bottom (checkBox1), + Text = "Check second out 你", TextAlignment = TextAlignment.Justified, AutoSize = false, Width = 25 @@ -327,44 +335,56 @@ public void TextAlignment_Justified () Height = Dim.Fill (), Title = "Test Demo 你" }; - win.Add (checkBox); + win.Add (checkBox1, checkBox2); Application.Top.Add (win); Application.Begin (Application.Top); - ((FakeDriver)Application.Driver).SetBufferSize (30, 5); + ((FakeDriver)Application.Driver).SetBufferSize (30, 6); + + Assert.Equal (TextAlignment.Justified, checkBox1.TextAlignment); + Assert.Equal (new Rect (1, 1, 25, 1), checkBox1.Frame); + Assert.Equal (new Size (25, 1), checkBox1.TextFormatter.Size); + Assert.Equal ("Check first out 你", checkBox1.Text); + Assert.Equal ("╴ Check first out 你", checkBox1.TextFormatter.Text); + Assert.False (checkBox1.AutoSize); + Assert.Equal (TextAlignment.Justified, checkBox2.TextAlignment); + Assert.Equal (new Rect (1, 2, 25, 1), checkBox2.Frame); + Assert.Equal (new Size (25, 1), checkBox2.TextFormatter.Size); + Assert.Equal ("Check second out 你", checkBox2.Text); + Assert.Equal ("╴ Check second out 你", checkBox2.TextFormatter.Text); + Assert.False (checkBox2.AutoSize); - Assert.Equal (TextAlignment.Justified, checkBox.TextAlignment); - Assert.Equal (new Rect (1, 1, 25, 1), checkBox.Frame); - Assert.Equal (new Size (25, 1), checkBox.TextFormatter.Size); - Assert.Equal ("Check this out 你", checkBox.Text); - Assert.Equal ("╴ Check this out 你", checkBox.TextFormatter.Text); - Assert.False (checkBox.AutoSize); var expected = @" ┌ Test Demo 你 ──────────────┐ │ │ -│ ╴ Check this out 你 │ +│ ╴ Check first out 你 │ +│ ╴ Check second out 你 │ │ │ └────────────────────────────┘ "; var pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); - Assert.Equal (new Rect (0, 0, 30, 5), pos); - - checkBox.Checked = true; - Assert.Equal (new Rect (1, 1, 25, 1), checkBox.Frame); - Assert.Equal (new Size (25, 1), checkBox.TextFormatter.Size); + Assert.Equal (new Rect (0, 0, 30, 6), pos); + + checkBox1.Checked = true; + Assert.Equal (new Rect (1, 1, 25, 1), checkBox1.Frame); + Assert.Equal (new Size (25, 1), checkBox1.TextFormatter.Size); + checkBox2.Checked = true; + Assert.Equal (new Rect (1, 2, 25, 1), checkBox2.Frame); + Assert.Equal (new Size (25, 1), checkBox2.TextFormatter.Size); Application.Refresh (); expected = @" ┌ Test Demo 你 ──────────────┐ │ │ -│ √ Check this out 你 │ +│ √ Check first out 你 │ +│ √ Check second out 你 │ │ │ └────────────────────────────┘ "; pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); - Assert.Equal (new Rect (0, 0, 30, 5), pos); + Assert.Equal (new Rect (0, 0, 30, 6), pos); } [Fact, AutoInitShutdown] diff --git a/UnitTests/ComboBoxTests.cs b/UnitTests/ComboBoxTests.cs index 4a7005a16f..e6e0f731e5 100644 --- a/UnitTests/ComboBoxTests.cs +++ b/UnitTests/ComboBoxTests.cs @@ -21,18 +21,42 @@ public void Constructors_Defaults () Assert.Null (cb.Source); Assert.False (cb.AutoSize); Assert.Equal (new Rect (0, 0, 0, 2), cb.Frame); + Assert.Equal (-1, cb.SelectedItem); cb = new ComboBox ("Test"); Assert.Equal ("Test", cb.Text); Assert.Null (cb.Source); Assert.False (cb.AutoSize); Assert.Equal (new Rect (0, 0, 0, 2), cb.Frame); + Assert.Equal (-1, cb.SelectedItem); cb = new ComboBox (new Rect (1, 2, 10, 20), new List () { "One", "Two", "Three" }); Assert.Equal (string.Empty, cb.Text); Assert.NotNull (cb.Source); Assert.False (cb.AutoSize); Assert.Equal (new Rect (1, 2, 10, 20), cb.Frame); + Assert.Equal (-1, cb.SelectedItem); + + cb = new ComboBox (new List () { "One", "Two", "Three" }); + Assert.Equal (string.Empty, cb.Text); + Assert.NotNull (cb.Source); + Assert.False (cb.AutoSize); + Assert.Equal (new Rect (0, 0, 0, 2), cb.Frame); + Assert.Equal (-1, cb.SelectedItem); + } + + [Fact] + [AutoInitShutdown] + public void Constructor_With_Source_Initialize_With_The_Passed_SelectedItem () + { + var cb = new ComboBox (new List () { "One", "Two", "Three" }) { + SelectedItem = 1 + }; + Assert.Equal ("Two", cb.Text); + Assert.NotNull (cb.Source); + Assert.False (cb.AutoSize); + Assert.Equal (new Rect (0, 0, 0, 2), cb.Frame); + Assert.Equal (1, cb.SelectedItem); } [Fact] @@ -240,5 +264,676 @@ public void Source_Equal_Null_Or_Count_Equal_Zero_Sets_SelectedItem_Equal_To_Min Assert.Equal (-1, cb.SelectedItem); Assert.Equal ("", cb.Text); } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_Gets_Sets () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5 + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.False (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (0, cb.SelectedItem); + Assert.Equal ("One", cb.Text); + + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = 1, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = 1, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + cb.HideDropdownListOnClick = true; + + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = 2, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("Three", selected); + Assert.False (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = 2, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("Three", selected); + Assert.False (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("Three", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("One", selected); + Assert.False (cb.IsShow); + Assert.Equal (0, cb.SelectedItem); + Assert.Equal ("One", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_True_OpenSelectedItem_With_Mouse_And_Key_And_Mouse () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = true + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.True (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorUp, new KeyModifiers ()))); + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_True_OpenSelectedItem_With_Mouse_And_Key_CursorDown_And_Esc () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = true + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.True (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.Esc, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_False_OpenSelectedItem_With_Mouse_And_Key_CursorDown_And_Esc () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = false + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.False (cb.HideDropdownListOnClick); + Assert.False (cb.ReadOnly); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (0, cb.SelectedItem); + Assert.Equal ("One", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.Esc, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_False_ReadOnly_True_OpenSelectedItem_With_Mouse_And_Key_CursorDown_And_Esc () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = false, + ReadOnly = true + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.False (cb.HideDropdownListOnClick); + Assert.True (cb.ReadOnly); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (0, cb.SelectedItem); + Assert.Equal ("One", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.Esc, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_True_OpenSelectedItem_With_Mouse_And_Key_F4 () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = true + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.True (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_False_OpenSelectedItem_With_Mouse_And_Key_F4 () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = false + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.False (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (0, cb.SelectedItem); + Assert.Equal ("One", cb.Text); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Two", selected); + Assert.False (cb.IsShow); + Assert.Equal (1, cb.SelectedItem); + Assert.Equal ("Two", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_True_Colapse_On_Click_Outside_Frame () + { + var selected = ""; + var cb = new ComboBox { + Height = 4, + Width = 5, + HideDropdownListOnClick = true + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.True (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = -1, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = -1, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = cb.Frame.Width, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + Assert.True (cb.Subviews [1].MouseEvent (new MouseEvent { + X = 0, + Y = cb.Frame.Height, + Flags = MouseFlags.Button1Clicked + })); + Assert.Equal ("", selected); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + } + + [Fact, AutoInitShutdown] + public void HideDropdownListOnClick_True_Highlight_Current_Item () + { + var selected = ""; + var cb = new ComboBox { + Width = 6, + Height = 4, + HideDropdownListOnClick = true, + }; + cb.SetSource (new List { "One", "Two", "Three" }); + cb.OpenSelectedItem += (e) => selected = e.Value.ToString (); + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.True (cb.HideDropdownListOnClick); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.MouseEvent (new MouseEvent { + X = cb.Bounds.Right - 1, + Y = 0, + Flags = MouseFlags.Button1Pressed + })); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ▼ +One +Two +Three ", output); + + var attributes = new Attribute [] { + // 0 + cb.Subviews [0].ColorScheme.Focus, + // 1 + cb.Subviews [1].ColorScheme.HotFocus, + // 2 + cb.Subviews [1].GetNormalColor () + }; + + GraphViewTests.AssertDriverColorsAre (@" +000000 +00000 +22222 +22222", attributes); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverColorsAre (@" +000000 +22222 +00000 +22222", attributes); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorDown, new KeyModifiers ()))); + Assert.Equal ("", selected); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverColorsAre (@" +000000 +22222 +22222 +00000", attributes); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + Assert.Equal ("Three", selected); + Assert.False (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Three", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverColorsAre (@" +000000 +22222 +22222 +00000", attributes); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorUp, new KeyModifiers ()))); + Assert.Equal ("Three", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverColorsAre (@" +000000 +22222 +00000 +11111", attributes); + + Assert.True (cb.Subviews [1].ProcessKey (new KeyEvent (Key.CursorUp, new KeyModifiers ()))); + Assert.Equal ("Three", selected); + Assert.True (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + cb.Redraw (cb.Bounds); + GraphViewTests.AssertDriverColorsAre (@" +000000 +00000 +22222 +11111", attributes); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Equal ("Three", selected); + Assert.False (cb.IsShow); + Assert.Equal (2, cb.SelectedItem); + Assert.Equal ("Three", cb.Text); + } + + [Fact, AutoInitShutdown] + public void Expanded_Collapsed_Events () + { + var cb = new ComboBox { + Height = 4, + Width = 5 + }; + var list = new List { "One", "Two", "Three" }; + + cb.Expanded += () => cb.SetSource (list); + cb.Collapsed += () => cb.Source = null; + + Application.Top.Add (cb); + Application.Begin (Application.Top); + + Assert.Null (cb.Source); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.NotNull (cb.Source); + Assert.True (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + + Assert.True (cb.ProcessKey (new KeyEvent (Key.F4, new KeyModifiers ()))); + Assert.Null (cb.Source); + Assert.False (cb.IsShow); + Assert.Equal (-1, cb.SelectedItem); + Assert.Equal ("", cb.Text); + } } } \ No newline at end of file diff --git a/UnitTests/ContextMenuTests.cs b/UnitTests/ContextMenuTests.cs index d5b024be42..5df3b07ce2 100644 --- a/UnitTests/ContextMenuTests.cs +++ b/UnitTests/ContextMenuTests.cs @@ -423,7 +423,7 @@ public void Show_Display_At_Zero_If_The_Toplevel_Height_Is_Less_Than_The_Menu_He cm.Show (); Assert.Equal (new Point (0, 0), cm.Position); Application.Begin (Application.Top); - ((FakeDriver)Application.Driver).SetBufferSize (80, 4); + ((FakeDriver)Application.Driver).SetBufferSize (80, 3); var expected = @" ┌──────┐ @@ -432,7 +432,7 @@ public void Show_Display_At_Zero_If_The_Toplevel_Height_Is_Less_Than_The_Menu_He "; var pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); - Assert.Equal (new Rect (0, 1, 8, 3), pos); + Assert.Equal (new Rect (0, 0, 8, 3), pos); cm.Hide (); Assert.Equal (new Point (0, 0), cm.Position); @@ -592,27 +592,27 @@ public void ContextMenu_On_Toplevel_With_A_MenuBar_TextField_StatusBar () Assert.Equal (new Point (9, 3), tf.ContextMenu.Position); Application.Top.Redraw (Application.Top.Bounds); var expected = @" - File Edit - - - Label: TextField - ┌───────────────────────────┐ - │ Select All Ctrl+T │ - │ Delete All Ctrl+Shift+D │ - │ Copy Ctrl+C │ - │ Cut Ctrl+X │ - │ Paste Ctrl+V │ - │ Undo Ctrl+Z │ - │ Redo Ctrl+Y │ - └───────────────────────────┘ - - - - F1 Help │ ^Q Quit + File Edit + + + Label: TextField + ┌─────────────────────┐ + │ Select All Ctrl+T │ + │ Delete All Ctrl+R │ + │ Copy Ctrl+C │ + │ Cut Ctrl+X │ + │ Paste Ctrl+V │ + │ Undo Ctrl+Z │ + │ Redo Ctrl+Y │ + └─────────────────────┘ + + + + F1 Help │ ^Q Quit "; var pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); - Assert.Equal (new Rect (2, 0, 38, 17), pos); + Assert.Equal (new Rect (2, 0, 32, 17), pos); } [Fact, AutoInitShutdown] @@ -648,7 +648,6 @@ public void ContextMenu_On_Toplevel_With_A_MenuBar_Window_TextField_StatusBar () Application.Begin (Application.Top); ((FakeDriver)Application.Driver).SetBufferSize (44, 17); - Assert.Equal (new Rect (9, 3, 20, 1), tf.Frame); Assert.True (tf.HasFocus); @@ -663,15 +662,15 @@ File Edit │ │ │ │ │ Label: TextField │ -│ ┌───────────────────────────┐ │ -│ │ Select All Ctrl+T │ │ -│ │ Delete All Ctrl+Shift+D │ │ -│ │ Copy Ctrl+C │ │ -│ │ Cut Ctrl+X │ │ -│ │ Paste Ctrl+V │ │ -│ │ Undo Ctrl+Z │ │ -│ │ Redo Ctrl+Y │ │ -│ └───────────────────────────┘ │ +│ ┌─────────────────────┐ │ +│ │ Select All Ctrl+T │ │ +│ │ Delete All Ctrl+R │ │ +│ │ Copy Ctrl+C │ │ +│ │ Cut Ctrl+X │ │ +│ │ Paste Ctrl+V │ │ +│ │ Undo Ctrl+Z │ │ +│ │ Redo Ctrl+Y │ │ +│ └─────────────────────┘ │ └──────────────────────────────────────────┘ F1 Help │ ^Q Quit "; @@ -679,5 +678,215 @@ F1 Help │ ^Q Quit var pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); Assert.Equal (new Rect (2, 0, 44, 17), pos); } + + [Fact, AutoInitShutdown] + public void Menus_And_SubMenus_Always_Try_To_Be_On_Screen () + { + var cm = new ContextMenu (-1, -2, + new MenuBarItem (new MenuItem [] { + new MenuItem ("One", "", null), + new MenuItem ("Two", "", null), + new MenuItem ("Three", "", null), + new MenuBarItem ("Four", new MenuItem [] { + new MenuItem ("SubMenu1", "", null), + new MenuItem ("SubMenu2", "", null), + new MenuItem ("SubMenu3", "", null), + new MenuItem ("SubMenu4", "", null), + new MenuItem ("SubMenu5", "", null), + new MenuItem ("SubMenu6", "", null), + new MenuItem ("SubMenu7", "", null) + }), + new MenuItem ("Five", "", null), + new MenuItem ("Six", "", null) + }) + ); + + Assert.Equal (new Point (-1, -2), cm.Position); + + cm.Show (); + Assert.Equal (new Point (-1, -2), cm.Position); + var top = Application.Top; + Application.Begin (top); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌────────┐ +│ One │ +│ Two │ +│ Three │ +│ Four ►│ +│ Five │ +│ Six │ +└────────┘ +", output); + + Assert.True (top.Subviews [0].MouseEvent (new MouseEvent { + X = 0, + Y = 4, + Flags = MouseFlags.ReportMousePosition, + View = top.Subviews [0] + })); + Application.Refresh (); + Assert.Equal (new Point (-1, -2), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌────────┐ +│ One │ +│ Two │ +│ Three │ +│ Four ►│┌───────────┐ +│ Five ││ SubMenu1 │ +│ Six ││ SubMenu2 │ +└────────┘│ SubMenu3 │ + │ SubMenu4 │ + │ SubMenu5 │ + │ SubMenu6 │ + │ SubMenu7 │ + └───────────┘ +", output); + + ((FakeDriver)Application.Driver).SetBufferSize (40, 20); + cm.Position = new Point (41, -2); + cm.Show (); + Application.Refresh (); + Assert.Equal (new Point (41, -2), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + │ One │ + │ Two │ + │ Three │ + │ Four ►│ + │ Five │ + │ Six │ + └────────┘ +", output); + + Assert.True (top.Subviews [0].MouseEvent (new MouseEvent { + X = 30, + Y = 4, + Flags = MouseFlags.ReportMousePosition, + View = top.Subviews [0] + })); + Application.Refresh (); + Assert.Equal (new Point (41, -2), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + │ One │ + │ Two │ + │ Three │ + ┌───────────┐│ Four ►│ + │ SubMenu1 ││ Five │ + │ SubMenu2 ││ Six │ + │ SubMenu3 │└────────┘ + │ SubMenu4 │ + │ SubMenu5 │ + │ SubMenu6 │ + │ SubMenu7 │ + └───────────┘ +", output); + + cm.Position = new Point (41, 9); + cm.Show (); + Application.Refresh (); + Assert.Equal (new Point (41, 9), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + │ One │ + │ Two │ + │ Three │ + │ Four ►│ + │ Five │ + │ Six │ + └────────┘ +", output); + + Assert.True (top.Subviews [0].MouseEvent (new MouseEvent { + X = 30, + Y = 4, + Flags = MouseFlags.ReportMousePosition, + View = top.Subviews [0] + })); + Application.Refresh (); + Assert.Equal (new Point (41, 9), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + ┌───────────┐│ One │ + │ SubMenu1 ││ Two │ + │ SubMenu2 ││ Three │ + │ SubMenu3 ││ Four ►│ + │ SubMenu4 ││ Five │ + │ SubMenu5 ││ Six │ + │ SubMenu6 │└────────┘ + │ SubMenu7 │ + └───────────┘ +", output); + + cm.Position = new Point (41, 22); + cm.Show (); + Application.Refresh (); + Assert.Equal (new Point (41, 22), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + │ One │ + │ Two │ + │ Three │ + │ Four ►│ + │ Five │ + │ Six │ + └────────┘ +", output); + + Assert.True (top.Subviews [0].MouseEvent (new MouseEvent { + X = 30, + Y = 4, + Flags = MouseFlags.ReportMousePosition, + View = top.Subviews [0] + })); + Application.Refresh (); + Assert.Equal (new Point (41, 22), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌───────────┐ + │ SubMenu1 │┌────────┐ + │ SubMenu2 ││ One │ + │ SubMenu3 ││ Two │ + │ SubMenu4 ││ Three │ + │ SubMenu5 ││ Four ►│ + │ SubMenu6 ││ Five │ + │ SubMenu7 ││ Six │ + └───────────┘└────────┘ +", output); + + ((FakeDriver)Application.Driver).SetBufferSize (18, 8); + cm.Position = new Point (19, 10); + cm.Show (); + Application.Refresh (); + Assert.Equal (new Point (19, 10), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌────────┐ + │ One │ + │ Two │ + │ Three │ + │ Four ►│ + │ Five │ + │ Six │ + └────────┘ +", output); + + Assert.True (top.Subviews [0].MouseEvent (new MouseEvent { + X = 30, + Y = 4, + Flags = MouseFlags.ReportMousePosition, + View = top.Subviews [0] + })); + Application.Refresh (); + Assert.Equal (new Point (19, 10), cm.Position); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌───────────┐────┐ +│ SubMenu1 │ │ +│ SubMenu2 │ │ +│ SubMenu3 │ee │ +│ SubMenu4 │r ►│ +│ SubMenu5 │e │ +│ SubMenu6 │ │ +│ SubMenu7 │────┘ +", output); + } } } diff --git a/UnitTests/ListViewTests.cs b/UnitTests/ListViewTests.cs index 99abd469d8..03b01547aa 100644 --- a/UnitTests/ListViewTests.cs +++ b/UnitTests/ListViewTests.cs @@ -5,9 +5,17 @@ using System.Text; using System.Threading.Tasks; using Xunit; +using Xunit.Abstractions; namespace Terminal.Gui.Views { public class ListViewTests { + readonly ITestOutputHelper output; + + public ListViewTests (ITestOutputHelper output) + { + this.output = output; + } + [Fact] public void Constructors_Defaults () { @@ -30,6 +38,97 @@ public void Constructors_Defaults () Assert.Equal (new Rect (0, 1, 10, 20), lv.Frame); } + [Fact] + public void ListViewSelectThenDown () + { + var lv = new ListView (new List () { "One", "Two", "Three" }); + lv.AllowsMarking = true; + + Assert.NotNull (lv.Source); + + // first item should be selected by default + Assert.Equal (0, lv.SelectedItem); + + // nothing is ticked + Assert.False (lv.Source.IsMarked (0)); + Assert.False (lv.Source.IsMarked (1)); + Assert.False (lv.Source.IsMarked (2)); + + lv.AddKeyBinding (Key.Space | Key.ShiftMask, Command.ToggleChecked, Command.LineDown); + + var ev = new KeyEvent (Key.Space | Key.ShiftMask, new KeyModifiers () { Shift = true }); + + // view should indicate that it has accepted and consumed the event + Assert.True (lv.ProcessKey (ev)); + + // second item should now be selected + Assert.Equal (1, lv.SelectedItem); + + // first item only should be ticked + Assert.True (lv.Source.IsMarked (0)); + Assert.False (lv.Source.IsMarked (1)); + Assert.False (lv.Source.IsMarked (2)); + + // Press key combo again + Assert.True (lv.ProcessKey (ev)); + Assert.Equal (2, lv.SelectedItem); + Assert.True (lv.Source.IsMarked (0)); + Assert.True (lv.Source.IsMarked (1)); + Assert.False (lv.Source.IsMarked (2)); + + // Press key combo again + Assert.True (lv.ProcessKey (ev)); + Assert.Equal (2, lv.SelectedItem); // cannot move down any further + Assert.True (lv.Source.IsMarked (0)); + Assert.True (lv.Source.IsMarked (1)); + Assert.True (lv.Source.IsMarked (2)); // but can toggle marked + + // Press key combo again + Assert.True (lv.ProcessKey (ev)); + Assert.Equal (2, lv.SelectedItem); // cannot move down any further + Assert.True (lv.Source.IsMarked (0)); + Assert.True (lv.Source.IsMarked (1)); + Assert.False (lv.Source.IsMarked (2)); // untoggle toggle marked + } + [Fact] + public void SettingEmptyKeybindingThrows () + { + var lv = new ListView (new List () { "One", "Two", "Three" }); + Assert.Throws (() => lv.AddKeyBinding (Key.Space)); + } + + + /// + /// Tests that when none of the Commands in a chained keybinding are possible + /// the returns the appropriate result + /// + [Fact] + public void ListViewProcessKeyReturnValue_WithMultipleCommands () + { + var lv = new ListView (new List () { "One", "Two", "Three", "Four" }); + + Assert.NotNull (lv.Source); + + // first item should be selected by default + Assert.Equal (0, lv.SelectedItem); + + // bind shift down to move down twice in control + lv.AddKeyBinding (Key.CursorDown | Key.ShiftMask, Command.LineDown, Command.LineDown); + + var ev = new KeyEvent (Key.CursorDown | Key.ShiftMask, new KeyModifiers () { Shift = true }); + + Assert.True (lv.ProcessKey (ev), "The first time we move down 2 it should be possible"); + + // After moving down twice from One we should be at 'Three' + Assert.Equal (2, lv.SelectedItem); + + // clear the items + lv.SetSource (null); + + // Press key combo again - return should be false this time as none of the Commands are allowable + Assert.False (lv.ProcessKey (ev), "We cannot move down so will not respond to this"); + } + private class NewListDataSource : IListDataSource { public int Count => throw new NotImplementedException (); @@ -130,5 +229,227 @@ string GetContents (int line) return item; } } + + [Fact] + [AutoInitShutdown] + public void Ensures_Visibility_SelectedItem_On_MoveDown_And_MoveUp () + { + var source = new List (); + for (int i = 0; i < 20; i++) { + source.Add ($"Line{i}"); + } + var lv = new ListView (source) { Width = Dim.Fill (), Height = Dim.Fill () }; + var win = new Window (); + win.Add (lv); + Application.Top.Add (win); + Application.Begin (Application.Top); + ((FakeDriver)Application.Driver).SetBufferSize (12, 12); + Application.Refresh (); + + Assert.Equal (0, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line0 │ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +└──────────┘", output); + + Assert.True (lv.ScrollDown (10)); + lv.Redraw (lv.Bounds); + Assert.Equal (0, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line10 │ +│Line11 │ +│Line12 │ +│Line13 │ +│Line14 │ +│Line15 │ +│Line16 │ +│Line17 │ +│Line18 │ +│Line19 │ +└──────────┘", output); + + Assert.True (lv.MoveDown ()); + lv.Redraw (lv.Bounds); + Assert.Equal (1, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +│Line10 │ +└──────────┘", output); + + Assert.True (lv.MoveEnd ()); + lv.Redraw (lv.Bounds); + Assert.Equal (19, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line19 │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└──────────┘", output); + + Assert.True (lv.ScrollUp (20)); + lv.Redraw (lv.Bounds); + Assert.Equal (19, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line0 │ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +└──────────┘", output); + + Assert.True (lv.MoveDown ()); + lv.Redraw (lv.Bounds); + Assert.Equal (19, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line10 │ +│Line11 │ +│Line12 │ +│Line13 │ +│Line14 │ +│Line15 │ +│Line16 │ +│Line17 │ +│Line18 │ +│Line19 │ +└──────────┘", output); + + Assert.True (lv.ScrollUp (20)); + lv.Redraw (lv.Bounds); + Assert.Equal (19, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line0 │ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +└──────────┘", output); + + Assert.True (lv.MoveDown ()); + lv.Redraw (lv.Bounds); + Assert.Equal (19, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line10 │ +│Line11 │ +│Line12 │ +│Line13 │ +│Line14 │ +│Line15 │ +│Line16 │ +│Line17 │ +│Line18 │ +│Line19 │ +└──────────┘", output); + + Assert.True (lv.MoveHome ()); + lv.Redraw (lv.Bounds); + Assert.Equal (0, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line0 │ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +└──────────┘", output); + + Assert.True (lv.ScrollDown (20)); + lv.Redraw (lv.Bounds); + Assert.Equal (0, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line19 │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└──────────┘", output); + + Assert.True (lv.MoveUp ()); + lv.Redraw (lv.Bounds); + Assert.Equal (0, lv.SelectedItem); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌──────────┐ +│Line0 │ +│Line1 │ +│Line2 │ +│Line3 │ +│Line4 │ +│Line5 │ +│Line6 │ +│Line7 │ +│Line8 │ +│Line9 │ +└──────────┘", output); + } + + [Fact] + public void SetSource_Preserves_ListWrapper_Instance_If_Not_Null () + { + var lv = new ListView (new List { "One", "Two" }); + + Assert.NotNull (lv.Source); + + lv.SetSource (null); + Assert.NotNull (lv.Source); + + lv.Source = null; + Assert.Null (lv.Source); + + lv = new ListView (new List { "One", "Two" }); + Assert.NotNull (lv.Source); + + lv.SetSourceAsync (null); + Assert.NotNull (lv.Source); + } } } diff --git a/UnitTests/MainLoopTests.cs b/UnitTests/MainLoopTests.cs index 8d4330d115..4cf1d5b712 100644 --- a/UnitTests/MainLoopTests.cs +++ b/UnitTests/MainLoopTests.cs @@ -29,12 +29,18 @@ public void AddIdle_Adds_And_Removes () { var ml = new MainLoop (new FakeMainLoop (() => FakeConsole.ReadKey (true))); - Func fnTrue = () => { return true; }; - Func fnFalse = () => { return false; }; + Func fnTrue = () => true; + Func fnFalse = () => false; + ml.AddIdle (fnTrue); ml.AddIdle (fnFalse); + Assert.Equal (2, ml.IdleHandlers.Count); + Assert.Equal (fnTrue, ml.IdleHandlers [0]); + Assert.NotEqual (fnFalse, ml.IdleHandlers [0]); + Assert.True (ml.RemoveIdle (fnTrue)); + Assert.Single (ml.IdleHandlers); // BUGBUG: This doesn't throw or indicate an error. Ideally RemoveIdle would either // throw an exception in this case, or return an error. @@ -52,8 +58,19 @@ public void AddIdle_Adds_And_Removes () ml.AddIdle (fnTrue); ml.AddIdle (fnTrue); + Assert.Equal (2, ml.IdleHandlers.Count); + Assert.Equal (fnTrue, ml.IdleHandlers [0]); + Assert.True (ml.IdleHandlers [0] ()); + Assert.Equal (fnTrue, ml.IdleHandlers [1]); + Assert.True (ml.IdleHandlers [1] ()); + Assert.True (ml.RemoveIdle (fnTrue)); + Assert.Single (ml.IdleHandlers); + Assert.Equal (fnTrue, ml.IdleHandlers [0]); + Assert.NotEqual (fnFalse, ml.IdleHandlers [0]); + Assert.True (ml.RemoveIdle (fnTrue)); + Assert.Empty (ml.IdleHandlers); // BUGBUG: This doesn't throw an exception or indicate an error. Ideally RemoveIdle would either // throw an exception in this case, or return an error. @@ -125,14 +142,17 @@ public void AddTwice_Function_CalledTwice () ml.AddIdle (fn); ml.MainIteration (); Assert.Equal (2, functionCalled); + Assert.Equal (2, ml.IdleHandlers.Count); functionCalled = 0; Assert.True (ml.RemoveIdle (fn)); + Assert.Single (ml.IdleHandlers); ml.MainIteration (); Assert.Equal (1, functionCalled); functionCalled = 0; Assert.True (ml.RemoveIdle (fn)); + Assert.Empty (ml.IdleHandlers); ml.MainIteration (); Assert.Equal (0, functionCalled); Assert.False (ml.RemoveIdle (fn)); @@ -505,5 +525,71 @@ public void Wakeup () // - wait = false // TODO: Add IMainLoop tests + + volatile static int tbCounter = 0; + static ManualResetEventSlim _wakeUp = new ManualResetEventSlim (false); + + private static void Launch (Random r, TextField tf, int target) + { + Task.Run (() => { + Thread.Sleep (r.Next (2, 4)); + Application.MainLoop.Invoke (() => { + tf.Text = $"index{r.Next ()}"; + Interlocked.Increment (ref tbCounter); + if (target == tbCounter) { + // On last increment wake up the check + _wakeUp.Set (); + } + }); + }); + } + + private static void RunTest (Random r, TextField tf, int numPasses, int numIncrements, int pollMs) + { + for (int j = 0; j < numPasses; j++) { + + _wakeUp.Reset (); + for (var i = 0; i < numIncrements; i++) { + Launch (r, tf, (j + 1) * numIncrements); + } + + + while (tbCounter != (j + 1) * numIncrements) // Wait for tbCounter to reach expected value + { + var tbNow = tbCounter; + _wakeUp.Wait (pollMs); + if (tbCounter == tbNow) { + // No change after wait: Idle handlers added via Application.MainLoop.Invoke have gone missing + Application.MainLoop.Invoke (() => Application.RequestStop ()); + throw new TimeoutException ( + $"Timeout: Increment lost. tbCounter ({tbCounter}) didn't " + + $"change after waiting {pollMs} ms. Failed to reach {(j + 1) * numIncrements} on pass {j + 1}"); + } + }; + } + Application.MainLoop.Invoke (() => Application.RequestStop ()); + } + + [Fact] + [AutoInitShutdown] + public async Task InvokeLeakTest () + { + Random r = new (); + TextField tf = new (); + Application.Top.Add (tf); + + const int numPasses = 10; + const int numIncrements = 10000; + const int pollMs = 20000; + + var task = Task.Run (() => RunTest (r, tf, numPasses, numIncrements, pollMs)); + + // blocks here until the RequestStop is processed at the end of the test + Application.Run (); + + await task; // Propagate exception if any occurred + + Assert.Equal ((numIncrements * numPasses), tbCounter); + } } } diff --git a/UnitTests/MenuTests.cs b/UnitTests/MenuTests.cs index ad54bd193b..77c336b8ab 100644 --- a/UnitTests/MenuTests.cs +++ b/UnitTests/MenuTests.cs @@ -670,7 +670,7 @@ public void DrawFrame_With_Negative_Positions () menu.CloseAllMenus (); menu.Frame = new Rect (0, 0, menu.Frame.Width, menu.Frame.Height); - ((FakeDriver)Application.Driver).SetBufferSize (7, 4); + ((FakeDriver)Application.Driver).SetBufferSize (7, 3); menu.OpenMenu (); Application.Refresh (); @@ -681,7 +681,7 @@ public void DrawFrame_With_Negative_Positions () "; pos = GraphViewTests.AssertDriverContentsWithFrameAre (expected, output); - Assert.Equal (new Rect (0, 1, 7, 3), pos); + Assert.Equal (new Rect (0, 0, 7, 3), pos); } [Fact, AutoInitShutdown] diff --git a/UnitTests/MessageBoxTests.cs b/UnitTests/MessageBoxTests.cs new file mode 100644 index 0000000000..8bbc9fcf49 --- /dev/null +++ b/UnitTests/MessageBoxTests.cs @@ -0,0 +1,158 @@ +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; +using System.Text; + +namespace Terminal.Gui.Views { + + public class MessageBoxTests { + readonly ITestOutputHelper output; + + public MessageBoxTests (ITestOutputHelper output) + { + this.output = output; + } + + [Fact, AutoInitShutdown] + public void MessageBox_With_Empty_Size_Without_Buttons () + { + var iterations = -1; + Application.Begin (Application.Top); + + Application.Iteration += () => { + iterations++; + + if (iterations == 0) { + MessageBox.Query ("Title", "Message"); + + Application.RequestStop (); + + } else if (iterations == 1) { + Application.Top.Redraw (Application.Top.Bounds); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌ Title ─────────────────────────────────────────┐ + │ Message │ + │ │ + │ │ + └────────────────────────────────────────────────┘ +", output); + + Application.RequestStop (); + } + }; + + Application.Run (); + } + + [Fact, AutoInitShutdown] + public void MessageBox_With_Empty_Size_With_Button () + { + var iterations = -1; + Application.Begin (Application.Top); + + Application.Iteration += () => { + iterations++; + + if (iterations == 0) { + StringBuilder aboutMessage = new StringBuilder (); + aboutMessage.AppendLine (@"A comprehensive sample library for"); + aboutMessage.AppendLine (@""); + aboutMessage.AppendLine (@" _______ _ _ _____ _ "); + aboutMessage.AppendLine (@" |__ __| (_) | | / ____| (_) "); + aboutMessage.AppendLine (@" | | ___ _ __ _ __ ___ _ _ __ __ _| || | __ _ _ _ "); + aboutMessage.AppendLine (@" | |/ _ \ '__| '_ ` _ \| | '_ \ / _` | || | |_ | | | | | "); + aboutMessage.AppendLine (@" | | __/ | | | | | | | | | | | (_| | || |__| | |_| | | "); + aboutMessage.AppendLine (@" |_|\___|_| |_| |_| |_|_|_| |_|\__,_|_(_)_____|\__,_|_| "); + aboutMessage.AppendLine (@""); + aboutMessage.AppendLine (@"https://github.com/gui-cs/Terminal.Gui"); + + MessageBox.Query ("About UI Catalog", aboutMessage.ToString (), "_Ok"); + + Application.RequestStop (); + } else if (iterations == 1) { + Application.Top.Redraw (Application.Top.Bounds); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌ About UI Catalog ──────────────────────────────────────────┐ + │ A comprehensive sample library for │ + │ │ + │ _______ _ _ _____ _ │ + │ |__ __| (_) | | / ____| (_) │ + │ | | ___ _ __ _ __ ___ _ _ __ __ _| || | __ _ _ _ │ + │ | |/ _ \ '__| '_ ` _ \| | '_ \ / _` | || | |_ | | | | | │ + │ | | __/ | | | | | | | | | | | (_| | || |__| | |_| | | │ + │ |_|\___|_| |_| |_| |_|_|_| |_|\__,_|_(_)_____|\__,_|_| │ + │ │ + │ https://github.com/gui-cs/Terminal.Gui │ + │ │ + │ [◦ Ok ◦] │ + └────────────────────────────────────────────────────────────┘ +", output); + + Application.RequestStop (); + } + }; + + Application.Run (); + } + + [Fact, AutoInitShutdown] + public void MessageBox_With_A_Lower_Fixed_Size () + { + var iterations = -1; + Application.Begin (Application.Top); + + Application.Iteration += () => { + iterations++; + + if (iterations == 0) { + MessageBox.Query (7, 5, "Title", "Message", "_Ok"); + + Application.RequestStop (); + } else if (iterations == 1) { + Application.Top.Redraw (Application.Top.Bounds); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌─────┐ + │Messa│ + │ ge │ + │ Ok ◦│ + └─────┘ +", output); + + Application.RequestStop (); + } + }; + + Application.Run (); + } + + [Fact, AutoInitShutdown] + public void MessageBox_With_A_Enough_Fixed_Size () + { + var iterations = -1; + Application.Begin (Application.Top); + + Application.Iteration += () => { + iterations++; + + if (iterations == 0) { + MessageBox.Query (11, 5, "Title", "Message", "_Ok"); + + Application.RequestStop (); + } else if (iterations == 1) { + Application.Top.Redraw (Application.Top.Bounds); + GraphViewTests.AssertDriverContentsWithFrameAre (@" + ┌ Title ──┐ + │ Message │ + │ │ + │[◦ Ok ◦] │ + └─────────┘ +", output); + + Application.RequestStop (); + } + }; + + Application.Run (); + } + } +} \ No newline at end of file diff --git a/UnitTests/ReflectionTools.cs b/UnitTests/ReflectionTools.cs new file mode 100644 index 0000000000..3f661bc5f2 --- /dev/null +++ b/UnitTests/ReflectionTools.cs @@ -0,0 +1,35 @@ +using System; +using System.Reflection; + +public static class ReflectionTools { + // If the class is non-static + public static Object InvokePrivate (Object objectUnderTest, string method, params object [] args) + { + Type t = objectUnderTest.GetType (); + return t.InvokeMember (method, + BindingFlags.InvokeMethod | + BindingFlags.NonPublic | + BindingFlags.Instance | + BindingFlags.Static, + null, + objectUnderTest, + args); + } + // if the class is static + public static Object InvokePrivate (Type typeOfObjectUnderTest, string method, params object [] args) + { + MemberInfo [] members = typeOfObjectUnderTest.GetMembers (BindingFlags.NonPublic | BindingFlags.Static); + foreach (var member in members) { + if (member.Name == method) { + return typeOfObjectUnderTest.InvokeMember (method, + BindingFlags.NonPublic | + BindingFlags.Static | + BindingFlags.InvokeMethod, + null, + typeOfObjectUnderTest, + args); + } + } + return null; + } +} diff --git a/UnitTests/TextFormatterTests.cs b/UnitTests/TextFormatterTests.cs index 02b07c0a5f..0199df733e 100644 --- a/UnitTests/TextFormatterTests.cs +++ b/UnitTests/TextFormatterTests.cs @@ -1093,11 +1093,11 @@ public void ClipAndJustify_Valid_Justified () text = "A sentence has words."; // should fit maxWidth = text.RuneCount + 1; - expectedClippedWidth = Math.Min (text.RuneCount, maxWidth); + expectedClippedWidth = Math.Max (text.RuneCount, maxWidth); justifiedText = TextFormatter.ClipAndJustify (text, maxWidth, align); - //Assert.Equal (expectedClippedWidth, justifiedText.RuneCount); + Assert.Equal (expectedClippedWidth, justifiedText.RuneCount); Assert.True (expectedClippedWidth <= maxWidth); - Assert.Equal (ustring.Make (text.ToRunes () [0..expectedClippedWidth]), justifiedText); + Assert.Throws (() => ustring.Make (text.ToRunes () [0..expectedClippedWidth])); // Should fit. maxWidth = text.RuneCount + 0; @@ -1205,7 +1205,6 @@ public void ClipAndJustify_Valid_Justified () Assert.Equal (ustring.Make (text.ToRunes () [0..expectedClippedWidth]), justifiedText); // see Justify_ tests below - } [Fact] @@ -1310,7 +1309,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "012++456+89"; forceToWidth = text.RuneCount + 1; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1322,7 +1321,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "012+++456++89"; forceToWidth = text.RuneCount + 3; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1334,7 +1333,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+++"); + justifiedText = "012++++456+++89"; forceToWidth = text.RuneCount + 5; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1352,7 +1351,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++++++++++++"); + justifiedText = "012+++++++++++++456++++++++++++89"; forceToWidth = text.RuneCount + 23; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1368,13 +1367,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "012++456+89+end"; forceToWidth = text.RuneCount + 1; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "012++456++89+end"; forceToWidth = text.RuneCount + 2; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1386,13 +1385,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "012+++456++89++end"; forceToWidth = text.RuneCount + 4; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "012+++456+++89++end"; forceToWidth = text.RuneCount + 5; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1404,13 +1403,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+++++++"); + justifiedText = "012++++++++456++++++++89+++++++end"; forceToWidth = text.RuneCount + 20; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++++++++"); + justifiedText = "012+++++++++456+++++++++89++++++++end"; forceToWidth = text.RuneCount + 23; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1427,7 +1426,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "пÑÐ++вÐ+Ñ"; forceToWidth = text.RuneCount + 1; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1439,7 +1438,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "пÑÐ+++вÐ++Ñ"; forceToWidth = text.RuneCount + 3; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1451,7 +1450,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+++"); + justifiedText = "пÑÐ++++вÐ+++Ñ"; forceToWidth = text.RuneCount + 5; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1469,7 +1468,7 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++++++++++++"); + justifiedText = "пÑÐ+++++++++++++вÐ++++++++++++Ñ"; forceToWidth = text.RuneCount + 23; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1486,13 +1485,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "Ð++ÑÐ+вÐ+Ñ"; forceToWidth = text.RuneCount + 1; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+"); + justifiedText = "Ð++ÑÐ++вÐ+Ñ"; forceToWidth = text.RuneCount + 2; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1504,13 +1503,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "Ð+++ÑÐ++вÐ++Ñ"; forceToWidth = text.RuneCount + 4; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++"); + justifiedText = "Ð+++ÑÐ+++вÐ++Ñ"; forceToWidth = text.RuneCount + 5; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -1522,13 +1521,13 @@ public void Justify_Sentence () Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "+++++++"); + justifiedText = "Ð++++++++ÑÐ++++++++вÐ+++++++Ñ"; forceToWidth = text.RuneCount + 20; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); Assert.True (Math.Abs (forceToWidth - justifiedText.ConsoleWidth) < text.Count (" ")); - justifiedText = text.Replace (" ", "++++++++"); + justifiedText = "Ð+++++++++ÑÐ+++++++++вÐ++++++++Ñ"; forceToWidth = text.RuneCount + 23; Assert.Equal (justifiedText.ToString (), TextFormatter.Justify (text, forceToWidth, fillChar).ToString ()); Assert.True (Math.Abs (forceToWidth - justifiedText.RuneCount) < text.Count (" ")); @@ -2934,6 +2933,38 @@ public void Format_Dont_Throw_ArgumentException_With_WordWrap_As_False_And_Keep_ Assert.Null (exception); } + + + [Fact, AutoInitShutdown] + public void Format_Justified_Always_Returns_Text_Width_Equal_To_Passed_Width_Horizontal () + { + ustring text = "Hello world, how are you today? Pretty neat!"; + + Assert.Equal (44, text.RuneCount); + + for (int i = 44; i < 80; i++) { + var fmtText = TextFormatter.Format (text, i, TextAlignment.Justified, false, true) [0]; + Assert.Equal (i, fmtText.RuneCount); + var c = (char)fmtText [^1]; + Assert.Equal ('!', c); + } + } + + [Fact, AutoInitShutdown] + public void Format_Justified_Always_Returns_Text_Width_Equal_To_Passed_Width_Vertical () + { + ustring text = "Hello world, how are you today? Pretty neat!"; + + Assert.Equal (44, text.RuneCount); + + for (int i = 44; i < 80; i++) { + var fmtText = TextFormatter.Format (text, i, TextAlignment.Justified, false, true, 0, TextDirection.TopBottom_LeftRight) [0]; + Assert.Equal (i, fmtText.RuneCount); + var c = (char)fmtText [^1]; + Assert.Equal ('!', c); + } + } + [Fact] public void Draw_Horizontal_Throws_IndexOutOfRangeException_With_Negative_Bounds () { @@ -3334,6 +3365,48 @@ public void Draw_Vertical_Wide_TextAlignments () Assert.Equal (new Rect (0, 0, 13, height + 2), pos); } + [Fact, AutoInitShutdown] + public void Draw_Fill_Remaining () + { + var view = new View ("This view needs to be cleared before rewritten."); + + var tf1 = new TextFormatter (); + tf1.Text = "This TextFormatter (tf1) without fill will not be cleared on rewritten."; + var tf1Size = tf1.Size; + + var tf2 = new TextFormatter (); + tf2.Text = "This TextFormatter (tf2) with fill will be cleared on rewritten."; + var tf2Size = tf2.Size; + + Application.Top.Add (view); + Application.Begin (Application.Top); + + tf1.Draw (new Rect (new Point (0, 1), tf1Size), view.GetNormalColor (), view.ColorScheme.HotNormal, default, false); + + tf2.Draw (new Rect (new Point (0, 2), tf2Size), view.GetNormalColor (), view.ColorScheme.HotNormal); + + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This view needs to be cleared before rewritten. +This TextFormatter (tf1) without fill will not be cleared on rewritten. +This TextFormatter (tf2) with fill will be cleared on rewritten. +", output); + + view.Text = "This view is rewritten."; + view.Redraw (view.Bounds); + + tf1.Text = "This TextFormatter (tf1) is rewritten."; + tf1.Draw (new Rect (new Point (0, 1), tf1Size), view.GetNormalColor (), view.ColorScheme.HotNormal, default, false); + + tf2.Text = "This TextFormatter (tf2) is rewritten."; + tf2.Draw (new Rect (new Point (0, 2), tf2Size), view.GetNormalColor (), view.ColorScheme.HotNormal); + + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This view is rewritten. +This TextFormatter (tf1) is rewritten.will not be cleared on rewritten. +This TextFormatter (tf2) is rewritten. +", output); + } + [Fact] public void GetTextWidth_Simple_And_Wide_Runes () { @@ -4012,5 +4085,57 @@ public void Format_With_PreserveTrailingSpaces_And_Without_PreserveTrailingSpace Assert.Equal ("Line2", formated [1]); Assert.Equal ("Line3", formated [^1]); } + + [Fact] + public void SplitNewLine_Ending_Without_NewLine_Probably_CRLF () + { + var text = $"First Line 界{Environment.NewLine}Second Line 界{Environment.NewLine}Third Line 界"; + var splited = TextFormatter.SplitNewLine (text); + Assert.Equal ("First Line 界", splited [0]); + Assert.Equal ("Second Line 界", splited [1]); + Assert.Equal ("Third Line 界", splited [^1]); + } + + [Fact] + public void SplitNewLine_Ending_With_NewLine_Probably_CRLF () + { + var text = $"First Line 界{Environment.NewLine}Second Line 界{Environment.NewLine}Third Line 界{Environment.NewLine}"; + var splited = TextFormatter.SplitNewLine (text); + Assert.Equal ("First Line 界", splited [0]); + Assert.Equal ("Second Line 界", splited [1]); + Assert.Equal ("Third Line 界", splited [2]); + Assert.Equal ("", splited [^1]); + } + + [Fact] + public void SplitNewLine_Ending_Without_NewLine_Only_LF () + { + var text = $"First Line 界\nSecond Line 界\nThird Line 界"; + var splited = TextFormatter.SplitNewLine (text); + Assert.Equal ("First Line 界", splited [0]); + Assert.Equal ("Second Line 界", splited [1]); + Assert.Equal ("Third Line 界", splited [^1]); + } + + [Fact] + public void SplitNewLine_Ending_With_NewLine_Only_LF () + { + var text = $"First Line 界\nSecond Line 界\nThird Line 界\n"; + var splited = TextFormatter.SplitNewLine (text); + Assert.Equal ("First Line 界", splited [0]); + Assert.Equal ("Second Line 界", splited [1]); + Assert.Equal ("Third Line 界", splited [2]); + Assert.Equal ("", splited [^1]); + } + + [Fact] + public void MaxWidthLine_With_And_Without_Newlines () + { + var text = "Single Line 界"; + Assert.Equal (14, TextFormatter.MaxWidthLine (text)); + + text = $"First Line 界\nSecond Line 界\nThird Line 界\n"; + Assert.Equal (14, TextFormatter.MaxWidthLine (text)); + } } } \ No newline at end of file diff --git a/UnitTests/TextViewTests.cs b/UnitTests/TextViewTests.cs index c618664834..0b32588d3f 100644 --- a/UnitTests/TextViewTests.cs +++ b/UnitTests/TextViewTests.cs @@ -1323,20 +1323,26 @@ public void Copy_Or_Cut_And_Paste_With_No_Selection () Assert.Equal ("TAB to jump between text fields.", _textView.Text); _textView.SelectionStartColumn = 0; _textView.SelectionStartRow = 0; + Assert.Equal (new Point (24, 0), _textView.CursorPosition); Assert.True (_textView.Selecting); _textView.Selecting = false; _textView.ProcessKey (new KeyEvent (Key.Y | Key.CtrlMask, new KeyModifiers ())); // Paste + Assert.Equal (new Point (28, 0), _textView.CursorPosition); + Assert.False (_textView.Selecting); Assert.Equal ("TAB to jump between texttext fields.", _textView.Text); _textView.SelectionStartColumn = 24; _textView.SelectionStartRow = 0; _textView.ProcessKey (new KeyEvent (Key.W | Key.CtrlMask, new KeyModifiers ())); // Cut + Assert.Equal (new Point (24, 0), _textView.CursorPosition); + Assert.False (_textView.Selecting); Assert.Equal ("", _textView.SelectedText); Assert.Equal ("TAB to jump between text fields.", _textView.Text); _textView.SelectionStartColumn = 0; _textView.SelectionStartRow = 0; - Assert.True (_textView.Selecting); _textView.Selecting = false; _textView.ProcessKey (new KeyEvent (Key.Y | Key.CtrlMask, new KeyModifiers ())); // Paste + Assert.Equal (new Point (28, 0), _textView.CursorPosition); + Assert.False (_textView.Selecting); Assert.Equal ("TAB to jump between texttext fields.", _textView.Text); } @@ -5873,5 +5879,535 @@ public void ScrollTo_CursorPosition () tv.CursorPosition = new Point (tv.LeftColumn, tv.TopRow); Assert.Equal (new Point (0, 50), tv.CursorPosition); } + + [Fact] + [InitShutdown] + public void Mouse_Button_Shift_Preserves_Selection () + { + Assert.Equal ("TAB to jump between text fields.", _textView.Text); + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 12, Y = 0, Flags = MouseFlags.Button1Pressed | MouseFlags.ButtonShift })); + Assert.Equal (0, _textView.SelectionStartColumn); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (12, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump ", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 12, Y = 0, Flags = MouseFlags.Button1Clicked })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (12, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump ", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 19, Y = 0, Flags = MouseFlags.Button1Pressed | MouseFlags.ButtonShift })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (19, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump between", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 19, Y = 0, Flags = MouseFlags.Button1Clicked })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (19, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump between", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 24, Y = 0, Flags = MouseFlags.Button1Pressed | MouseFlags.ButtonShift })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (24, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump between text", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 24, Y = 0, Flags = MouseFlags.Button1Clicked })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (24, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("TAB to jump between text", _textView.SelectedText); + + Assert.True (_textView.MouseEvent (new MouseEvent () { X = 24, Y = 0, Flags = MouseFlags.Button1Pressed })); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (0, _textView.SelectionStartRow); + Assert.Equal (new Point (24, 0), _textView.CursorPosition); + Assert.True (_textView.Selecting); + Assert.Equal ("", _textView.SelectedText); + } + + [Fact, AutoInitShutdown] + public void UnwrappedCursorPosition_Event () + { + var cp = Point.Empty; + var tv = new TextView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + Text = "This is the first line.\nThis is the second line.\n" + }; + tv.UnwrappedCursorPosition += (e) => { + cp = e; + }; + Application.Top.Add (tv); + Application.Begin (Application.Top); + + Assert.False (tv.WordWrap); + Assert.Equal (Point.Empty, tv.CursorPosition); + Assert.Equal (Point.Empty, cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + tv.WordWrap = true; + tv.CursorPosition = new Point (12, 0); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (12, 0), tv.CursorPosition); + Assert.Equal (new Point (12, 0), cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + ((FakeDriver)Application.Driver).SetBufferSize (6, 25); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (4, 2), tv.CursorPosition); + Assert.Equal (new Point (12, 0), cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This +is +the +first + +line. +This +is +the +secon +d +line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.CursorRight, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 3), tv.CursorPosition); + Assert.Equal (new Point (12, 0), cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This +is +the +first + +line. +This +is +the +secon +d +line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.CursorRight, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (1, 3), tv.CursorPosition); + Assert.Equal (new Point (13, 0), cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This +is +the +first + +line. +This +is +the +secon +d +line. +", output); + + Assert.True (tv.MouseEvent (new MouseEvent () { X = 0, Y = 3, Flags = MouseFlags.Button1Pressed })); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 3), tv.CursorPosition); + Assert.Equal (new Point (12, 0), cp); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This +is +the +first + +line. +This +is +the +secon +d +line. +", output); + } + + [Fact] + [AutoInitShutdown] + public void DeleteTextBackwards_WordWrap_False_Return_Undo () + { + const string text = "This is the first line.\nThis is the second line.\n"; + var tv = new TextView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + Text = text + }; + var envText = tv.Text; + Application.Top.Add (tv); + Application.Begin (Application.Top); + + Assert.False (tv.WordWrap); + Assert.Equal (Point.Empty, tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (3, 0); + Assert.Equal (new Point (3, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.Backspace, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (0, 1); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.Backspace, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line.This is the second line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + while (tv.Text != envText) { + Assert.True (tv.ProcessKey (new KeyEvent (Key.Z | Key.CtrlMask, new KeyModifiers ()))); + } + Assert.Equal (envText, tv.Text); + Assert.Equal (new Point (3, 0), tv.CursorPosition); + Assert.False (tv.IsDirty); + } + + [Fact] + [AutoInitShutdown] + public void DeleteTextBackwards_WordWrap_True_Return_Undo () + { + const string text = "This is the first line.\nThis is the second line.\n"; + var tv = new TextView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + Text = text, + WordWrap = true + }; + var envText = tv.Text; + Application.Top.Add (tv); + Application.Begin (Application.Top); + + Assert.True (tv.WordWrap); + Assert.Equal (Point.Empty, tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (3, 0); + Assert.Equal (new Point (3, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.Backspace, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (0, 1); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.Backspace, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line.This is the second line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + while (tv.Text != envText) { + Assert.True (tv.ProcessKey (new KeyEvent (Key.Z | Key.CtrlMask, new KeyModifiers ()))); + } + Assert.Equal (envText, tv.Text); + Assert.Equal (new Point (3, 0), tv.CursorPosition); + Assert.False (tv.IsDirty); + } + + [Fact] + [AutoInitShutdown] + public void DeleteTextForwards_WordWrap_False_Return_Undo () + { + const string text = "This is the first line.\nThis is the second line.\n"; + var tv = new TextView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + Text = text + }; + var envText = tv.Text; + Application.Top.Add (tv); + Application.Begin (Application.Top); + + Assert.False (tv.WordWrap); + Assert.Equal (Point.Empty, tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (2, 0); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.DeleteChar, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (22, 0); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.DeleteChar, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line.This is the second line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + while (tv.Text != envText) { + Assert.True (tv.ProcessKey (new KeyEvent (Key.Z | Key.CtrlMask, new KeyModifiers ()))); + } + Assert.Equal (envText, tv.Text); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + Assert.False (tv.IsDirty); + } + + [Fact] + [AutoInitShutdown] + public void DeleteTextForwards_WordWrap_True_Return_Undo () + { + const string text = "This is the first line.\nThis is the second line.\n"; + var tv = new TextView () { + Width = Dim.Fill (), + Height = Dim.Fill (), + Text = text, + WordWrap = true + }; + var envText = tv.Text; + Application.Top.Add (tv); + Application.Begin (Application.Top); + + Assert.True (tv.WordWrap); + Assert.Equal (Point.Empty, tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +This is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (2, 0); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.DeleteChar, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + tv.CursorPosition = new Point (22, 0); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + Assert.True (tv.ProcessKey (new KeyEvent (Key.DeleteChar, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (22, 0), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line.This is the second line. +", output); + + Assert.True (tv.ProcessKey (new KeyEvent (Key.Enter, new KeyModifiers ()))); + tv.Redraw (tv.Bounds); + Assert.Equal (new Point (0, 1), tv.CursorPosition); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +Ths is the first line. +This is the second line. +", output); + + while (tv.Text != envText) { + Assert.True (tv.ProcessKey (new KeyEvent (Key.Z | Key.CtrlMask, new KeyModifiers ()))); + } + Assert.Equal (envText, tv.Text); + Assert.Equal (new Point (2, 0), tv.CursorPosition); + Assert.False (tv.IsDirty); + } + + [Fact] + [InitShutdown] + public void TextView_InsertText_Newline_LF () + { + var tv = new TextView { + Width = 10, + Height = 10, + }; + tv.InsertText ("\naaa\nbbb"); + var p = Environment.OSVersion.Platform; + if (p == PlatformID.Win32NT || p == PlatformID.Win32S || p == PlatformID.Win32Windows) { + Assert.Equal ("\r\naaa\r\nbbb", tv.Text); + } else { + Assert.Equal ("\naaa\nbbb", tv.Text); + } + Assert.Equal ($"{Environment.NewLine}aaa{Environment.NewLine}bbb", tv.Text); + + var win = new Window (); + win.Add (tv); + Application.Top.Add (win); + Application.Begin (Application.Top); + ((FakeDriver)Application.Driver).SetBufferSize (15, 15); + Application.Refresh (); + //this passes + var pos = GraphViewTests.AssertDriverContentsWithFrameAre ( + @" +┌─────────────┐ +│ │ +│aaa │ +│bbb │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└─────────────┘", output); + + Assert.Equal (new Rect (0, 0, 15, 15), pos); + + Assert.True (tv.Used); + tv.Used = false; + tv.CursorPosition = new Point (0, 0); + tv.InsertText ("\naaa\nbbb"); + Application.Refresh (); + + GraphViewTests.AssertDriverContentsWithFrameAre ( + @" +┌─────────────┐ +│ │ +│aaa │ +│bbb │ +│aaa │ +│bbb │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└─────────────┘", output); + } + + [Fact] + [InitShutdown] + public void TextView_InsertText_Newline_CRLF () + { + var tv = new TextView { + Width = 10, + Height = 10, + }; + tv.InsertText ("\r\naaa\r\nbbb"); + var p = Environment.OSVersion.Platform; + if (p == PlatformID.Win32NT || p == PlatformID.Win32S || p == PlatformID.Win32Windows) { + Assert.Equal ("\r\naaa\r\nbbb", tv.Text); + } else { + Assert.Equal ("\naaa\nbbb", tv.Text); + } + Assert.Equal ($"{Environment.NewLine}aaa{Environment.NewLine}bbb", tv.Text); + + var win = new Window (); + win.Add (tv); + Application.Top.Add (win); + Application.Begin (Application.Top); + ((FakeDriver)Application.Driver).SetBufferSize (15, 15); + Application.Refresh (); + + //this passes + var pos = GraphViewTests.AssertDriverContentsWithFrameAre ( + @" +┌─────────────┐ +│ │ +│aaa │ +│bbb │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└─────────────┘", output); + + Assert.Equal (new Rect (0, 0, 15, 15), pos); + + Assert.True (tv.Used); + tv.Used = false; + tv.CursorPosition = new Point (0, 0); + tv.InsertText ("\r\naaa\r\nbbb"); + Application.Refresh (); + + GraphViewTests.AssertDriverContentsWithFrameAre ( + @" +┌─────────────┐ +│ │ +│aaa │ +│bbb │ +│aaa │ +│bbb │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└─────────────┘", output); + } } } \ No newline at end of file diff --git a/UnitTests/TreeViewTests.cs b/UnitTests/TreeViewTests.cs index c14cebd51a..1cdc3ed547 100644 --- a/UnitTests/TreeViewTests.cs +++ b/UnitTests/TreeViewTests.cs @@ -543,6 +543,15 @@ public void GoTo_OnlyAppliesToExposedObjects () Assert.Equal (1, tree.ScrollOffsetVertical); } + [Fact] + public void GoToEnd_ShouldNotFailOnEmptyTreeView () + { + var tree = new TreeView (); + + var exception = Record.Exception (() => tree.GoToEnd ()); + + Assert.Null (exception); + } [Fact] public void ObjectActivated_CustomKey () diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index f3bdb15066..1035b581b7 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -18,8 +18,8 @@ TRACE;DEBUG_IDISPOSABLE - - + + diff --git a/UnitTests/ViewTests.cs b/UnitTests/ViewTests.cs index 8b0c4ee113..e0cfecce45 100644 --- a/UnitTests/ViewTests.cs +++ b/UnitTests/ViewTests.cs @@ -3803,5 +3803,34 @@ e n ", output); } + [Fact, AutoInitShutdown] + public void Visible_Clear_The_View_Output () + { + var label = new Label ("Testing visibility."); + var win = new Window (); + win.Add (label); + var top = Application.Top; + top.Add (win); + Application.Begin (top); + + Assert.True (label.Visible); + ((FakeDriver)Application.Driver).SetBufferSize (30, 5); + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌────────────────────────────┐ +│Testing visibility. │ +│ │ +│ │ +└────────────────────────────┘ +", output); + + label.Visible = false; + GraphViewTests.AssertDriverContentsWithFrameAre (@" +┌────────────────────────────┐ +│ │ +│ │ +│ │ +└────────────────────────────┘ +", output); + } } } diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html index 8aceeb5b49..109f26505f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html @@ -134,7 +134,7 @@

Properties Improve this Doc - View Source + View Source

Cols

@@ -166,7 +166,7 @@
Property Value
Improve this Doc - View Source + View Source

Rows

@@ -204,7 +204,7 @@
Property Value
Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html index f9e4cfa937..7e91a049f3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.RunState.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    RunState(Toplevel)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Toplevel

    @@ -204,7 +204,7 @@

    Methods Improve this Doc - View Source + View Source

    Dispose()

    @@ -221,7 +221,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -265,7 +265,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.html index 3251c2c92a..0a132fcaca 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.html @@ -159,7 +159,7 @@

    Fields Improve this Doc - View Source + View Source

    Driver

    @@ -190,7 +190,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Iteration

    @@ -221,7 +221,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Resized

    @@ -252,7 +252,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RootKeyEvent

    @@ -287,7 +287,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RootMouseEvent

    @@ -318,7 +318,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    UseSystemConsole

    @@ -351,7 +351,7 @@

    Properties Improve this Doc - View Source + View Source

    AlternateBackwardKey

    @@ -383,7 +383,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AlternateForwardKey

    @@ -415,7 +415,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Current

    @@ -447,7 +447,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ExitRunLoopAfterFirstIteration

    @@ -480,7 +480,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HeightAsBuffer

    @@ -512,7 +512,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsMouseDisabled

    @@ -544,7 +544,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MainLoop

    @@ -576,7 +576,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MdiChildes

    @@ -608,7 +608,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MdiTop

    @@ -640,7 +640,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    QuitKey

    @@ -672,7 +672,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SupportedCultures

    @@ -704,7 +704,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Top

    @@ -736,7 +736,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WantContinuousButtonPressedView

    @@ -770,7 +770,7 @@

    Methods Improve this Doc - View Source + View Source

    Begin(Toplevel)

    @@ -819,7 +819,7 @@
    Returns
    Improve this Doc - View Source + View Source

    DoEvents()

    @@ -836,7 +836,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    End(Application.RunState)

    @@ -870,7 +870,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EnsuresTopOnFront()

    @@ -887,7 +887,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GrabMouse(View)

    @@ -921,7 +921,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Init(ConsoleDriver, IMainLoopDriver)

    @@ -960,7 +960,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MakeCenteredRect(Size)

    @@ -1009,7 +1009,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveNext()

    @@ -1026,7 +1026,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MovePrevious()

    @@ -1043,7 +1043,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Refresh()

    @@ -1060,7 +1060,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    RequestStop(Toplevel)

    @@ -1094,7 +1094,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Run(Func<Exception, Boolean>)

    @@ -1128,7 +1128,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Run(Toplevel, Func<Exception, Boolean>)

    @@ -1167,7 +1167,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Run<T>(Func<Exception, Boolean>)

    @@ -1218,7 +1218,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    RunLoop(Application.RunState, Boolean)

    @@ -1257,7 +1257,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RunMainLoopIteration(ref Application.RunState, Boolean, ref Boolean)

    @@ -1301,7 +1301,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Shutdown()

    @@ -1318,7 +1318,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    UngrabMouse()

    @@ -1337,7 +1337,7 @@

    Events Improve this Doc - View Source + View Source

    NotifyNewRunState

    @@ -1369,7 +1369,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    NotifyStopRunState

    @@ -1407,7 +1407,7 @@
    Event Type
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html b/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html index 3896ca59f4..df5de2d84f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Attribute.html @@ -128,7 +128,7 @@

    Constructors Improve this Doc - View Source + View Source

    Attribute(Int32)

    @@ -163,7 +163,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Attribute(Int32, Color, Color)

    @@ -207,7 +207,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Attribute(Color)

    @@ -242,7 +242,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Attribute(Color, Color)

    @@ -283,7 +283,7 @@

    Properties Improve this Doc - View Source + View Source

    Background

    @@ -315,7 +315,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Foreground

    @@ -347,7 +347,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Value

    @@ -381,7 +381,7 @@

    Methods Improve this Doc - View Source + View Source

    Get()

    @@ -413,7 +413,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Make(Color, Color)

    @@ -469,7 +469,7 @@

    Operators Improve this Doc - View Source + View Source

    Implicit(Int32 to Attribute)

    @@ -518,7 +518,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Implicit(Attribute to Int32)

    @@ -573,7 +573,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html index f3e19b747f..0576d3c18e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Autocomplete.html @@ -137,7 +137,7 @@

    Properties Improve this Doc - View Source + View Source

    AllSuggestions

    @@ -169,7 +169,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CloseKey

    @@ -201,7 +201,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColorScheme

    @@ -234,7 +234,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HostControl

    @@ -266,7 +266,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxHeight

    @@ -298,7 +298,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxWidth

    @@ -330,7 +330,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    PopupInsideContainer

    @@ -362,7 +362,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Reopen

    @@ -394,7 +394,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScrollOffset

    @@ -428,7 +428,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedIdx

    @@ -460,7 +460,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectionKey

    @@ -492,7 +492,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Suggestions

    @@ -525,7 +525,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Visible

    @@ -559,7 +559,7 @@

    Methods Improve this Doc - View Source + View Source

    ClearSuggestions()

    @@ -576,7 +576,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Close()

    @@ -593,7 +593,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteTextBackwards()

    @@ -610,7 +610,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureSelectedIdxIsValid()

    @@ -627,7 +627,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GenerateSuggestions()

    @@ -645,7 +645,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GetCurrentWord()

    @@ -680,7 +680,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IdxToWord(List<Rune>, Int32)

    @@ -740,7 +740,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InsertSelection(String)

    @@ -793,7 +793,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InsertText(String)

    @@ -827,7 +827,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    IsWordChar(Rune)

    @@ -877,7 +877,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent, Boolean)

    @@ -933,7 +933,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveDown()

    @@ -950,7 +950,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MoveUp()

    @@ -967,7 +967,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1018,7 +1018,7 @@
    Returns
    Improve this Doc - View Source + View Source

    RenderOverlay(Point)

    @@ -1053,7 +1053,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RenderSelectedIdxByMouse(MouseEvent)

    @@ -1087,7 +1087,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ReopenSuggestions()

    @@ -1119,7 +1119,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Select()

    @@ -1161,7 +1161,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html b/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html index 8f0bfe595f..0fa476f997 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html @@ -456,7 +456,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -471,7 +471,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -643,7 +643,7 @@

    Constructors Improve this Doc - View Source + View Source

    ToplevelContainer()

    @@ -660,7 +660,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ToplevelContainer(Border, String)

    @@ -699,7 +699,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ToplevelContainer(Rect, Border, String)

    @@ -745,7 +745,7 @@

    Properties Improve this Doc - View Source + View Source

    Border

    @@ -779,7 +779,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -813,7 +813,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnCanFocusChanged()

    @@ -830,7 +830,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -864,7 +864,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -898,7 +898,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -931,7 +931,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Border.html b/docs/api/Terminal.Gui/Terminal.Gui.Border.html index a93e60a8fa..521ec6b623 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Border.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Border.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    ActualHeight

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ActualWidth

    @@ -194,7 +194,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Background

    @@ -226,7 +226,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BorderBrush

    @@ -258,7 +258,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BorderStyle

    @@ -290,7 +290,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BorderThickness

    @@ -322,7 +322,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Child

    @@ -354,7 +354,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ChildContainer

    @@ -386,7 +386,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DrawMarginFrame

    @@ -418,7 +418,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Effect3D

    @@ -450,7 +450,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Effect3DBrush

    @@ -482,7 +482,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Effect3DOffset

    @@ -514,7 +514,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Padding

    @@ -547,7 +547,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Parent

    @@ -579,7 +579,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -613,7 +613,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawContent(View, Boolean)

    @@ -653,7 +653,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawFullContent()

    @@ -670,7 +670,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DrawTitle(View)

    @@ -704,7 +704,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawTitle(View, Rect)

    @@ -743,7 +743,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GetSumThickness()

    @@ -775,7 +775,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnBorderChanged()

    @@ -794,7 +794,7 @@

    Events Improve this Doc - View Source + View Source

    BorderChanged

    @@ -831,7 +831,7 @@
    Event Type
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html index 307ccfec65..2061302ee0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.BorderStyle.html @@ -141,7 +141,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Button.html b/docs/api/Terminal.Gui/Terminal.Gui.Button.html index 50186884ac..108c086225 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Button.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Button.html @@ -354,7 +354,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -369,7 +369,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.KeyDown @@ -550,7 +550,7 @@

    Constructors Improve this Doc - View Source + View Source

    Button()

    @@ -567,7 +567,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Button(ustring, Boolean)

    @@ -609,7 +609,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Button(Int32, Int32, ustring)

    @@ -653,7 +653,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Button(Int32, Int32, ustring, Boolean)

    @@ -707,7 +707,7 @@

    Properties Improve this Doc - View Source + View Source

    HotKey

    @@ -739,7 +739,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    IsDefault

    @@ -773,7 +773,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -822,7 +822,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnClicked()

    @@ -839,7 +839,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -888,7 +888,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -905,7 +905,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -954,7 +954,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -1003,7 +1003,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1052,7 +1052,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateTextFormatterText()

    @@ -1071,7 +1071,7 @@

    Events Improve this Doc - View Source + View Source

    Clicked

    @@ -1119,7 +1119,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html index 81ac5f1c9c..3773719a7a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html @@ -338,7 +338,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -353,7 +353,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessColdKey(KeyEvent) @@ -537,7 +537,7 @@

    Constructors Improve this Doc - View Source + View Source

    CheckBox()

    @@ -554,7 +554,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    CheckBox(ustring, Boolean)

    @@ -593,7 +593,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CheckBox(Int32, Int32, ustring)

    @@ -637,7 +637,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CheckBox(Int32, Int32, ustring, Boolean)

    @@ -688,7 +688,7 @@

    Properties Improve this Doc - View Source + View Source

    Checked

    @@ -722,7 +722,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -771,7 +771,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -820,7 +820,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnToggled(Boolean)

    @@ -854,7 +854,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -871,7 +871,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -920,7 +920,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -969,7 +969,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateTextFormatterText()

    @@ -988,7 +988,7 @@

    Events Improve this Doc - View Source + View Source

    Toggled

    @@ -1035,7 +1035,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html b/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html index 19e828cfee..a80594ce78 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Clipboard.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    Contents

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsSupported

    @@ -196,7 +196,7 @@

    Methods Improve this Doc - View Source + View Source

    TryGetClipboardData(out String)

    @@ -245,7 +245,7 @@
    Returns
    Improve this Doc - View Source + View Source

    TrySetClipboardData(String)

    @@ -300,7 +300,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html b/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html index 79c9fbe98d..6f058d2d31 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ClipboardBase.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    IsSupported

    @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    GetClipboardData()

    @@ -215,7 +215,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    GetClipboardDataImpl()

    @@ -247,7 +247,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetClipboardData(String)

    @@ -296,7 +296,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    SetClipboardDataImpl(String)

    @@ -330,7 +330,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    TryGetClipboardData(out String)

    @@ -379,7 +379,7 @@
    Returns
    Improve this Doc - View Source + View Source

    TrySetClipboardData(String)

    @@ -438,7 +438,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Color.html b/docs/api/Terminal.Gui/Terminal.Gui.Color.html index e86a4c5a01..76b86b35be 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Color.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Color.html @@ -213,7 +213,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html b/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html index bb7395ba12..10a7c95b1f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ColorPicker.html @@ -344,7 +344,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -359,7 +359,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -546,7 +546,7 @@

    Constructors Improve this Doc - View Source + View Source

    ColorPicker()

    @@ -563,7 +563,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ColorPicker(ustring)

    @@ -597,7 +597,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ColorPicker(Int32, Int32, ustring)

    @@ -641,7 +641,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ColorPicker(Point, ustring)

    @@ -682,7 +682,7 @@

    Properties Improve this Doc - View Source + View Source

    Cursor

    @@ -714,7 +714,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedColor

    @@ -748,7 +748,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -797,7 +797,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MoveDown()

    @@ -829,7 +829,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveLeft()

    @@ -861,7 +861,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveRight()

    @@ -893,7 +893,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveUp()

    @@ -925,7 +925,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -974,7 +974,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1010,7 +1010,7 @@

    Events Improve this Doc - View Source + View Source

    ColorChanged

    @@ -1057,7 +1057,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html b/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html index 25af91ee3a..b3565d2c01 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ColorScheme.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    Disabled

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Focus

    @@ -194,7 +194,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotFocus

    @@ -226,7 +226,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotNormal

    @@ -258,7 +258,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Normal

    @@ -292,7 +292,7 @@

    Methods Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -343,7 +343,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Equals(ColorScheme)

    @@ -392,7 +392,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -428,7 +428,7 @@

    Operators Improve this Doc - View Source + View Source

    Equality(ColorScheme, ColorScheme)

    @@ -482,7 +482,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(ColorScheme, ColorScheme)

    @@ -546,7 +546,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Colors.html b/docs/api/Terminal.Gui/Terminal.Gui.Colors.html index d90a4236b1..7db0f7a731 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Colors.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Colors.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    Base

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColorSchemes

    @@ -194,7 +194,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Dialog

    @@ -226,7 +226,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Error

    @@ -258,7 +258,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Menu

    @@ -290,7 +290,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TopLevel

    @@ -328,7 +328,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html index 728190a217..f944e6b53c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html @@ -335,7 +335,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -350,7 +350,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -534,7 +534,7 @@

    Constructors Improve this Doc - View Source + View Source

    ComboBox()

    @@ -551,7 +551,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ComboBox(ustring)

    @@ -580,12 +580,46 @@
    Parameters
    + + | + Improve this Doc + + + View Source + + +

    ComboBox(IList)

    +
    +Initialize with the source. +
    +
    +
    Declaration
    +
    +
    public ComboBox(IList source)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.IListsourceThe source.
    | Improve this Doc - View Source + View Source

    ComboBox(Rect, IList)

    @@ -626,7 +660,7 @@

    Properties Improve this Doc - View Source + View Source

    ColorScheme

    @@ -651,12 +685,44 @@
    Property Value
    + + | + Improve this Doc + + + View Source + + +

    HideDropdownListOnClick

    +
    +Gets or sets if the drop-down list can be hide with a button click event. +
    +
    +
    Declaration
    +
    +
    public bool HideDropdownListOnClick { get; set; }
    +
    +
    Property Value
    + + + + + + + + + + + + + +
    TypeDescription
    System.Boolean
    | Improve this Doc - View Source + View Source

    IsShow

    @@ -688,7 +754,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ReadOnly

    @@ -720,7 +786,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedItem

    @@ -752,7 +818,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Source

    @@ -784,7 +850,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -818,7 +884,7 @@

    Methods Improve this Doc - View Source + View Source

    Collapse()

    @@ -851,7 +917,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Expand()

    @@ -884,7 +950,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -928,12 +994,29 @@
    Returns
    Overrides
    + + | + Improve this Doc + + + View Source + + +

    OnCollapsed()

    +
    +Virtual method which invokes the Collapsed event. +
    +
    +
    Declaration
    +
    +
    public virtual void OnCollapsed()
    +
    | Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -977,12 +1060,29 @@
    Returns
    Overrides
    + + | + Improve this Doc + + + View Source + + +

    OnExpanded()

    +
    +Virtual method which invokes the Expanded event. +
    +
    +
    Declaration
    +
    +
    public virtual void OnExpanded()
    +
    | Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -1031,7 +1131,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnOpenSelectedItem()

    @@ -1063,7 +1163,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnSelectedChanged()

    @@ -1095,7 +1195,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1144,7 +1244,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1178,7 +1278,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetSource(IList)

    @@ -1209,12 +1309,74 @@
    Parameters

    Events

    + + | + Improve this Doc + + + View Source + +

    Collapsed

    +
    +This event is raised when the drop-down list is collapsed. +
    +
    +
    Declaration
    +
    +
    public event Action Collapsed
    +
    +
    Event Type
    + + + + + + + + + + + + + +
    TypeDescription
    System.Action
    + + | + Improve this Doc + + + View Source + +

    Expanded

    +
    +This event is raised when the drop-down list is expanded. +
    +
    +
    Declaration
    +
    +
    public event Action Expanded
    +
    +
    Event Type
    + + + + + + + + + + + + + +
    TypeDescription
    System.Action
    | Improve this Doc - View Source + View Source

    OpenSelectedItem

    @@ -1245,7 +1407,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    SelectedItemChanged

    @@ -1292,7 +1454,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Command.html b/docs/api/Terminal.Gui/Terminal.Gui.Command.html index cd1aee5a24..c0f5d6cd1a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Command.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Command.html @@ -570,7 +570,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html index 79ffad38a0..44b0634bbf 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html @@ -138,7 +138,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html index 4a691610fe..9b1c4292c9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html @@ -132,7 +132,7 @@

    Fields Improve this Doc - View Source + View Source

    BlocksMeterSegment

    @@ -163,7 +163,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    BottomTee

    @@ -194,7 +194,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Checked

    @@ -225,7 +225,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ContinuousMeterSegment

    @@ -256,7 +256,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Diamond

    @@ -287,7 +287,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    DownArrow

    @@ -318,7 +318,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    HDLine

    @@ -349,7 +349,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    HLine

    @@ -380,7 +380,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    HRLine

    @@ -411,7 +411,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LeftArrow

    @@ -442,7 +442,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LeftBracket

    @@ -473,7 +473,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LeftDefaultIndicator

    @@ -504,7 +504,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LeftTee

    @@ -535,7 +535,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LLCorner

    @@ -566,7 +566,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LLDCorner

    @@ -597,7 +597,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LLRCorner

    @@ -628,7 +628,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LRCorner

    @@ -659,7 +659,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LRDCorner

    @@ -690,7 +690,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LRRCorner

    @@ -721,7 +721,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RightArrow

    @@ -752,7 +752,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RightBracket

    @@ -783,7 +783,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RightDefaultIndicator

    @@ -814,7 +814,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RightTee

    @@ -845,7 +845,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Selected

    @@ -876,7 +876,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Stipple

    @@ -907,7 +907,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    TerminalResized

    @@ -938,7 +938,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    TopTee

    @@ -969,7 +969,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ULCorner

    @@ -1000,7 +1000,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ULDCorner

    @@ -1031,7 +1031,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ULRCorner

    @@ -1062,7 +1062,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    UnChecked

    @@ -1093,7 +1093,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    UnSelected

    @@ -1124,7 +1124,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    UpArrow

    @@ -1155,7 +1155,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    URCorner

    @@ -1186,7 +1186,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    URDCorner

    @@ -1217,7 +1217,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    URRCorner

    @@ -1248,7 +1248,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    VDLine

    @@ -1279,7 +1279,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    VLine

    @@ -1310,7 +1310,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    VRLine

    @@ -1343,7 +1343,7 @@

    Properties Improve this Doc - View Source + View Source

    Clip

    @@ -1375,7 +1375,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Clipboard

    @@ -1407,7 +1407,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Cols

    @@ -1439,7 +1439,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Contents

    @@ -1471,7 +1471,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Diagnostics

    @@ -1503,7 +1503,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HeightAsBuffer

    @@ -1536,7 +1536,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Left

    @@ -1568,7 +1568,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Rows

    @@ -1600,7 +1600,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Top

    @@ -1634,7 +1634,7 @@

    Methods Improve this Doc - View Source + View Source

    AddRune(Rune)

    @@ -1668,7 +1668,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AddStr(ustring)

    @@ -1702,7 +1702,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CookMouse()

    @@ -1714,12 +1714,46 @@
    Declaration
    public abstract void CookMouse()
    + + | + Improve this Doc + + + View Source + + +

    CreateColors(Boolean)

    +
    +Create all Colors with the ColorScheme for the console driver. +
    +
    +
    Declaration
    +
    +
    public void CreateColors(bool hasColors = true)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.BooleanhasColorsFlag indicating if colors are supported.
    | Improve this Doc - View Source + View Source

    DrawFrame(Rect, Int32, Boolean)

    @@ -1763,7 +1797,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean, Border)

    @@ -1832,7 +1866,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment)

    @@ -1896,7 +1930,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    End()

    @@ -1913,7 +1947,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureCursorVisibility()

    @@ -1945,7 +1979,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetAttribute()

    @@ -1977,7 +2011,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetColors(Int32, out Color, out Color)

    @@ -2036,7 +2070,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetCursorVisibility(out CursorVisibility)

    @@ -2085,7 +2119,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Init(Action)

    @@ -2119,7 +2153,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    IsValidContent(Int32, Int32, Rect)

    @@ -2178,7 +2212,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MakeAttribute(Color, Color)

    @@ -2227,12 +2261,66 @@
    Returns
    + + | + Improve this Doc + + + View Source + + +

    MakeColor(Color, Color)

    +
    +Make the Colors for the ColorScheme. +
    +
    +
    Declaration
    +
    +
    public abstract Attribute MakeColor(Color foreground, Color background)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    ColorforegroundThe foreground color.
    ColorbackgroundThe background color.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    AttributeThe attribute for the foreground and background colors.
    | Improve this Doc - View Source + View Source

    MakePrintable(Rune)

    @@ -2282,7 +2370,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Move(Int32, Int32)

    @@ -2321,7 +2409,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PrepareToRun(MainLoop, Action<KeyEvent>, Action<KeyEvent>, Action<KeyEvent>, Action<MouseEvent>)

    @@ -2375,7 +2463,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Refresh()

    @@ -2392,7 +2480,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ResizeScreen()

    @@ -2409,7 +2497,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean)

    @@ -2463,7 +2551,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetAttribute(Attribute)

    @@ -2497,7 +2585,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetColors(ConsoleColor, ConsoleColor)

    @@ -2536,7 +2624,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetColors(Int16, Int16)

    @@ -2576,7 +2664,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetCursorVisibility(CursorVisibility)

    @@ -2625,7 +2713,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetTerminalResized(Action)

    @@ -2659,7 +2747,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    StartReportingMouseMoves()

    @@ -2676,7 +2764,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    StopReportingMouseMoves()

    @@ -2693,7 +2781,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Suspend()

    @@ -2710,7 +2798,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    UncookMouse()

    @@ -2727,7 +2815,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    UpdateCursor()

    @@ -2744,7 +2832,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    UpdateOffScreen()

    @@ -2761,7 +2849,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    UpdateScreen()

    @@ -2784,7 +2872,7 @@
    Declaration
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html b/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html index 5c2891ec6a..d61942bb61 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ContextMenu.html @@ -135,7 +135,7 @@

    Constructors Improve this Doc - View Source + View Source

    ContextMenu()

    @@ -152,7 +152,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ContextMenu(Int32, Int32, MenuBarItem)

    @@ -196,7 +196,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ContextMenu(View, MenuBarItem)

    @@ -237,7 +237,7 @@

    Properties Improve this Doc - View Source + View Source

    ForceMinimumPosToZero

    @@ -270,7 +270,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Host

    @@ -303,7 +303,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsShow

    @@ -335,7 +335,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Key

    @@ -367,7 +367,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MenuBar

    @@ -399,7 +399,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MenuItems

    @@ -431,7 +431,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MouseFlags

    @@ -463,7 +463,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Position

    @@ -495,7 +495,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    UseSubMenusSingleFrame

    @@ -529,7 +529,7 @@

    Methods Improve this Doc - View Source + View Source

    Dispose()

    @@ -546,7 +546,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Hide()

    @@ -563,7 +563,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Show()

    @@ -582,7 +582,7 @@

    Events Improve this Doc - View Source + View Source

    KeyChanged

    @@ -613,7 +613,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MouseFlagsChanged

    @@ -654,7 +654,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html b/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html index 19c96fdf5f..f93a29d454 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.CursorVisibility.html @@ -165,7 +165,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html index 836617ed9d..4f95fcc1da 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html @@ -153,6 +153,9 @@
    Inherited Members
    + @@ -430,7 +433,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -445,7 +448,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -588,9 +591,6 @@
    Inherited Members
    - @@ -629,7 +629,7 @@

    Constructors Improve this Doc - View Source + View Source

    DateField()

    @@ -646,7 +646,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DateField(DateTime)

    @@ -680,7 +680,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DateField(Int32, Int32, DateTime, Boolean)

    @@ -731,7 +731,7 @@

    Properties Improve this Doc - View Source + View Source

    CursorPosition

    @@ -763,7 +763,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Date

    @@ -795,7 +795,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsShortFormat

    @@ -829,7 +829,7 @@

    Methods Improve this Doc - View Source + View Source

    DeleteCharLeft(Boolean)

    @@ -863,7 +863,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DeleteCharRight()

    @@ -880,7 +880,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -929,7 +929,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnDateChanged(DateTimeEventArgs<DateTime>)

    @@ -963,7 +963,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1014,7 +1014,7 @@

    Events Improve this Doc - View Source + View Source

    DateChanged

    @@ -1061,7 +1061,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html b/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html index b4f38012a0..21bbaf1747 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html @@ -149,7 +149,7 @@

    Constructors Improve this Doc - View Source + View Source

    DateTimeEventArgs(T, T, String)

    @@ -195,7 +195,7 @@

    Properties Improve this Doc - View Source + View Source

    Format

    @@ -227,7 +227,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewValue

    @@ -259,7 +259,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldValue

    @@ -297,7 +297,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.ButtonAlignments.html b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.ButtonAlignments.html index bbea742e9a..940bdda9d6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.ButtonAlignments.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.ButtonAlignments.html @@ -141,7 +141,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html index 788d7c8e8c..d719f4e9d4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html @@ -499,7 +499,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -514,7 +514,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -680,7 +680,7 @@

    Constructors Improve this Doc - View Source + View Source

    Dialog()

    @@ -697,7 +697,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Dialog(ustring, Int32, Int32, Button[])

    @@ -747,7 +747,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Dialog(ustring, Button[])

    @@ -789,7 +789,7 @@

    Properties Improve this Doc - View Source + View Source

    ButtonAlignment

    @@ -824,7 +824,7 @@

    Methods Improve this Doc - View Source + View Source

    AddButton(Button)

    @@ -858,7 +858,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -923,7 +923,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dim.html b/docs/api/Terminal.Gui/Terminal.Gui.Dim.html index e308fc7f93..4a97aba807 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dim.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dim.html @@ -136,7 +136,7 @@

    Methods Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -186,7 +186,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Fill(Int32)

    @@ -235,7 +235,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Function(Func<Int32>)

    @@ -284,7 +284,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -316,7 +316,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Height(View)

    @@ -365,7 +365,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Percent(Single, Boolean)

    @@ -419,7 +419,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Sized(Int32)

    @@ -468,7 +468,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Width(View)

    @@ -519,7 +519,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(Dim, Dim)

    @@ -573,7 +573,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Implicit(Int32 to Dim)

    @@ -622,7 +622,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(Dim, Dim)

    @@ -682,7 +682,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html b/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html index 3f41252739..128722eeb5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html @@ -129,7 +129,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html index efc6e0d481..eeed4c4022 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeConsole.html @@ -130,7 +130,7 @@

    Fields Improve this Doc - View Source + View Source

    HEIGHT

    @@ -161,7 +161,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    MockKeyPresses

    @@ -192,7 +192,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    WIDTH

    @@ -225,7 +225,7 @@

    Properties Improve this Doc - View Source + View Source

    BackgroundColor

    @@ -257,7 +257,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BufferHeight

    @@ -289,7 +289,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BufferWidth

    @@ -321,7 +321,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CapsLock

    @@ -353,7 +353,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorLeft

    @@ -385,7 +385,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorSize

    @@ -417,7 +417,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorTop

    @@ -449,7 +449,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorVisible

    @@ -481,7 +481,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Error

    @@ -513,7 +513,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ForegroundColor

    @@ -545,7 +545,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    In

    @@ -577,7 +577,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    InputEncoding

    @@ -609,7 +609,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsErrorRedirected

    @@ -641,7 +641,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsInputRedirected

    @@ -673,7 +673,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsOutputRedirected

    @@ -705,7 +705,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    KeyAvailable

    @@ -737,7 +737,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LargestWindowHeight

    @@ -769,7 +769,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LargestWindowWidth

    @@ -801,7 +801,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NumberLock

    @@ -833,7 +833,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Out

    @@ -865,7 +865,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OutputEncoding

    @@ -897,7 +897,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -929,7 +929,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TreatControlCAsInput

    @@ -961,7 +961,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WindowHeight

    @@ -993,7 +993,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WindowLeft

    @@ -1025,7 +1025,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WindowTop

    @@ -1057,7 +1057,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WindowWidth

    @@ -1091,7 +1091,7 @@

    Methods Improve this Doc - View Source + View Source

    Beep()

    @@ -1108,7 +1108,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Beep(Int32, Int32)

    @@ -1147,7 +1147,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Clear()

    @@ -1164,7 +1164,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32)

    @@ -1223,7 +1223,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32, Char, ConsoleColor, ConsoleColor)

    @@ -1297,7 +1297,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OpenStandardError()

    @@ -1329,7 +1329,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenStandardError(Int32)

    @@ -1378,7 +1378,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenStandardInput()

    @@ -1410,7 +1410,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenStandardInput(Int32)

    @@ -1459,7 +1459,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenStandardOutput()

    @@ -1491,7 +1491,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenStandardOutput(Int32)

    @@ -1540,7 +1540,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Read()

    @@ -1572,7 +1572,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ReadKey()

    @@ -1604,7 +1604,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ReadKey(Boolean)

    @@ -1653,7 +1653,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ReadLine()

    @@ -1685,7 +1685,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ResetColor()

    @@ -1702,7 +1702,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetBufferSize(Int32, Int32)

    @@ -1741,7 +1741,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetCursorPosition(Int32, Int32)

    @@ -1780,7 +1780,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetError(TextWriter)

    @@ -1814,7 +1814,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetIn(TextReader)

    @@ -1848,7 +1848,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetOut(TextWriter)

    @@ -1882,7 +1882,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetWindowPosition(Int32, Int32)

    @@ -1921,7 +1921,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetWindowSize(Int32, Int32)

    @@ -1960,7 +1960,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Boolean)

    @@ -1994,7 +1994,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Char)

    @@ -2028,7 +2028,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Char[])

    @@ -2062,7 +2062,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Char[], Int32, Int32)

    @@ -2106,7 +2106,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Decimal)

    @@ -2140,7 +2140,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Double)

    @@ -2174,7 +2174,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Int32)

    @@ -2208,7 +2208,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Int64)

    @@ -2242,7 +2242,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Object)

    @@ -2276,7 +2276,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(Single)

    @@ -2310,7 +2310,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String)

    @@ -2344,7 +2344,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String, Object)

    @@ -2383,7 +2383,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String, Object, Object)

    @@ -2427,7 +2427,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String, Object, Object, Object)

    @@ -2476,7 +2476,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String, Object, Object, Object, Object)

    @@ -2530,7 +2530,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(String, Object[])

    @@ -2569,7 +2569,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(UInt32)

    @@ -2603,7 +2603,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Write(UInt64)

    @@ -2637,7 +2637,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine()

    @@ -2654,7 +2654,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    WriteLine(Boolean)

    @@ -2688,7 +2688,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Char)

    @@ -2722,7 +2722,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Char[])

    @@ -2756,7 +2756,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Char[], Int32, Int32)

    @@ -2800,7 +2800,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Decimal)

    @@ -2834,7 +2834,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Double)

    @@ -2868,7 +2868,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Int32)

    @@ -2902,7 +2902,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Int64)

    @@ -2936,7 +2936,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Object)

    @@ -2970,7 +2970,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(Single)

    @@ -3004,7 +3004,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String)

    @@ -3038,7 +3038,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String, Object)

    @@ -3077,7 +3077,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String, Object, Object)

    @@ -3121,7 +3121,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String, Object, Object, Object)

    @@ -3170,7 +3170,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String, Object, Object, Object, Object)

    @@ -3224,7 +3224,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(String, Object[])

    @@ -3263,7 +3263,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(UInt32)

    @@ -3297,7 +3297,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    WriteLine(UInt64)

    @@ -3337,7 +3337,7 @@
    Parameters
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html index 54c395098b..d1ddfa47b5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html @@ -237,6 +237,9 @@
    Inherited Members
    +
    System.Object.Equals(System.Object)
    @@ -272,7 +275,7 @@

    Constructors Improve this Doc - View Source + View Source

    FakeDriver()

    @@ -289,7 +292,7 @@

    Properties Improve this Doc - View Source + View Source

    Clipboard

    @@ -321,7 +324,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Cols

    @@ -353,7 +356,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Contents

    @@ -387,7 +390,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    HeightAsBuffer

    @@ -419,7 +422,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Left

    @@ -451,7 +454,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Rows

    @@ -483,7 +486,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Top

    @@ -517,7 +520,7 @@

    Methods Improve this Doc - View Source + View Source

    AddRune(Rune)

    @@ -551,7 +554,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    AddStr(ustring)

    @@ -585,7 +588,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    CookMouse()

    @@ -602,7 +605,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    End()

    @@ -619,7 +622,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    EnsureCursorVisibility()

    @@ -651,7 +654,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetAttribute()

    @@ -683,7 +686,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetColors(Int32, out Color, out Color)

    @@ -742,7 +745,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetCursorVisibility(out CursorVisibility)

    @@ -791,7 +794,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Init(Action)

    @@ -825,7 +828,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MakeAttribute(Color, Color)

    @@ -874,12 +877,66 @@
    Returns
    Overrides
    + + | + Improve this Doc + + + View Source + + +

    MakeColor(Color, Color)

    +
    +
    +
    Declaration
    +
    +
    public override Attribute MakeColor(Color foreground, Color background)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    Colorforeground
    Colorbackground
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    Attribute
    +
    Overrides
    + | Improve this Doc - View Source + View Source

    Move(Int32, Int32)

    @@ -918,7 +975,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PrepareToRun(MainLoop, Action<KeyEvent>, Action<KeyEvent>, Action<KeyEvent>, Action<MouseEvent>)

    @@ -972,7 +1029,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Refresh()

    @@ -989,7 +1046,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ResizeScreen()

    @@ -1006,7 +1063,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean)

    @@ -1060,7 +1117,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetAttribute(Attribute)

    @@ -1094,7 +1151,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetBufferSize(Int32, Int32)

    @@ -1131,7 +1188,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetColors(ConsoleColor, ConsoleColor)

    @@ -1170,7 +1227,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetColors(Int16, Int16)

    @@ -1209,7 +1266,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetCursorVisibility(CursorVisibility)

    @@ -1258,7 +1315,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SetWindowPosition(Int32, Int32)

    @@ -1295,7 +1352,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetWindowSize(Int32, Int32)

    @@ -1332,7 +1389,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    StartReportingMouseMoves()

    @@ -1349,7 +1406,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    StopReportingMouseMoves()

    @@ -1366,7 +1423,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Suspend()

    @@ -1383,7 +1440,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UncookMouse()

    @@ -1400,7 +1457,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateCursor()

    @@ -1417,7 +1474,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateOffScreen()

    @@ -1434,7 +1491,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateScreen()

    @@ -1457,7 +1514,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html index 31816000d5..e6e6f2a3f2 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html @@ -140,7 +140,7 @@

    Constructors Improve this Doc - View Source + View Source

    FakeMainLoop(Func<ConsoleKeyInfo>)

    @@ -176,7 +176,7 @@

    Fields Improve this Doc - View Source + View Source

    KeyPressed

    @@ -209,7 +209,7 @@

    Explicit Interface Implementations Improve this Doc - View Source + View Source

    IMainLoopDriver.EventsPending(Boolean)

    @@ -256,7 +256,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IMainLoopDriver.MainIteration()

    @@ -271,7 +271,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    IMainLoopDriver.Setup(MainLoop)

    @@ -303,7 +303,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    IMainLoopDriver.Wakeup()

    @@ -328,7 +328,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html index 497b3d2e60..c71144f41f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html @@ -499,7 +499,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -514,7 +514,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -680,7 +680,7 @@

    Constructors Improve this Doc - View Source + View Source

    FileDialog()

    @@ -697,7 +697,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FileDialog(ustring, ustring, ustring, ustring, ustring, List<String>)

    @@ -756,7 +756,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    FileDialog(ustring, ustring, ustring, ustring, List<String>)

    @@ -810,7 +810,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    FileDialog(ustring, ustring, ustring, List<String>)

    @@ -861,7 +861,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowedFileTypes

    @@ -893,7 +893,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AllowsOtherFileTypes

    @@ -925,7 +925,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Canceled

    @@ -957,7 +957,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanCreateDirectories

    @@ -989,7 +989,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DirectoryPath

    @@ -1021,7 +1021,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    FilePath

    @@ -1053,7 +1053,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsExtensionHidden

    @@ -1085,7 +1085,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Message

    @@ -1117,7 +1117,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NameDirLabel

    @@ -1149,7 +1149,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NameFieldLabel

    @@ -1181,7 +1181,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Prompt

    @@ -1215,7 +1215,7 @@

    Methods Improve this Doc - View Source + View Source

    WillPresent()

    @@ -1248,7 +1248,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html index ca5cceb19f..7c69d30594 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html @@ -337,7 +337,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -352,7 +352,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -530,7 +530,7 @@

    Constructors Improve this Doc - View Source + View Source

    FrameView()

    @@ -547,7 +547,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FrameView(ustring, Border)

    @@ -586,7 +586,7 @@
    Parameters
    Improve this Doc - View Source + View Source

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

    @@ -637,7 +637,7 @@

    Properties Improve this Doc - View Source + View Source

    Border

    @@ -669,7 +669,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Text

    @@ -703,7 +703,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    TextAlignment

    @@ -737,7 +737,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Title

    @@ -771,7 +771,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -807,7 +807,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnCanFocusChanged()

    @@ -824,7 +824,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -873,7 +873,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -907,7 +907,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -943,7 +943,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -978,7 +978,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html index a27d3cde2d..58d3af5ee7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html @@ -344,7 +344,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -359,7 +359,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -549,7 +549,7 @@

    Constructors Improve this Doc - View Source + View Source

    GraphView()

    @@ -568,7 +568,7 @@

    Properties Improve this Doc - View Source + View Source

    Annotations

    @@ -600,7 +600,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AxisX

    @@ -632,7 +632,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AxisY

    @@ -664,7 +664,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CellSize

    @@ -697,7 +697,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    GraphColor

    @@ -729,7 +729,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MarginBottom

    @@ -762,7 +762,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MarginLeft

    @@ -795,7 +795,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScrollOffset

    @@ -828,7 +828,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Series

    @@ -862,7 +862,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawLine(Point, Point, Rune)

    @@ -906,7 +906,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GraphSpaceToScreen(PointF)

    @@ -958,7 +958,7 @@
    Returns
    Improve this Doc - View Source + View Source

    PageDown()

    @@ -975,7 +975,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PageUp()

    @@ -992,7 +992,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1041,7 +1041,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1075,7 +1075,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Reset()

    @@ -1093,7 +1093,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ScreenToGraphSpace(Int32, Int32)

    @@ -1148,7 +1148,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScreenToGraphSpace(Rect)

    @@ -1197,7 +1197,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Scroll(Single, Single)

    @@ -1237,7 +1237,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetDriverColorToGraphColor()

    @@ -1271,7 +1271,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html index 982d25fb8b..dd66e06695 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html @@ -132,7 +132,7 @@

    Constructors Improve this Doc - View Source + View Source

    Axis(Orientation)

    @@ -168,7 +168,7 @@

    Fields Improve this Doc - View Source + View Source

    LabelGetter

    @@ -202,7 +202,7 @@

    Properties Improve this Doc - View Source + View Source

    Increment

    @@ -234,7 +234,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Minimum

    @@ -266,7 +266,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Orientation

    @@ -298,7 +298,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowLabelsEvery

    @@ -331,7 +331,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -364,7 +364,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Visible

    @@ -398,7 +398,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawAxisLabel(GraphView, Int32, String)

    @@ -443,7 +443,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawAxisLabels(GraphView)

    @@ -477,7 +477,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView)

    @@ -511,7 +511,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView, Int32, Int32)

    @@ -555,7 +555,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Reset()

    @@ -578,7 +578,7 @@
    Declaration
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html index 38187116c2..996f502ec0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html @@ -131,7 +131,7 @@

    Constructors Improve this Doc - View Source + View Source

    AxisIncrementToRender(Orientation, Int32, Single)

    @@ -178,7 +178,7 @@

    Properties Improve this Doc - View Source + View Source

    Orientation

    @@ -210,7 +210,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScreenLocation

    @@ -243,7 +243,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Value

    @@ -281,7 +281,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • 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 45d2505bb5..29dea382d3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html @@ -130,7 +130,7 @@

    Constructors Improve this Doc - View Source + View Source

    Bar(String, GraphCellToRender, Single)

    @@ -177,7 +177,7 @@

    Properties Improve this Doc - View Source + View Source

    Fill

    @@ -210,7 +210,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -243,7 +243,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Value

    @@ -281,7 +281,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html index 1969fdcbd9..5199c8fa48 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    BarEvery

    @@ -168,7 +168,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Bars

    @@ -200,7 +200,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DrawLabels

    @@ -233,7 +233,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Offset

    @@ -266,7 +266,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Orientation

    @@ -299,7 +299,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OverrideBarColor

    @@ -333,7 +333,7 @@

    Methods Improve this Doc - View Source + View Source

    AdjustColor(GraphCellToRender)

    @@ -382,7 +382,7 @@
    Returns
    Improve this Doc - View Source + View Source

    DrawBarLine(GraphView, Point, Point, BarSeries.Bar)

    @@ -432,7 +432,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawSeries(GraphView, Rect, RectangleF)

    @@ -486,7 +486,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html index 214bf95619..d42e05c8ba 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html @@ -131,7 +131,7 @@

    Constructors Improve this Doc - View Source + View Source

    GraphCellToRender(Rune)

    @@ -165,7 +165,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GraphCellToRender(Rune, Nullable<Attribute>)

    @@ -204,7 +204,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GraphCellToRender(Rune, Attribute)

    @@ -245,7 +245,7 @@

    Properties Improve this Doc - View Source + View Source

    Color

    @@ -277,7 +277,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Rune

    @@ -315,7 +315,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html index 6d5bd300bc..7a6a634545 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html @@ -155,7 +155,7 @@

    Constructors Improve this Doc - View Source + View Source

    HorizontalAxis()

    @@ -174,7 +174,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawAxisLabel(GraphView, Int32, String)

    @@ -221,7 +221,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLabels(GraphView)

    @@ -257,7 +257,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView)

    @@ -293,7 +293,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView, Int32, Int32)

    @@ -340,7 +340,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetAxisYPosition(GraphView)

    @@ -397,7 +397,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html index c1f59cbe39..78c8e5c03c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html @@ -109,7 +109,7 @@

    Properties Improve this Doc - View Source + View Source

    BeforeSeries

    @@ -145,7 +145,7 @@

    Methods Improve this Doc - View Source + View Source

    Render(GraphView)

    @@ -187,7 +187,7 @@
    Parameters
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html index 23f74fcafb..18e3bf0a61 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html @@ -101,7 +101,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawSeries(GraphView, Rect, RectangleF)

    @@ -152,7 +152,7 @@
    Parameters
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html index 3891a24ca6..029e987305 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html @@ -137,7 +137,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html index 14f41a5fa1..5c9728b3eb 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html @@ -135,7 +135,7 @@

    Constructors Improve this Doc - View Source + View Source

    LegendAnnotation(Rect)

    @@ -172,7 +172,7 @@

    Properties Improve this Doc - View Source + View Source

    BeforeSeries

    @@ -204,7 +204,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Border

    @@ -239,7 +239,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Bounds

    @@ -273,7 +273,7 @@

    Methods Improve this Doc - View Source + View Source

    AddEntry(GraphCellToRender, String)

    @@ -313,7 +313,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Render(GraphView)

    @@ -357,7 +357,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html index 62181254a6..7b727a62a9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    MultiBarSeries(Int32, Single, Single, Attribute[])

    @@ -185,7 +185,7 @@

    Properties Improve this Doc - View Source + View Source

    Spacing

    @@ -218,7 +218,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SubSeries

    @@ -254,7 +254,7 @@

    Methods Improve this Doc - View Source + View Source

    AddBars(String, Rune, Single[])

    @@ -298,7 +298,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawSeries(GraphView, Rect, RectangleF)

    @@ -352,7 +352,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html index 527effc780..95f6dc602f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html @@ -129,7 +129,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • 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 5d3598c530..da908e5f04 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html @@ -130,7 +130,7 @@

    Constructors Improve this Doc - View Source + View Source

    LineF(PointF, PointF)

    @@ -171,7 +171,7 @@

    Properties Improve this Doc - View Source + View Source

    End

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Start

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html index c370c004bb..d630dfccf3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    BeforeSeries

    @@ -166,7 +166,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LineColor

    @@ -198,7 +198,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LineRune

    @@ -230,7 +230,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Points

    @@ -265,7 +265,7 @@

    Methods Improve this Doc - View Source + View Source

    Render(GraphView)

    @@ -309,7 +309,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html index 2edb636130..c279754347 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    Fill

    @@ -168,7 +168,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Points

    @@ -202,7 +202,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawSeries(GraphView, Rect, RectangleF)

    @@ -256,7 +256,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html index 92862424c8..b9b17af10c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    BeforeSeries

    @@ -166,7 +166,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    GraphPosition

    @@ -200,7 +200,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScreenPosition

    @@ -234,7 +234,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -268,7 +268,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawText(GraphView, Int32, Int32)

    @@ -313,7 +313,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Render(GraphView)

    @@ -357,7 +357,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html index 52180ccc1b..4ef15fcc7e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html @@ -155,7 +155,7 @@

    Constructors Improve this Doc - View Source + View Source

    VerticalAxis()

    @@ -174,7 +174,7 @@

    Methods Improve this Doc - View Source + View Source

    DrawAxisLabel(GraphView, Int32, String)

    @@ -222,7 +222,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLabels(GraphView)

    @@ -258,7 +258,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView)

    @@ -294,7 +294,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawAxisLine(GraphView, Int32, Int32)

    @@ -341,7 +341,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetAxisXPosition(GraphView)

    @@ -398,7 +398,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html index 843cd52123..7e4bc01268 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    HexViewEventArgs(Int64, Point, Int32)

    @@ -180,7 +180,7 @@

    Properties Improve this Doc - View Source + View Source

    BytesPerLine

    @@ -212,7 +212,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorPosition

    @@ -244,7 +244,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Position

    @@ -282,7 +282,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html index 1d9ba3074f..8b20759f30 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html @@ -357,7 +357,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -372,7 +372,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -559,7 +559,7 @@

    Constructors Improve this Doc - View Source + View Source

    HexView()

    @@ -576,7 +576,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    HexView(Stream)

    @@ -612,7 +612,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowEdits

    @@ -645,7 +645,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BytesPerLine

    @@ -677,7 +677,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorPosition

    @@ -709,7 +709,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DesiredCursorVisibility

    @@ -741,7 +741,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DisplayStart

    @@ -773,7 +773,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Edits

    @@ -806,7 +806,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Frame

    @@ -838,7 +838,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Position

    @@ -870,7 +870,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Source

    @@ -904,7 +904,7 @@

    Methods Improve this Doc - View Source + View Source

    ApplyEdits(Stream)

    @@ -939,7 +939,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DiscardEdits()

    @@ -957,7 +957,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1006,7 +1006,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEdited(KeyValuePair<Int64, Byte>)

    @@ -1040,7 +1040,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -1089,7 +1089,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnPositionChanged()

    @@ -1106,7 +1106,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1123,7 +1123,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1172,7 +1172,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1208,7 +1208,7 @@

    Events Improve this Doc - View Source + View Source

    Edited

    @@ -1239,7 +1239,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    PositionChanged

    @@ -1286,7 +1286,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html index 7869dd59cc..e919e6aa12 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IAutocomplete.html @@ -102,7 +102,7 @@

    Properties Improve this Doc - View Source + View Source

    AllSuggestions

    @@ -134,7 +134,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CloseKey

    @@ -166,7 +166,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColorScheme

    @@ -199,7 +199,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HostControl

    @@ -231,7 +231,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxHeight

    @@ -263,7 +263,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxWidth

    @@ -295,7 +295,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    PopupInsideContainer

    @@ -327,7 +327,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Reopen

    @@ -359,7 +359,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedIdx

    @@ -391,7 +391,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectionKey

    @@ -423,7 +423,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Suggestions

    @@ -456,7 +456,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Visible

    @@ -490,7 +490,7 @@

    Methods Improve this Doc - View Source + View Source

    ClearSuggestions()

    @@ -507,7 +507,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GenerateSuggestions()

    @@ -525,7 +525,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent, Boolean)

    @@ -581,7 +581,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -632,7 +632,7 @@
    Returns
    Improve this Doc - View Source + View Source

    RenderOverlay(Point)

    @@ -673,7 +673,7 @@
    Parameters
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html b/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html index 9a32e4d1a9..777a547101 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IClipboard.html @@ -101,7 +101,7 @@

    Properties Improve this Doc - View Source + View Source

    IsSupported

    @@ -135,7 +135,7 @@

    Methods Improve this Doc - View Source + View Source

    GetClipboardData()

    @@ -182,7 +182,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    SetClipboardData(String)

    @@ -231,7 +231,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    TryGetClipboardData(out String)

    @@ -280,7 +280,7 @@
    Returns
    Improve this Doc - View Source + View Source

    TrySetClipboardData(String)

    @@ -335,7 +335,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html b/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html index a8cc9c6584..1304ea95e7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IListDataSource.html @@ -101,7 +101,7 @@

    Properties Improve this Doc - View Source + View Source

    Count

    @@ -133,7 +133,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Length

    @@ -167,7 +167,7 @@

    Methods Improve this Doc - View Source + View Source

    IsMarked(Int32)

    @@ -216,7 +216,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32, Int32)

    @@ -285,7 +285,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetMark(Int32, Boolean)

    @@ -324,7 +324,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ToList()

    @@ -362,7 +362,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html index 05c07f3de9..34470dacb8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html @@ -101,7 +101,7 @@

    Methods Improve this Doc - View Source + View Source

    EventsPending(Boolean)

    @@ -150,7 +150,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MainIteration()

    @@ -167,7 +167,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Setup(MainLoop)

    @@ -201,7 +201,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Wakeup()

    @@ -224,7 +224,7 @@
    Declaration
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html b/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html index 06bea55c60..4ea2ed7cf0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ITreeView.html @@ -103,7 +103,7 @@

    Properties Improve this Doc - View Source + View Source

    Style

    @@ -137,7 +137,7 @@

    Methods Improve this Doc - View Source + View Source

    ClearObjects()

    @@ -154,7 +154,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetNeedsDisplay()

    @@ -177,7 +177,7 @@
    Declaration
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Key.html b/docs/api/Terminal.Gui/Terminal.Gui.Key.html index 261d154d0d..37a77bddde 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Key.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Key.html @@ -728,7 +728,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html b/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html index 88720a6457..83ac5b43f2 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.KeyEvent.html @@ -127,7 +127,7 @@

    Constructors Improve this Doc - View Source + View Source

    KeyEvent()

    @@ -144,7 +144,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    KeyEvent(Key, KeyModifiers)

    @@ -185,7 +185,7 @@

    Fields Improve this Doc - View Source + View Source

    Key

    @@ -218,7 +218,7 @@

    Properties Improve this Doc - View Source + View Source

    IsAlt

    @@ -250,7 +250,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsCapslock

    @@ -282,7 +282,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsCtrl

    @@ -314,7 +314,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsNumlock

    @@ -346,7 +346,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsScrolllock

    @@ -378,7 +378,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsShift

    @@ -410,7 +410,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    KeyValue

    @@ -446,7 +446,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -486,7 +486,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html b/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html index e166324404..ea27ee6f58 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.KeyModifiers.html @@ -130,7 +130,7 @@

    Fields Improve this Doc - View Source + View Source

    Alt

    @@ -161,7 +161,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Capslock

    @@ -192,7 +192,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Ctrl

    @@ -223,7 +223,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Numlock

    @@ -254,7 +254,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Scrolllock

    @@ -285,7 +285,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Shift

    @@ -322,7 +322,7 @@
    Field Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Label.html b/docs/api/Terminal.Gui/Terminal.Gui.Label.html index d1b28ab4c8..475b5cedb6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Label.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Label.html @@ -352,7 +352,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -367,7 +367,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessColdKey(KeyEvent) @@ -551,7 +551,7 @@

    Constructors Improve this Doc - View Source + View Source

    Label()

    @@ -566,7 +566,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Label(ustring, Boolean)

    @@ -603,7 +603,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Label(ustring, TextDirection, Boolean)

    @@ -645,7 +645,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Label(Int32, Int32, ustring, Boolean)

    @@ -692,7 +692,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Label(Rect, ustring, Boolean)

    @@ -734,7 +734,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Label(Rect, Boolean)

    @@ -773,7 +773,7 @@

    Methods Improve this Doc - View Source + View Source

    OnClicked()

    @@ -790,7 +790,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -839,7 +839,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnMouseEvent(MouseEvent)

    @@ -890,7 +890,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -941,7 +941,7 @@

    Events Improve this Doc - View Source + View Source

    Clicked

    @@ -989,7 +989,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html index 315d9be00e..60d5a3ba3d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html @@ -132,7 +132,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.LineView.html b/docs/api/Terminal.Gui/Terminal.Gui.LineView.html index 5af6c22323..d88783585d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.LineView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.LineView.html @@ -347,7 +347,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -362,7 +362,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -552,7 +552,7 @@

    Constructors Improve this Doc - View Source + View Source

    LineView()

    @@ -569,7 +569,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    LineView(Orientation)

    @@ -605,7 +605,7 @@

    Properties Improve this Doc - View Source + View Source

    EndingAnchor

    @@ -638,7 +638,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LineRune

    @@ -670,7 +670,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Orientation

    @@ -703,7 +703,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    StartingAnchor

    @@ -738,7 +738,7 @@

    Methods Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -790,7 +790,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html index 77485f334d..66bf19a991 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html @@ -364,7 +364,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -379,7 +379,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -566,7 +566,7 @@

    Constructors Improve this Doc - View Source + View Source

    ListView()

    @@ -583,7 +583,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ListView(IList)

    @@ -618,7 +618,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ListView(IListDataSource)

    @@ -654,7 +654,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ListView(Rect, IList)

    @@ -693,7 +693,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ListView(Rect, IListDataSource)

    @@ -734,7 +734,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowsMarking

    @@ -767,7 +767,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AllowsMultipleSelection

    @@ -799,7 +799,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LeftItem

    @@ -831,7 +831,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Maxlength

    @@ -863,7 +863,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedItem

    @@ -895,7 +895,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Source

    @@ -927,7 +927,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TopItem

    @@ -961,7 +961,7 @@

    Methods Improve this Doc - View Source + View Source

    AllowsAll()

    @@ -993,7 +993,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MarkUnmarkRow()

    @@ -1025,7 +1025,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1074,7 +1074,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MoveDown()

    @@ -1106,7 +1106,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveEnd()

    @@ -1138,7 +1138,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveHome()

    @@ -1170,7 +1170,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MovePageDown()

    @@ -1202,7 +1202,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MovePageUp()

    @@ -1234,7 +1234,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MoveUp()

    @@ -1266,7 +1266,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -1315,7 +1315,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -1364,7 +1364,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnOpenSelectedItem()

    @@ -1396,7 +1396,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnRowRender(ListViewRowEventArgs)

    @@ -1430,7 +1430,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnSelectedChanged()

    @@ -1462,7 +1462,7 @@
    Returns
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1479,7 +1479,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1528,7 +1528,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1562,7 +1562,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ScrollDown(Int32)

    @@ -1611,7 +1611,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollLeft(Int32)

    @@ -1660,7 +1660,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollRight(Int32)

    @@ -1709,7 +1709,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollUp(Int32)

    @@ -1758,7 +1758,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetSource(IList)

    @@ -1792,7 +1792,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetSourceAsync(IList)

    @@ -1843,7 +1843,7 @@

    Events Improve this Doc - View Source + View Source

    OpenSelectedItem

    @@ -1874,7 +1874,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    RowRender

    @@ -1905,7 +1905,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    SelectedItemChanged

    @@ -1952,7 +1952,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html index e0e7622c2d..d5a5a1985a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    ListViewItemEventArgs(Int32, Object)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    Item

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Value

    @@ -245,7 +245,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html index 03ebcf89cc..a926f95659 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    ListViewRowEventArgs(Int32)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Row

    @@ -202,7 +202,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RowAttribute

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html b/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html index 0b252aa4f0..8df14d149c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListWrapper.html @@ -136,7 +136,7 @@

    Constructors Improve this Doc - View Source + View Source

    ListWrapper(IList)

    @@ -172,7 +172,7 @@

    Properties Improve this Doc - View Source + View Source

    Count

    @@ -204,7 +204,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Length

    @@ -238,7 +238,7 @@

    Methods Improve this Doc - View Source + View Source

    IsMarked(Int32)

    @@ -287,7 +287,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32, Int32)

    @@ -356,7 +356,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetMark(Int32, Boolean)

    @@ -395,7 +395,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ToList()

    @@ -437,7 +437,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html index 16d593b7ca..5b9f3b2678 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html @@ -130,7 +130,7 @@

    Fields Improve this Doc - View Source + View Source

    Callback

    @@ -161,7 +161,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Span

    @@ -198,7 +198,7 @@
    Field Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html index 2e28c8f1e0..f6d9d7cf6d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MainLoop.html @@ -136,7 +136,7 @@

    Constructors Improve this Doc - View Source + View Source

    MainLoop(IMainLoopDriver)

    @@ -172,7 +172,7 @@

    Properties Improve this Doc - View Source + View Source

    Driver

    @@ -204,17 +204,17 @@
    Property Value
    Improve this Doc - View Source + View Source

    IdleHandlers

    -Gets the list of all idle handlers. +Gets a copy of the list of all idle handlers.
    Declaration
    -
    public List<Func<bool>> IdleHandlers { get; }
    +
    public ReadOnlyCollection<Func<bool>> IdleHandlers { get; }
    Property Value
    @@ -226,7 +226,7 @@
    Property Value
    - + @@ -236,7 +236,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Timeouts

    @@ -272,7 +272,7 @@

    Methods Improve this Doc - View Source + View Source

    AddIdle(Func<Boolean>)

    @@ -321,7 +321,7 @@
    Returns
    Improve this Doc - View Source + View Source

    AddTimeout(TimeSpan, Func<MainLoop, Boolean>)

    @@ -375,7 +375,7 @@
    Returns
    Improve this Doc - View Source + View Source

    EventsPending(Boolean)

    @@ -424,7 +424,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Invoke(Action)

    @@ -458,7 +458,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MainIteration()

    @@ -475,7 +475,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    RemoveIdle(Func<Boolean>)

    @@ -524,7 +524,7 @@
    Returns
    Improve this Doc - View Source + View Source

    RemoveTimeout(Object)

    @@ -573,7 +573,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Run()

    @@ -590,7 +590,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Stop()

    @@ -609,7 +609,7 @@

    Events Improve this Doc - View Source + View Source

    TimeoutAdded

    @@ -647,7 +647,7 @@
    Event Type
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html index a8f0f18e35..ac249776a6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html @@ -341,7 +341,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -356,7 +356,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.KeyDown @@ -531,7 +531,7 @@

    Constructors Improve this Doc - View Source + View Source

    MenuBar()

    @@ -548,7 +548,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MenuBar(MenuBarItem[])

    @@ -584,7 +584,7 @@

    Properties Improve this Doc - View Source + View Source

    HotKeySpecifier

    @@ -616,7 +616,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsMenuOpen

    @@ -648,7 +648,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LastFocused

    @@ -680,7 +680,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Menus

    @@ -712,7 +712,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutDelimiter

    @@ -744,7 +744,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    UseKeysUpDownAsKeysLeftRight

    @@ -776,7 +776,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    UseSubMenusSingleFrame

    @@ -810,7 +810,7 @@

    Methods Improve this Doc - View Source + View Source

    CloseMenu(Boolean)

    @@ -859,7 +859,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -908,7 +908,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -957,7 +957,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyDown(KeyEvent)

    @@ -1006,7 +1006,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyUp(KeyEvent)

    @@ -1055,7 +1055,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -1104,7 +1104,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnMenuAllClosed()

    @@ -1121,7 +1121,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnMenuClosing(MenuBarItem, Boolean, Boolean)

    @@ -1180,7 +1180,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnMenuOpened()

    @@ -1197,7 +1197,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnMenuOpening(MenuBarItem)

    @@ -1246,7 +1246,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OpenMenu()

    @@ -1263,7 +1263,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1280,7 +1280,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -1329,7 +1329,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -1378,7 +1378,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1427,7 +1427,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1463,7 +1463,7 @@

    Events Improve this Doc - View Source + View Source

    MenuAllClosed

    @@ -1494,7 +1494,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MenuClosing

    @@ -1525,7 +1525,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MenuOpened

    @@ -1556,7 +1556,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MenuOpening

    @@ -1603,7 +1603,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html index 12051cb18b..27efb0b92d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuBarItem.html @@ -173,7 +173,7 @@

    Constructors Improve this Doc - View Source + View Source

    MenuBarItem()

    @@ -190,7 +190,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MenuBarItem(ustring, ustring, Action, Func<Boolean>, MenuItem)

    @@ -244,7 +244,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MenuBarItem(ustring, List<MenuItem[]>, MenuItem)

    @@ -288,7 +288,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MenuBarItem(ustring, MenuItem[], MenuItem)

    @@ -332,7 +332,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MenuBarItem(MenuItem[])

    @@ -368,7 +368,7 @@

    Properties Improve this Doc - View Source + View Source

    Children

    @@ -402,7 +402,7 @@

    Methods Improve this Doc - View Source + View Source

    GetChildrenIndex(MenuItem)

    @@ -451,7 +451,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsSubMenuOf(MenuItem)

    @@ -500,7 +500,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SubMenu(MenuItem)

    @@ -555,7 +555,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html index ab86a062e3..19e3bc8140 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    MenuClosingEventArgs(MenuBarItem, Boolean, Boolean)

    @@ -180,7 +180,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -212,7 +212,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CurrentMenu

    @@ -244,7 +244,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsSubMenu

    @@ -276,7 +276,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Reopen

    @@ -314,7 +314,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html index 011bfb090b..87e8d1900d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuItem.html @@ -131,7 +131,7 @@

    Constructors Improve this Doc - View Source + View Source

    MenuItem(ustring, ustring, Action, Func<Boolean>, MenuItem, Key)

    @@ -190,7 +190,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MenuItem(Key)

    @@ -226,7 +226,7 @@

    Fields Improve this Doc - View Source + View Source

    HotKey

    @@ -261,7 +261,7 @@

    Properties Improve this Doc - View Source + View Source

    Action

    @@ -293,7 +293,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanExecute

    @@ -325,7 +325,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Checked

    @@ -357,7 +357,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CheckType

    @@ -389,7 +389,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Data

    @@ -421,7 +421,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Help

    @@ -453,7 +453,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Parent

    @@ -485,7 +485,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Shortcut

    @@ -517,7 +517,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutTag

    @@ -549,7 +549,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -583,7 +583,7 @@

    Methods Improve this Doc - View Source + View Source

    GetMenuBarItem()

    @@ -615,7 +615,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetMenuItem()

    @@ -647,7 +647,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsEnabled()

    @@ -685,7 +685,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html index 994df7ed53..8d77f8889c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html @@ -136,7 +136,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html index d4cbda05e6..f8f8280c62 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    MenuOpeningEventArgs(MenuBarItem)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -202,7 +202,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CurrentMenu

    @@ -234,7 +234,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewMenuBarItem

    @@ -272,7 +272,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html b/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html index d7797dd4ad..5e0d9d6a0d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MessageBox.html @@ -138,7 +138,7 @@

    Properties Improve this Doc - View Source + View Source

    Clicked

    @@ -173,7 +173,7 @@

    Methods Improve this Doc - View Source + View Source

    ErrorQuery(ustring, ustring, ustring[])

    @@ -232,7 +232,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ErrorQuery(ustring, ustring, Int32, ustring[])

    @@ -296,7 +296,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ErrorQuery(ustring, ustring, Int32, Border, ustring[])

    @@ -365,7 +365,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ErrorQuery(Int32, Int32, ustring, ustring, ustring[])

    @@ -434,7 +434,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ErrorQuery(Int32, Int32, ustring, ustring, Int32, ustring[])

    @@ -508,7 +508,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ErrorQuery(Int32, Int32, ustring, ustring, Int32, Border, ustring[])

    @@ -587,7 +587,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(ustring, ustring, ustring[])

    @@ -646,7 +646,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(ustring, ustring, Int32, ustring[])

    @@ -710,7 +710,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(ustring, ustring, Int32, Border, ustring[])

    @@ -779,7 +779,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(Int32, Int32, ustring, ustring, ustring[])

    @@ -848,7 +848,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(Int32, Int32, ustring, ustring, Int32, ustring[])

    @@ -922,7 +922,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Query(Int32, Int32, ustring, ustring, Int32, Border, ustring[])

    @@ -1007,7 +1007,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html b/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html index c2a1da4a87..d612a6a2cc 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MouseEvent.html @@ -119,7 +119,7 @@

    Fields Improve this Doc - View Source + View Source

    Flags

    @@ -150,7 +150,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    OfX

    @@ -181,7 +181,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    OfY

    @@ -212,7 +212,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    View

    @@ -243,7 +243,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    X

    @@ -274,7 +274,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Y

    @@ -307,7 +307,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -347,7 +347,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html b/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html index a3e23bce08..eed05470d8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MouseFlags.html @@ -296,7 +296,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html index 59f3e1297b..ff8c14faa0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html @@ -135,7 +135,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html index 96068c19b7..7db829dcba 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html @@ -550,7 +550,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -565,7 +565,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -731,7 +731,7 @@

    Constructors Improve this Doc - View Source + View Source

    OpenDialog()

    @@ -748,7 +748,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OpenDialog(ustring, ustring, List<String>, OpenDialog.OpenMode)

    @@ -799,7 +799,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowsMultipleSelection

    @@ -831,7 +831,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanChooseDirectories

    @@ -863,7 +863,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanChooseFiles

    @@ -895,7 +895,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    FilePaths

    @@ -943,7 +943,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html b/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html index 482dda9e64..107accd2b4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.PanelView.html @@ -340,7 +340,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -355,7 +355,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -542,7 +542,7 @@

    Constructors Improve this Doc - View Source + View Source

    PanelView()

    @@ -559,7 +559,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PanelView(View)

    @@ -595,7 +595,7 @@

    Properties Improve this Doc - View Source + View Source

    Border

    @@ -627,7 +627,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Child

    @@ -659,7 +659,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    UsePanelFrame

    @@ -693,7 +693,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -727,7 +727,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -761,7 +761,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -795,7 +795,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -828,7 +828,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Point.html b/docs/api/Terminal.Gui/Terminal.Gui.Point.html index 2b641aeaff..b075868d75 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Point.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Point.html @@ -113,7 +113,7 @@

    Constructors Improve this Doc - View Source + View Source

    Point(Int32, Int32)

    @@ -152,7 +152,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Point(Size)

    @@ -188,7 +188,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -219,7 +219,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    X

    @@ -250,7 +250,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Y

    @@ -283,7 +283,7 @@

    Properties Improve this Doc - View Source + View Source

    IsEmpty

    @@ -317,7 +317,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(Point, Size)

    @@ -371,7 +371,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -422,7 +422,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -456,7 +456,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Offset(Int32, Int32)

    @@ -495,7 +495,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Offset(Point)

    @@ -529,7 +529,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Subtract(Point, Size)

    @@ -583,7 +583,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    @@ -619,7 +619,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(Point, Size)

    @@ -673,7 +673,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equality(Point, Point)

    @@ -727,7 +727,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Explicit(Point to Size)

    @@ -776,7 +776,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(Point, Point)

    @@ -830,7 +830,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(Point, Size)

    @@ -890,7 +890,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.PointF.html b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html index 9eec665f89..6aa23970c0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.PointF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html @@ -117,7 +117,7 @@

    Constructors Improve this Doc - View Source + View Source

    PointF(Single, Single)

    @@ -158,7 +158,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -191,7 +191,7 @@

    Properties Improve this Doc - View Source + View Source

    IsEmpty

    @@ -224,7 +224,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    X

    @@ -256,7 +256,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Y

    @@ -290,7 +290,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(PointF, Size)

    @@ -344,7 +344,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Add(PointF, SizeF)

    @@ -398,7 +398,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -451,7 +451,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Equals(PointF)

    @@ -502,7 +502,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -536,7 +536,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Subtract(PointF, Size)

    @@ -590,7 +590,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtract(PointF, SizeF)

    @@ -644,7 +644,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    @@ -680,7 +680,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(PointF, Size)

    @@ -734,7 +734,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Addition(PointF, SizeF)

    @@ -788,7 +788,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equality(PointF, PointF)

    @@ -844,7 +844,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(PointF, PointF)

    @@ -900,7 +900,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(PointF, Size)

    @@ -954,7 +954,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(PointF, SizeF)

    @@ -1018,7 +1018,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Pos.html b/docs/api/Terminal.Gui/Terminal.Gui.Pos.html index 1d6b272779..6e1b7a9a27 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Pos.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Pos.html @@ -145,7 +145,7 @@

    Methods Improve this Doc - View Source + View Source

    AnchorEnd(Int32)

    @@ -195,7 +195,7 @@
    Returns
    Improve this Doc - View Source + View Source

    At(Int32)

    @@ -244,7 +244,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Bottom(View)

    @@ -293,7 +293,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Center()

    @@ -325,7 +325,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -375,7 +375,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Function(Func<Int32>)

    @@ -424,7 +424,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -456,7 +456,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Left(View)

    @@ -505,7 +505,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Percent(Single)

    @@ -554,7 +554,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Right(View)

    @@ -603,7 +603,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Top(View)

    @@ -652,7 +652,7 @@
    Returns
    Improve this Doc - View Source + View Source

    X(View)

    @@ -701,7 +701,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Y(View)

    @@ -752,7 +752,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(Pos, Pos)

    @@ -806,7 +806,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Implicit(Int32 to Pos)

    @@ -855,7 +855,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(Pos, Pos)

    @@ -915,7 +915,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html index 104adb2212..3d5a3adfac 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html @@ -355,7 +355,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -370,7 +370,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -557,7 +557,7 @@

    Constructors Improve this Doc - View Source + View Source

    ProgressBar()

    @@ -574,7 +574,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ProgressBar(Rect)

    @@ -610,7 +610,7 @@

    Properties Improve this Doc - View Source + View Source

    BidirectionalMarquee

    @@ -644,7 +644,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Fraction

    @@ -676,7 +676,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ProgressBarFormat

    @@ -708,7 +708,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ProgressBarStyle

    @@ -740,7 +740,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SegmentCharacter

    @@ -772,7 +772,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -806,7 +806,7 @@

    Methods Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -855,7 +855,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Pulse()

    @@ -872,7 +872,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -922,7 +922,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html index cc1bac68af..995a7fcf1d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html @@ -147,7 +147,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html index 698c5fb32b..763a7c54b4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html @@ -141,7 +141,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html index 2f0ea6f452..a96e60b675 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html @@ -338,7 +338,7 @@

    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -353,7 +353,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -537,7 +537,7 @@

    Constructors Improve this Doc - View Source + View Source

    RadioGroup()

    @@ -554,7 +554,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    RadioGroup(ustring[], Int32)

    @@ -593,7 +593,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RadioGroup(Int32, Int32, ustring[], Int32)

    @@ -643,7 +643,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RadioGroup(Rect, ustring[], Int32)

    @@ -689,7 +689,7 @@

    Properties Improve this Doc - View Source + View Source

    DisplayMode

    @@ -721,7 +721,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HorizontalSpace

    @@ -753,7 +753,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RadioLabels

    @@ -785,7 +785,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedItem

    @@ -819,7 +819,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -868,7 +868,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -917,7 +917,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnSelectedItemChanged(Int32, Int32)

    @@ -956,7 +956,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -973,7 +973,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -1022,7 +1022,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1071,7 +1071,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1105,7 +1105,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Refresh()

    @@ -1124,7 +1124,7 @@

    Events Improve this Doc - View Source + View Source

    SelectedItemChanged

    @@ -1171,7 +1171,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Rect.html b/docs/api/Terminal.Gui/Terminal.Gui.Rect.html index a67361b4a4..b443fcda57 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Rect.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Rect.html @@ -113,7 +113,7 @@

    Constructors Improve this Doc - View Source + View Source

    Rect(Int32, Int32, Int32, Int32)

    @@ -162,7 +162,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Rect(Point, Size)

    @@ -203,7 +203,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -234,7 +234,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    X

    @@ -265,7 +265,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Y

    @@ -298,7 +298,7 @@

    Properties Improve this Doc - View Source + View Source

    Bottom

    @@ -330,7 +330,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Height

    @@ -362,7 +362,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsEmpty

    @@ -394,7 +394,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Left

    @@ -426,7 +426,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Location

    @@ -458,7 +458,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Right

    @@ -490,7 +490,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Size

    @@ -522,7 +522,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Top

    @@ -554,7 +554,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Width

    @@ -588,7 +588,7 @@

    Methods Improve this Doc - View Source + View Source

    Contains(Int32, Int32)

    @@ -642,7 +642,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Contains(Point)

    @@ -691,7 +691,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Contains(Rect)

    @@ -740,7 +740,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -791,7 +791,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    FromLTRB(Int32, Int32, Int32, Int32)

    @@ -855,7 +855,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -889,7 +889,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Inflate(Int32, Int32)

    @@ -928,7 +928,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Inflate(Rect, Int32, Int32)

    @@ -987,7 +987,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inflate(Size)

    @@ -1021,7 +1021,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Intersect(Rect)

    @@ -1055,7 +1055,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Intersect(Rect, Rect)

    @@ -1109,7 +1109,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IntersectsWith(Rect)

    @@ -1158,7 +1158,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Offset(Int32, Int32)

    @@ -1197,7 +1197,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Offset(Point)

    @@ -1231,7 +1231,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ToString()

    @@ -1265,7 +1265,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Union(Rect, Rect)

    @@ -1321,7 +1321,7 @@

    Operators Improve this Doc - View Source + View Source

    Equality(Rect, Rect)

    @@ -1375,7 +1375,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(Rect, Rect)

    @@ -1435,7 +1435,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html index 68e40c46e9..3b8d76bc56 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html @@ -117,7 +117,7 @@

    Constructors Improve this Doc - View Source + View Source

    RectangleF(Single, Single, Single, Single)

    @@ -167,7 +167,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RectangleF(PointF, SizeF)

    @@ -209,7 +209,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -242,7 +242,7 @@

    Properties Improve this Doc - View Source + View Source

    Bottom

    @@ -276,7 +276,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Height

    @@ -308,7 +308,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsEmpty

    @@ -341,7 +341,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Left

    @@ -375,7 +375,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Location

    @@ -409,7 +409,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Right

    @@ -443,7 +443,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Size

    @@ -476,7 +476,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Top

    @@ -510,7 +510,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Width

    @@ -542,7 +542,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    X

    @@ -575,7 +575,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Y

    @@ -610,7 +610,7 @@

    Methods Improve this Doc - View Source + View Source

    Contains(Single, Single)

    @@ -665,7 +665,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Contains(PointF)

    @@ -715,7 +715,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Contains(RectangleF)

    @@ -765,7 +765,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -817,7 +817,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Equals(RectangleF)

    @@ -866,7 +866,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FromLTRB(Single, Single, Single, Single)

    @@ -930,7 +930,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -964,7 +964,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Inflate(Single, Single)

    @@ -1003,7 +1003,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Inflate(RectangleF, Single, Single)

    @@ -1062,7 +1062,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inflate(SizeF)

    @@ -1096,7 +1096,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Intersect(RectangleF)

    @@ -1130,7 +1130,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Intersect(RectangleF, RectangleF)

    @@ -1185,7 +1185,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IntersectsWith(RectangleF)

    @@ -1234,7 +1234,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Offset(Single, Single)

    @@ -1273,7 +1273,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Offset(PointF)

    @@ -1307,7 +1307,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ToString()

    @@ -1342,7 +1342,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Union(RectangleF, RectangleF)

    @@ -1398,7 +1398,7 @@

    Operators Improve this Doc - View Source + View Source

    Equality(RectangleF, RectangleF)

    @@ -1452,7 +1452,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Implicit(Rect to RectangleF)

    @@ -1502,7 +1502,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(RectangleF, RectangleF)

    @@ -1566,7 +1566,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Responder.html b/docs/api/Terminal.Gui/Terminal.Gui.Responder.html index 167a09c688..eafc43f4ae 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Responder.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Responder.html @@ -135,7 +135,7 @@

    Properties Improve this Doc - View Source + View Source

    CanFocus

    @@ -167,7 +167,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Enabled

    @@ -199,7 +199,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HasFocus

    @@ -231,7 +231,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Visible

    @@ -265,7 +265,7 @@

    Methods Improve this Doc - View Source + View Source

    Dispose()

    @@ -282,7 +282,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -316,7 +316,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -365,7 +365,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnCanFocusChanged()

    @@ -382,7 +382,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnabledChanged()

    @@ -399,7 +399,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -448,7 +448,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnKeyDown(KeyEvent)

    @@ -497,7 +497,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnKeyUp(KeyEvent)

    @@ -546,7 +546,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -595,7 +595,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnMouseEnter(MouseEvent)

    @@ -644,7 +644,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnMouseLeave(MouseEvent)

    @@ -693,7 +693,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnVisibleChanged()

    @@ -710,7 +710,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -762,7 +762,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -813,7 +813,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -873,7 +873,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html index 20e29c5693..dbd3e5bc3c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html @@ -544,7 +544,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -559,7 +559,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -725,7 +725,7 @@

    Constructors Improve this Doc - View Source + View Source

    SaveDialog()

    @@ -742,7 +742,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SaveDialog(ustring, ustring, List<String>)

    @@ -788,7 +788,7 @@

    Properties Improve this Doc - View Source + View Source

    FileName

    @@ -837,7 +837,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html index f9be57dc20..c3768efb6e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html @@ -355,7 +355,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -370,7 +370,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -557,7 +557,7 @@

    Constructors Improve this Doc - View Source + View Source

    ScrollBarView()

    @@ -574,7 +574,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ScrollBarView(Int32, Int32, Boolean)

    @@ -618,7 +618,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScrollBarView(Rect)

    @@ -652,7 +652,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScrollBarView(Rect, Int32, Int32, Boolean)

    @@ -701,7 +701,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScrollBarView(View, Boolean, Boolean)

    @@ -747,7 +747,7 @@

    Properties Improve this Doc - View Source + View Source

    AutoHideScrollBars

    @@ -779,7 +779,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Host

    @@ -811,7 +811,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsVertical

    @@ -843,7 +843,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    KeepContentAlwaysInViewport

    @@ -875,7 +875,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OtherScrollBarView

    @@ -907,7 +907,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Position

    @@ -939,7 +939,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowScrollIndicator

    @@ -971,7 +971,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Size

    @@ -1005,7 +1005,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1054,7 +1054,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnChangedPosition()

    @@ -1071,7 +1071,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -1120,7 +1120,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1154,7 +1154,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Refresh()

    @@ -1173,7 +1173,7 @@

    Events Improve this Doc - View Source + View Source

    ChangedPosition

    @@ -1220,7 +1220,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html index 5178408243..e863d477f3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html @@ -343,7 +343,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -358,7 +358,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -542,7 +542,7 @@

    Constructors Improve this Doc - View Source + View Source

    ScrollView()

    @@ -559,7 +559,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ScrollView(Rect)

    @@ -595,7 +595,7 @@

    Properties Improve this Doc - View Source + View Source

    AutoHideScrollBars

    @@ -627,7 +627,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ContentOffset

    @@ -659,7 +659,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ContentSize

    @@ -691,7 +691,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    KeepContentAlwaysInViewport

    @@ -723,7 +723,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowHorizontalScrollIndicator

    @@ -755,7 +755,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowVerticalScrollIndicator

    @@ -789,7 +789,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -825,7 +825,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -859,7 +859,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -908,7 +908,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -957,7 +957,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -974,7 +974,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1023,7 +1023,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1057,7 +1057,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -1076,7 +1076,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ScrollDown(Int32)

    @@ -1125,7 +1125,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollLeft(Int32)

    @@ -1174,7 +1174,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollRight(Int32)

    @@ -1223,7 +1223,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollUp(Int32)

    @@ -1288,7 +1288,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html index 20bebd9303..2e8f71d8af 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    SelectedItemChangedArgs(Int32, Int32)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    PreviousSelectedItem

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedItem

    @@ -245,7 +245,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html b/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html index 8890ede2c4..383167b056 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    Shortcut

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutAction

    @@ -194,7 +194,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutTag

    @@ -228,7 +228,7 @@

    Methods Improve this Doc - View Source + View Source

    CheckKeysFlagRange(Key, Key, Key)

    @@ -287,7 +287,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FindAndOpenByShortcut(KeyEvent, View)

    @@ -341,7 +341,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetKeyToString(Key, out Key)

    @@ -395,7 +395,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetModifiersKey(KeyEvent)

    @@ -444,7 +444,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetShortcutFromTag(ustring, ustring)

    @@ -498,7 +498,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetShortcutTag(Key, ustring)

    @@ -552,7 +552,7 @@
    Returns
    Improve this Doc - View Source + View Source

    PostShortcutValidation(Key)

    @@ -601,7 +601,7 @@
    Returns
    Improve this Doc - View Source + View Source

    PreShortcutValidation(Key)

    @@ -656,7 +656,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Size.html b/docs/api/Terminal.Gui/Terminal.Gui.Size.html index 7b9d901e88..58a2e2678e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Size.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Size.html @@ -113,7 +113,7 @@

    Constructors Improve this Doc - View Source + View Source

    Size(Int32, Int32)

    @@ -152,7 +152,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Size(Point)

    @@ -188,7 +188,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -221,7 +221,7 @@

    Properties Improve this Doc - View Source + View Source

    Height

    @@ -253,7 +253,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsEmpty

    @@ -285,7 +285,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Width

    @@ -319,7 +319,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(Size, Size)

    @@ -373,7 +373,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -424,7 +424,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -458,7 +458,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Subtract(Size, Size)

    @@ -512,7 +512,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    @@ -548,7 +548,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(Size, Size)

    @@ -602,7 +602,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equality(Size, Size)

    @@ -656,7 +656,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Explicit(Size to Point)

    @@ -705,7 +705,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(Size, Size)

    @@ -759,7 +759,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(Size, Size)

    @@ -819,7 +819,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html index b330790321..070b320373 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html @@ -117,7 +117,7 @@

    Constructors Improve this Doc - View Source + View Source

    SizeF(Single, Single)

    @@ -156,7 +156,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SizeF(PointF)

    @@ -191,7 +191,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SizeF(SizeF)

    @@ -228,7 +228,7 @@

    Fields Improve this Doc - View Source + View Source

    Empty

    @@ -261,7 +261,7 @@

    Properties Improve this Doc - View Source + View Source

    Height

    @@ -293,7 +293,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsEmpty

    @@ -326,7 +326,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Width

    @@ -360,7 +360,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(SizeF, SizeF)

    @@ -414,7 +414,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equals(Object)

    @@ -466,7 +466,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Equals(SizeF)

    @@ -515,7 +515,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode()

    @@ -549,7 +549,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Subtract(SizeF, SizeF)

    @@ -603,7 +603,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    @@ -639,7 +639,7 @@

    Operators Improve this Doc - View Source + View Source

    Addition(SizeF, SizeF)

    @@ -693,7 +693,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Division(SizeF, Single)

    @@ -747,7 +747,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Equality(SizeF, SizeF)

    @@ -801,7 +801,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Explicit(SizeF to PointF)

    @@ -850,7 +850,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Inequality(SizeF, SizeF)

    @@ -904,7 +904,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Multiply(Single, SizeF)

    @@ -958,7 +958,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Multiply(SizeF, Single)

    @@ -1012,7 +1012,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Subtraction(SizeF, SizeF)

    @@ -1076,7 +1076,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html b/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html index e19d2187a6..d368c34d3d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StackExtensions.html @@ -130,7 +130,7 @@

    Methods Improve this Doc - View Source + View Source

    Contains<T>(Stack<T>, T, IEqualityComparer<T>)

    @@ -204,7 +204,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    FindDuplicates<T>(Stack<T>, IEqualityComparer<T>)

    @@ -273,7 +273,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    MoveNext<T>(Stack<T>)

    @@ -322,7 +322,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    MovePrevious<T>(Stack<T>)

    @@ -371,7 +371,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    MoveTo<T>(Stack<T>, T, Int32, IEqualityComparer<T>)

    @@ -435,7 +435,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    Replace<T>(Stack<T>, T, T, IEqualityComparer<T>)

    @@ -499,7 +499,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    Swap<T>(Stack<T>, T, T, IEqualityComparer<T>)

    @@ -569,7 +569,7 @@
    Type Parameters
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html index e0743b0997..46c60fbe9a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html @@ -347,7 +347,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -362,7 +362,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessColdKey(KeyEvent) @@ -543,7 +543,7 @@

    Constructors Improve this Doc - View Source + View Source

    StatusBar()

    @@ -560,7 +560,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    StatusBar(StatusItem[])

    @@ -597,7 +597,7 @@

    Properties Improve this Doc - View Source + View Source

    Items

    @@ -629,7 +629,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutDelimiter

    @@ -663,7 +663,7 @@

    Methods Improve this Doc - View Source + View Source

    AddItemAt(Int32, StatusItem)

    @@ -702,7 +702,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -736,7 +736,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -785,7 +785,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -834,7 +834,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -883,7 +883,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -917,7 +917,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveItem(Int32)

    @@ -982,7 +982,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html b/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html index f1a80be846..27973e0541 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StatusItem.html @@ -136,7 +136,7 @@

    Constructors Improve this Doc - View Source + View Source

    StatusItem(Key, ustring, Action)

    @@ -182,7 +182,7 @@

    Properties Improve this Doc - View Source + View Source

    Action

    @@ -214,7 +214,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Shortcut

    @@ -246,7 +246,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -284,7 +284,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html index 15005f037f..7df3c6990e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.Tab.html @@ -130,7 +130,7 @@

    Constructors Improve this Doc - View Source + View Source

    Tab()

    @@ -147,7 +147,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Tab(String, View)

    @@ -188,7 +188,7 @@

    Properties Improve this Doc - View Source + View Source

    Text

    @@ -220,7 +220,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    View

    @@ -258,7 +258,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html index 9e7ace38fa..fdcb4c7d80 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    TabChangedEventArgs(TabView.Tab, TabView.Tab)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    NewTab

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldTab

    @@ -245,7 +245,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html index 754931a713..a85e7e2000 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    ShowBorder

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowTopLine

    @@ -199,7 +199,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabsOnBottom

    @@ -237,7 +237,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html index 7b66d90dd0..21560f9a00 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html @@ -344,7 +344,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -359,7 +359,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -546,7 +546,7 @@

    Constructors Improve this Doc - View Source + View Source

    TabView()

    @@ -565,7 +565,7 @@

    Fields Improve this Doc - View Source + View Source

    DefaultMaxTabTextWidth

    @@ -598,7 +598,7 @@

    Properties Improve this Doc - View Source + View Source

    MaxTabTextWidth

    @@ -631,7 +631,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedTab

    @@ -663,7 +663,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Style

    @@ -695,7 +695,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Tabs

    @@ -727,7 +727,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabScrollOffset

    @@ -762,7 +762,7 @@

    Methods Improve this Doc - View Source + View Source

    AddTab(TabView.Tab, Boolean)

    @@ -801,7 +801,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ApplyStyleChanges()

    @@ -821,7 +821,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -857,7 +857,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    EnsureSelectedTabIsVisible()

    @@ -874,7 +874,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureValidScrollOffsets()

    @@ -891,7 +891,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnSelectedTabChanged(TabView.Tab, TabView.Tab)

    @@ -930,7 +930,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -979,7 +979,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1013,7 +1013,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveTab(TabView.Tab)

    @@ -1049,7 +1049,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SwitchTabBy(Int32)

    @@ -1087,7 +1087,7 @@

    Events Improve this Doc - View Source + View Source

    SelectedTabChanged

    @@ -1134,7 +1134,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html index 91b7f60f82..25cebb282f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    CellActivatedEventArgs(DataTable, Int32, Int32)

    @@ -180,7 +180,7 @@

    Properties Improve this Doc - View Source + View Source

    Col

    @@ -212,7 +212,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Row

    @@ -244,7 +244,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Table

    @@ -282,7 +282,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html index 1ff58c705d..faf216c79c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html @@ -131,7 +131,7 @@

    Properties Improve this Doc - View Source + View Source

    CellValue

    @@ -163,7 +163,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColIdex

    @@ -195,7 +195,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Representation

    @@ -227,7 +227,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RowIndex

    @@ -259,7 +259,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RowScheme

    @@ -291,7 +291,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Table

    @@ -329,7 +329,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html index 09838e4377..b7bf447f40 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html @@ -137,7 +137,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html index 3b28869387..2409a6e5e4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html @@ -133,7 +133,7 @@

    Fields Improve this Doc - View Source + View Source

    AlignmentGetter

    @@ -164,7 +164,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ColorGetter

    @@ -196,7 +196,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    RepresentationGetter

    @@ -229,7 +229,7 @@

    Properties Improve this Doc - View Source + View Source

    Alignment

    @@ -261,7 +261,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Format

    @@ -293,7 +293,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxWidth

    @@ -325,7 +325,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MinAcceptableWidth

    @@ -357,7 +357,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MinWidth

    @@ -400,7 +400,7 @@

    Methods Improve this Doc - View Source + View Source

    GetAlignment(Object)

    @@ -449,7 +449,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetRepresentation(Object)

    @@ -504,7 +504,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html index 80f19bd791..aad7578f72 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html @@ -131,7 +131,7 @@

    Properties Improve this Doc - View Source + View Source

    RowIndex

    @@ -163,7 +163,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Table

    @@ -201,7 +201,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html index b37744b295..5296fc21db 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html @@ -137,7 +137,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html index 5c8107a37c..327fc7192a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    SelectedCellChangedEventArgs(DataTable, Int32, Int32, Int32, Int32)

    @@ -190,7 +190,7 @@

    Properties Improve this Doc - View Source + View Source

    NewCol

    @@ -222,7 +222,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewRow

    @@ -254,7 +254,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldCol

    @@ -286,7 +286,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldRow

    @@ -318,7 +318,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Table

    @@ -356,7 +356,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html index 4c7fe16a5b..423979024d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html @@ -130,7 +130,7 @@

    Constructors Improve this Doc - View Source + View Source

    TableSelection(Point, Rect)

    @@ -171,7 +171,7 @@

    Properties Improve this Doc - View Source + View Source

    Origin

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Rect

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html index fd545d24f5..507fb8260a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html @@ -132,7 +132,7 @@

    Properties Improve this Doc - View Source + View Source

    AlwaysShowHeaders

    @@ -164,7 +164,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColumnStyles

    @@ -196,7 +196,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ExpandLastColumn

    @@ -232,7 +232,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    InvertSelectedCellFirstCharacter

    @@ -266,7 +266,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RowColorGetter

    @@ -298,7 +298,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowHorizontalHeaderOverline

    @@ -330,7 +330,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowHorizontalHeaderUnderline

    @@ -362,7 +362,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowHorizontalScrollIndicators

    @@ -397,7 +397,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowVerticalCellLines

    @@ -429,7 +429,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowVerticalHeaderLines

    @@ -461,7 +461,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SmoothHorizontalScrolling

    @@ -506,7 +506,7 @@

    Methods Improve this Doc - View Source + View Source

    GetColumnStyleIfAny(DataColumn)

    @@ -555,7 +555,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetOrCreateColumnStyle(DataColumn)

    @@ -610,7 +610,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html index 403d5d9cfc..7aab758b2b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html @@ -343,7 +343,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -358,7 +358,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -545,7 +545,7 @@

    Constructors Improve this Doc - View Source + View Source

    TableView()

    @@ -562,7 +562,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TableView(DataTable)

    @@ -598,7 +598,7 @@

    Fields Improve this Doc - View Source + View Source

    DefaultMaxCellWidth

    @@ -629,7 +629,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    DefaultMinAcceptableWidth

    @@ -662,7 +662,7 @@

    Properties Improve this Doc - View Source + View Source

    CellActivationKey

    @@ -694,7 +694,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColumnOffset

    @@ -726,7 +726,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    FullRowSelect

    @@ -758,7 +758,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MaxCellWidth

    @@ -790,7 +790,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MultiSelect

    @@ -822,7 +822,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MultiSelectedRegions

    @@ -854,7 +854,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NullSymbol

    @@ -886,7 +886,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RowOffset

    @@ -918,7 +918,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedColumn

    @@ -950,7 +950,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedRow

    @@ -982,7 +982,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SeparatorSymbol

    @@ -1014,7 +1014,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Style

    @@ -1046,7 +1046,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Table

    @@ -1080,7 +1080,7 @@

    Methods Improve this Doc - View Source + View Source

    CellToScreen(Int32, Int32)

    @@ -1134,7 +1134,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ChangeSelectionByOffset(Int32, Int32, Boolean)

    @@ -1178,7 +1178,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ChangeSelectionToEndOfRow(Boolean)

    @@ -1212,7 +1212,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ChangeSelectionToEndOfTable(Boolean)

    @@ -1246,7 +1246,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ChangeSelectionToStartOfRow(Boolean)

    @@ -1280,7 +1280,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ChangeSelectionToStartOfTable(Boolean)

    @@ -1314,7 +1314,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EnsureSelectedCellIsVisible()

    @@ -1331,7 +1331,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureValidScrollOffsets()

    @@ -1348,7 +1348,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureValidSelection()

    @@ -1365,7 +1365,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GetAllSelectedCells()

    @@ -1397,7 +1397,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsSelected(Int32, Int32)

    @@ -1451,7 +1451,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1500,7 +1500,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnCellActivated(TableView.CellActivatedEventArgs)

    @@ -1534,7 +1534,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs)

    @@ -1568,7 +1568,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PageDown(Boolean)

    @@ -1602,7 +1602,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PageUp(Boolean)

    @@ -1636,7 +1636,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1655,7 +1655,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1704,7 +1704,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1738,7 +1738,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RenderCell(Attribute, String, Boolean)

    @@ -1786,7 +1786,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScreenToCell(Int32, Int32)

    @@ -1840,7 +1840,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SelectAll()

    @@ -1857,7 +1857,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetSelection(Int32, Int32, Boolean)

    @@ -1901,7 +1901,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Update()

    @@ -1920,7 +1920,7 @@

    Events Improve this Doc - View Source + View Source

    CellActivated

    @@ -1951,7 +1951,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    SelectedCellChanged

    @@ -1998,7 +1998,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html b/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html index 1396db610f..da0073f8d2 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextAlignment.html @@ -141,7 +141,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html index 09ecb6f218..21bd0e60ba 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    TextChangingEventArgs(ustring)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -202,7 +202,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewText

    @@ -240,7 +240,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html b/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html index 2c24481220..8695e82f9e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextDirection.html @@ -173,7 +173,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html index f57f006a04..6b76ac59e0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html @@ -335,7 +335,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -350,7 +350,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -493,9 +493,6 @@
    Inherited Members
    - @@ -534,7 +531,7 @@

    Constructors Improve this Doc - View Source + View Source

    TextField()

    @@ -551,7 +548,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TextField(ustring)

    @@ -585,7 +582,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    TextField(Int32, Int32, Int32, ustring)

    @@ -634,7 +631,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    TextField(String)

    @@ -670,7 +667,7 @@

    Properties Improve this Doc - View Source + View Source

    Autocomplete

    @@ -703,7 +700,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanFocus

    @@ -735,7 +732,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ContextMenu

    @@ -767,7 +764,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorPosition

    @@ -799,7 +796,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DesiredCursorVisibility

    @@ -831,7 +828,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Frame

    @@ -863,7 +860,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    HasHistoryChanges

    @@ -896,7 +893,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsDirty

    @@ -929,7 +926,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ReadOnly

    @@ -961,7 +958,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScrollOffset

    @@ -993,7 +990,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Secret

    @@ -1025,7 +1022,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedLength

    @@ -1057,7 +1054,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedStart

    @@ -1089,7 +1086,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedText

    @@ -1121,7 +1118,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -1153,7 +1150,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Used

    @@ -1187,7 +1184,7 @@

    Methods Improve this Doc - View Source + View Source

    ClearAllSelection()

    @@ -1204,7 +1201,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ClearHistoryChanges()

    @@ -1221,7 +1218,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Copy()

    @@ -1238,7 +1235,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Cut()

    @@ -1255,7 +1252,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteAll()

    @@ -1272,7 +1269,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteCharLeft(Boolean)

    @@ -1306,7 +1303,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DeleteCharRight()

    @@ -1318,12 +1315,44 @@
    Declaration
    public virtual void DeleteCharRight()
    + + | + Improve this Doc + + + View Source + + +

    GetNormalColor()

    +
    +
    +
    Declaration
    +
    +
    public override Attribute GetNormalColor()
    +
    +
    Returns
    +
    System.Collections.Generic.List<System.Func<System.Boolean>>System.Collections.ObjectModel.ReadOnlyCollection<System.Func<System.Boolean>>
    + + + + + + + + + + + + +
    TypeDescription
    Attribute
    +
    Overrides
    + | Improve this Doc - View Source + View Source

    InsertText(String, Boolean)

    @@ -1363,7 +1392,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    KillWordBackwards()

    @@ -1380,7 +1409,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    KillWordForwards()

    @@ -1397,7 +1426,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1446,7 +1475,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -1495,7 +1524,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -1544,7 +1573,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnTextChanging(ustring)

    @@ -1593,7 +1622,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Paste()

    @@ -1610,7 +1639,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1629,7 +1658,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1680,7 +1709,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1714,7 +1743,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    SelectAll()

    @@ -1733,7 +1762,7 @@

    Events Improve this Doc - View Source + View Source

    TextChanged

    @@ -1764,7 +1793,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    TextChanging

    @@ -1811,7 +1840,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html index 7c4f638b94..6678f00843 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html @@ -221,7 +221,7 @@

    Methods Improve this Doc - View Source + View Source

    DeleteTextBackwards()

    @@ -238,7 +238,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetCurrentWord()

    @@ -270,7 +270,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    InsertText(String)

    @@ -314,7 +314,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html index 22999cd297..54bf724977 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    Alignment

    @@ -162,7 +162,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AutoSize

    @@ -197,7 +197,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorPosition

    @@ -229,7 +229,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Direction

    @@ -261,7 +261,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKey

    @@ -293,7 +293,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKeyPos

    @@ -325,7 +325,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKeySpecifier

    @@ -357,7 +357,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKeyTagMask

    @@ -390,7 +390,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Lines

    @@ -422,12 +422,12 @@
    Property Value
    Improve this Doc - View Source + View Source

    NeedsFormat

    -Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute, Rect) is called. +Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute, Rect, Boolean) is called. If it is false when Draw is called, the Draw call will be faster.
    @@ -455,7 +455,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    PreserveTrailingSpaces

    @@ -490,7 +490,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Size

    @@ -522,7 +522,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -554,7 +554,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    VerticalAlignment

    @@ -588,7 +588,7 @@

    Methods Improve this Doc - View Source + View Source

    CalcRect(Int32, Int32, ustring, TextDirection)

    @@ -652,7 +652,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ClipAndJustify(ustring, Int32, Boolean, TextDirection)

    @@ -716,7 +716,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ClipAndJustify(ustring, Int32, TextAlignment, TextDirection)

    @@ -780,7 +780,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ClipOrPad(String, Int32)

    @@ -833,20 +833,20 @@
    Returns
    | - Improve this Doc + Improve this Doc - View Source + View Source -

    Draw(Rect, Attribute, Attribute, Rect)

    +

    Draw(Rect, Attribute, Attribute, Rect, Boolean)

    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))
    +
    public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default(Rect), bool fillRemaining = true)
    Parameters
    @@ -878,6 +878,11 @@
    Parameters
    + + + + +
    containerBounds Specifies the screen-relative location and maximum container size.
    System.BooleanfillRemainingDetermines if the bounds width will be used (default) or only the text width will be used.
    @@ -885,7 +890,7 @@
    Parameters
    Improve this Doc
    - View Source + View Source

    FindHotKey(ustring, Rune, Boolean, out Int32, out Key)

    @@ -955,7 +960,7 @@
    Returns
    Improve this Doc - View Source + View Source

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

    @@ -1034,7 +1039,7 @@
    Returns
    Improve this Doc - View Source + View Source

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

    @@ -1113,7 +1118,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetMaxColsForWidth(List<ustring>, Int32)

    @@ -1167,7 +1172,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetMaxLengthForWidth(ustring, Int32)

    @@ -1221,7 +1226,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetMaxLengthForWidth(List<Rune>, Int32)

    @@ -1275,7 +1280,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetSumMaxCharWidth(ustring, Int32, Int32)

    @@ -1335,7 +1340,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetSumMaxCharWidth(List<ustring>, Int32, Int32)

    @@ -1395,7 +1400,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetTextWidth(ustring)

    @@ -1444,7 +1449,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsHorizontalDirection(TextDirection)

    @@ -1493,7 +1498,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsLeftToRight(TextDirection)

    @@ -1542,7 +1547,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsTopToBottom(TextDirection)

    @@ -1591,7 +1596,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsVerticalDirection(TextDirection)

    @@ -1640,7 +1645,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Justify(ustring, Int32, Char, TextDirection)

    @@ -1705,7 +1710,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MaxLines(ustring, Int32)

    @@ -1759,7 +1764,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MaxWidth(ustring, Int32)

    @@ -1808,12 +1813,62 @@
    Returns
    + + | + Improve this Doc + + + View Source + + +

    MaxWidthLine(ustring)

    +
    +Determines the line with the highest width in the +text if it contains newlines. +
    +
    +
    Declaration
    +
    +
    public static int MaxWidthLine(ustring text)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    NStack.ustringtextText, may contain newlines.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32The highest line width.
    | Improve this Doc - View Source + View Source

    RemoveHotKeySpecifier(ustring, Int32, Rune)

    @@ -1872,7 +1927,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ReplaceHotKeyWithTag(ustring, Int32)

    @@ -1922,12 +1977,62 @@
    Returns
    + + | + Improve this Doc + + + View Source + + +

    SplitNewLine(ustring)

    +
    +Splits all newlines in the text into a list +and supports both CRLF and LF, preserving the ending newline. +
    +
    +
    Declaration
    +
    +
    public static List<ustring> SplitNewLine(ustring text)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    NStack.ustringtextThe text.
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Collections.Generic.List<NStack.ustring>A list of text without the newline characters.
    | Improve this Doc - View Source + View Source

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

    @@ -1999,7 +2104,7 @@

    Events Improve this Doc - View Source + View Source

    HotKeyChanged

    @@ -2036,7 +2141,7 @@
    Event Type
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html index 7a742b9baa..d634093183 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html @@ -341,7 +341,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -356,7 +356,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -540,7 +540,7 @@

    Constructors Improve this Doc - View Source + View Source

    TextValidateField()

    @@ -557,7 +557,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TextValidateField(ITextValidateProvider)

    @@ -593,7 +593,7 @@

    Properties Improve this Doc - View Source + View Source

    IsValid

    @@ -625,7 +625,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Provider

    @@ -657,7 +657,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -691,7 +691,7 @@

    Methods Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -740,7 +740,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -757,7 +757,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -806,7 +806,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -856,7 +856,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html index 068bce3a28..35515c59ed 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html @@ -102,7 +102,7 @@

    Properties Improve this Doc - View Source + View Source

    DisplayText

    @@ -134,7 +134,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Fixed

    @@ -167,7 +167,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsValid

    @@ -199,7 +199,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -233,7 +233,7 @@

    Methods Improve this Doc - View Source + View Source

    Cursor(Int32)

    @@ -282,7 +282,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorEnd()

    @@ -314,7 +314,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorLeft(Int32)

    @@ -363,7 +363,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorRight(Int32)

    @@ -412,7 +412,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorStart()

    @@ -444,7 +444,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Delete(Int32)

    @@ -493,7 +493,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InsertAt(Char, Int32)

    @@ -553,7 +553,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html index 16ebfa4da0..333d2d6fe0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html @@ -137,7 +137,7 @@

    Constructors Improve this Doc - View Source + View Source

    NetMaskedTextProvider(String)

    @@ -173,7 +173,7 @@

    Properties Improve this Doc - View Source + View Source

    DisplayText

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Fixed

    @@ -233,7 +233,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsValid

    @@ -263,7 +263,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Mask

    @@ -295,7 +295,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -327,7 +327,7 @@

    Methods Improve this Doc - View Source + View Source

    Cursor(Int32)

    @@ -374,7 +374,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorEnd()

    @@ -404,7 +404,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorLeft(Int32)

    @@ -451,7 +451,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorRight(Int32)

    @@ -498,7 +498,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorStart()

    @@ -528,7 +528,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Delete(Int32)

    @@ -575,7 +575,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InsertAt(Char, Int32)

    @@ -637,7 +637,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html index 9cf3ba96fc..214ec91f79 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    TextRegexProvider(String)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    DisplayText

    @@ -200,7 +200,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Fixed

    @@ -230,7 +230,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsValid

    @@ -260,7 +260,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Pattern

    @@ -292,7 +292,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -322,7 +322,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ValidateOnInput

    @@ -356,7 +356,7 @@

    Methods Improve this Doc - View Source + View Source

    Cursor(Int32)

    @@ -403,7 +403,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorEnd()

    @@ -433,7 +433,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorLeft(Int32)

    @@ -480,7 +480,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorRight(Int32)

    @@ -527,7 +527,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CursorStart()

    @@ -557,7 +557,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Delete(Int32)

    @@ -604,7 +604,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InsertAt(Char, Int32)

    @@ -666,7 +666,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html index d4ebe46e03..9656667ffb 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html @@ -374,7 +374,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -389,7 +389,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -529,9 +529,6 @@
    Inherited Members
    - @@ -570,7 +567,7 @@

    Constructors Improve this Doc - View Source + View Source

    TextView()

    @@ -588,7 +585,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TextView(Rect)

    @@ -624,7 +621,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowsReturn

    @@ -657,7 +654,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AllowsTab

    @@ -692,7 +689,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Autocomplete

    @@ -725,7 +722,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    BottomOffset

    @@ -758,7 +755,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanFocus

    @@ -790,7 +787,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ContextMenu

    @@ -822,7 +819,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CurrentColumn

    @@ -854,7 +851,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CurrentRow

    @@ -886,7 +883,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CursorPosition

    @@ -918,7 +915,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DesiredCursorVisibility

    @@ -950,7 +947,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Frame

    @@ -982,7 +979,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    HasHistoryChanges

    @@ -1015,7 +1012,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsDirty

    @@ -1048,7 +1045,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LeftColumn

    @@ -1080,7 +1077,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Lines

    @@ -1112,7 +1109,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Maxlength

    @@ -1144,7 +1141,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Multiline

    @@ -1176,7 +1173,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ReadOnly

    @@ -1208,7 +1205,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RightOffset

    @@ -1241,7 +1238,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedLength

    @@ -1273,7 +1270,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedText

    @@ -1305,7 +1302,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Selecting

    @@ -1337,7 +1334,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectionStartColumn

    @@ -1369,7 +1366,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectionStartRow

    @@ -1401,7 +1398,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabWidth

    @@ -1433,7 +1430,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -1467,7 +1464,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    TopRow

    @@ -1499,7 +1496,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Used

    @@ -1532,7 +1529,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WordWrap

    @@ -1566,7 +1563,7 @@

    Methods Improve this Doc - View Source + View Source

    ClearHistoryChanges()

    @@ -1583,7 +1580,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    CloseFile()

    @@ -1610,152 +1607,12 @@
    Returns
    - - | - Improve this Doc - - - View Source - - -

    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()
    -
    - - | - Improve this Doc - - - View Source - - -

    ColorNormal(List<Rune>, 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<Rune> line, int idx)
    -
    -
    Parameters
    - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    - - | - Improve this Doc - - - View Source - - -

    ColorSelection(List<Rune>, 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<Rune> line, int idx)
    -
    -
    Parameters
    - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    - - | - Improve this Doc - - - View Source - - -

    ColorUsed(List<Rune>, 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<Rune> line, int idx)
    -
    -
    Parameters
    - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    | Improve this Doc - View Source + View Source

    Copy()

    @@ -1772,7 +1629,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Cut()

    @@ -1789,7 +1646,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteAll()

    @@ -1806,7 +1663,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteCharLeft()

    @@ -1823,7 +1680,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DeleteCharRight()

    @@ -1840,7 +1697,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean)

    @@ -1914,7 +1771,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean)

    @@ -1988,7 +1845,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FindTextChanged()

    @@ -2005,7 +1862,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GetCurrentLine()

    @@ -2034,12 +1891,44 @@
    Returns
    + + | + Improve this Doc + + + View Source + + +

    GetNormalColor()

    +
    +
    +
    Declaration
    +
    +
    public override Attribute GetNormalColor()
    +
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    Attribute
    +
    Overrides
    + | Improve this Doc - View Source + View Source

    InsertText(String)

    @@ -2074,7 +1963,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    LoadFile(String)

    @@ -2123,7 +2012,7 @@
    Returns
    Improve this Doc - View Source + View Source

    LoadStream(Stream)

    @@ -2157,7 +2046,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -2206,7 +2095,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MoveEnd()

    @@ -2223,7 +2112,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MoveHome()

    @@ -2240,7 +2129,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -2289,7 +2178,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyUp(KeyEvent)

    @@ -2338,7 +2227,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -2382,12 +2271,51 @@
    Returns
    Overrides
    + + | + Improve this Doc + + + View Source + + +

    OnUnwrappedCursorPosition(Nullable<Int32>, Nullable<Int32>)

    +
    +Invoke the UnwrappedCursorPosition event with the unwrapped CursorPosition. +
    +
    +
    Declaration
    +
    +
    public virtual void OnUnwrappedCursorPosition(int? cRow = null, int? cCol = null)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Nullable<System.Int32>cRow
    System.Nullable<System.Int32>cCol
    | Improve this Doc - View Source + View Source

    Paste()

    @@ -2404,7 +2332,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -2423,7 +2351,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -2472,7 +2400,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -2506,7 +2434,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ReplaceAllText(ustring, Boolean, Boolean, ustring)

    @@ -2570,7 +2498,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ScrollTo(Int32, Boolean)

    @@ -2611,7 +2539,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SelectAll()

    @@ -2623,6 +2551,187 @@
    Declaration
    public void SelectAll()
    + + | + Improve this Doc + + + View Source + + +

    SetNormalColor()

    +
    +Sets the driver to the default color for the control where no text is being rendered. Defaults to Normal. +
    +
    +
    Declaration
    +
    +
    protected virtual void SetNormalColor()
    +
    + + | + Improve this Doc + + + View Source + + +

    SetNormalColor(List<Rune>, 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 SetNormalColor(List<Rune> line, int idx)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    + + | + Improve this Doc + + + View Source + + +

    SetReadOnlyColor(List<Rune>, 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 SetReadOnlyColor(List<Rune> line, int idx)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    + + | + Improve this Doc + + + View Source + + +

    SetSelectionColor(List<Rune>, 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 SetSelectionColor(List<Rune> line, int idx)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx
    + + | + Improve this Doc + + + View Source + + +

    SetUsedColor(List<Rune>, 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 SetUsedColor(List<Rune> line, int idx)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Collections.Generic.List<System.Rune>line
    System.Int32idx

    Events

    @@ -2630,7 +2739,7 @@

    Events Improve this Doc - View Source + View Source

    TextChanged

    @@ -2656,6 +2765,37 @@
    Event Type
    + + | + Improve this Doc + + + View Source + +

    UnwrappedCursorPosition

    +
    +Invoked with the unwrapped CursorPosition. +
    +
    +
    Declaration
    +
    +
    public event Action<Point> UnwrappedCursorPosition
    +
    +
    Event Type
    + + + + + + + + + + + + + +
    TypeDescription
    System.Action<Point>

    Implements

    System.IDisposable @@ -2677,7 +2817,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html b/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html index 7c0e7aac70..fcbf8a508c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html @@ -221,7 +221,7 @@

    Methods Improve this Doc - View Source + View Source

    DeleteTextBackwards()

    @@ -238,7 +238,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetCurrentWord()

    @@ -270,7 +270,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    InsertText(String)

    @@ -314,7 +314,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html b/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html index e416ed884b..12bf8b758e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Thickness.html @@ -121,7 +121,7 @@

    Constructors Improve this Doc - View Source + View Source

    Thickness(Int32)

    @@ -156,7 +156,7 @@
    Parameters
    Improve this Doc
    - View Source + View Source

    Thickness(Int32, Int32, Int32, Int32)

    @@ -208,7 +208,7 @@

    Fields Improve this Doc - View Source + View Source

    Bottom

    @@ -239,7 +239,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Left

    @@ -270,7 +270,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Right

    @@ -301,7 +301,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Top

    @@ -334,7 +334,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -372,7 +372,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html index bcb1bd11e8..5e2a87028c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html @@ -153,6 +153,9 @@
    Inherited Members
    + @@ -430,7 +433,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -445,7 +448,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -588,9 +591,6 @@
    Inherited Members
    - @@ -629,7 +629,7 @@

    Constructors Improve this Doc - View Source + View Source

    TimeField()

    @@ -646,7 +646,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TimeField(Int32, Int32, TimeSpan, Boolean)

    @@ -695,7 +695,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    TimeField(TimeSpan)

    @@ -731,7 +731,7 @@

    Properties Improve this Doc - View Source + View Source

    CursorPosition

    @@ -763,7 +763,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    IsShortFormat

    @@ -795,7 +795,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Time

    @@ -829,7 +829,7 @@

    Methods Improve this Doc - View Source + View Source

    DeleteCharLeft(Boolean)

    @@ -863,7 +863,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DeleteCharRight()

    @@ -880,7 +880,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -929,7 +929,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnTimeChanged(DateTimeEventArgs<TimeSpan>)

    @@ -963,7 +963,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1014,7 +1014,7 @@

    Events Improve this Doc - View Source + View Source

    TimeChanged

    @@ -1061,7 +1061,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html index 6eb16f2d75..6320719517 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html @@ -359,7 +359,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -374,7 +374,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -552,7 +552,7 @@

    Constructors Improve this Doc - View Source + View Source

    Toplevel()

    @@ -570,7 +570,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Toplevel(Rect)

    @@ -606,7 +606,7 @@

    Properties Improve this Doc - View Source + View Source

    CanFocus

    @@ -640,7 +640,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    IsMdiChild

    @@ -672,7 +672,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsMdiContainer

    @@ -704,7 +704,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MenuBar

    @@ -736,7 +736,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Modal

    @@ -775,7 +775,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Running

    @@ -807,7 +807,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    StatusBar

    @@ -841,7 +841,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -875,7 +875,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Create()

    @@ -907,7 +907,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetTopMdiChild(Type, String[])

    @@ -961,7 +961,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -1010,7 +1010,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MoveNext()

    @@ -1027,7 +1027,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    MovePrevious()

    @@ -1044,7 +1044,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnAlternateBackwardKeyChanged(Key)

    @@ -1078,7 +1078,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnAlternateForwardKeyChanged(Key)

    @@ -1112,7 +1112,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnKeyDown(KeyEvent)

    @@ -1161,7 +1161,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyUp(KeyEvent)

    @@ -1210,7 +1210,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLoaded()

    @@ -1227,7 +1227,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    OnQuitKeyChanged(Key)

    @@ -1261,7 +1261,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -1278,7 +1278,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PositionToplevel(Toplevel)

    @@ -1312,7 +1312,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -1361,7 +1361,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1410,7 +1410,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1444,7 +1444,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -1478,7 +1478,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -1495,7 +1495,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RequestStop()

    @@ -1513,7 +1513,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    RequestStop(Toplevel)

    @@ -1548,7 +1548,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ShowChild(Toplevel)

    @@ -1597,7 +1597,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WillPresent()

    @@ -1617,7 +1617,7 @@

    Events Improve this Doc - View Source + View Source

    Activate

    @@ -1648,7 +1648,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    AllChildClosed

    @@ -1680,7 +1680,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    AlternateBackwardKeyChanged

    @@ -1711,7 +1711,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    AlternateForwardKeyChanged

    @@ -1742,7 +1742,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    ChildClosed

    @@ -1774,7 +1774,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    ChildLoaded

    @@ -1805,7 +1805,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    ChildUnloaded

    @@ -1836,7 +1836,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Closed

    @@ -1867,7 +1867,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Closing

    @@ -1899,7 +1899,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Deactivate

    @@ -1930,7 +1930,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Loaded

    @@ -1963,7 +1963,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    QuitKeyChanged

    @@ -1994,7 +1994,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Ready

    @@ -2029,7 +2029,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Resized

    @@ -2060,7 +2060,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Unloaded

    @@ -2108,7 +2108,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html index b662707f3e..b20c12f88d 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    ToplevelClosingEventArgs(Toplevel)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -202,7 +202,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    RequestingTop

    @@ -240,7 +240,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html index 35ad6cdaf3..0a2599b85f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html @@ -135,7 +135,7 @@

    Methods Improve this Doc - View Source + View Source

    Compare(Toplevel, Toplevel)

    @@ -200,7 +200,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html index 6d1aafc3e9..d013a12e0b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html @@ -135,7 +135,7 @@

    Methods Improve this Doc - View Source + View Source

    Equals(Toplevel, Toplevel)

    @@ -188,7 +188,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHashCode(Toplevel)

    @@ -261,7 +261,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html index 553e504310..87635b98a6 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html @@ -343,7 +343,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -358,7 +358,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -560,7 +560,7 @@

    Constructors Improve this Doc - View Source + View Source

    TreeView()

    @@ -579,7 +579,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TreeView(ITreeBuilder<T>)

    @@ -617,7 +617,7 @@

    Fields Improve this Doc - View Source + View Source

    NoBuilderError

    @@ -651,7 +651,7 @@

    Properties Improve this Doc - View Source + View Source

    AllowLetterBasedNavigation

    @@ -684,7 +684,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    AspectGetter

    @@ -717,7 +717,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColorGetter

    @@ -750,7 +750,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ContentHeight

    @@ -782,7 +782,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    DesiredCursorVisibility

    @@ -814,7 +814,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MultiSelect

    @@ -846,7 +846,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ObjectActivationButton

    @@ -880,7 +880,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ObjectActivationKey

    @@ -913,7 +913,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Objects

    @@ -945,7 +945,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScrollOffsetHorizontal

    @@ -977,7 +977,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ScrollOffsetVertical

    @@ -1010,7 +1010,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SelectedObject

    @@ -1043,7 +1043,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Style

    @@ -1075,7 +1075,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TreeBuilder

    @@ -1110,7 +1110,7 @@

    Methods Improve this Doc - View Source + View Source

    ActivateSelectedObjectIfAny()

    @@ -1129,7 +1129,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    AddObject(T)

    @@ -1163,7 +1163,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AddObjects(IEnumerable<T>)

    @@ -1197,7 +1197,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AdjustSelection(Int32, Boolean)

    @@ -1238,7 +1238,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AdjustSelectionToBranchEnd()

    @@ -1255,7 +1255,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    AdjustSelectionToBranchStart()

    @@ -1272,7 +1272,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    AdjustSelectionToNextItemBeginningWith(Char, StringComparison)

    @@ -1312,7 +1312,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CanExpand(T)

    @@ -1362,7 +1362,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ClearObjects()

    @@ -1379,7 +1379,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Collapse()

    @@ -1396,7 +1396,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Collapse(T)

    @@ -1430,7 +1430,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CollapseAll()

    @@ -1447,7 +1447,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    CollapseAll(T)

    @@ -1482,7 +1482,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CollapseImpl(T, Boolean)

    @@ -1522,7 +1522,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    CursorLeft(Boolean)

    @@ -1558,7 +1558,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EnsureVisible(T)

    @@ -1593,7 +1593,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Expand()

    @@ -1610,7 +1610,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Expand(T)

    @@ -1645,7 +1645,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ExpandAll()

    @@ -1663,7 +1663,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ExpandAll(T)

    @@ -1697,7 +1697,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GetAllSelectedObjects()

    @@ -1730,7 +1730,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetChildren(T)

    @@ -1780,7 +1780,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetContentWidth(Boolean)

    @@ -1831,7 +1831,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetObjectOnRow(Int32)

    @@ -1885,7 +1885,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetObjectRow(T)

    @@ -1942,7 +1942,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetParent(T)

    @@ -1992,7 +1992,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetScrollOffsetOf(T)

    @@ -2044,7 +2044,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GoTo(T)

    @@ -2080,7 +2080,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GoToEnd()

    @@ -2098,7 +2098,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GoToFirst()

    @@ -2116,7 +2116,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    InvalidateLineMap()

    @@ -2133,7 +2133,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    IsExpanded(T)

    @@ -2183,7 +2183,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsSelected(T)

    @@ -2233,7 +2233,7 @@
    Returns
    Improve this Doc - View Source + View Source

    MouseEvent(MouseEvent)

    @@ -2282,7 +2282,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    MovePageDown(Boolean)

    @@ -2331,7 +2331,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    MovePageUp(Boolean)

    @@ -2380,7 +2380,7 @@
    Exceptions
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -2429,7 +2429,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnObjectActivated(ObjectActivatedEventArgs<T>)

    @@ -2463,7 +2463,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnSelectionChanged(SelectionChangedEventArgs<T>)

    @@ -2497,7 +2497,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -2516,7 +2516,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -2565,7 +2565,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RebuildTree()

    @@ -2584,7 +2584,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -2618,7 +2618,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RefreshObject(T, Boolean)

    @@ -2659,7 +2659,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Remove(T)

    @@ -2693,7 +2693,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScrollDown()

    @@ -2710,7 +2710,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ScrollUp()

    @@ -2727,7 +2727,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SelectAll()

    @@ -2747,7 +2747,7 @@

    Events Improve this Doc - View Source + View Source

    ObjectActivated

    @@ -2779,7 +2779,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    SelectionChanged

    @@ -2829,7 +2829,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html b/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html index 55b1807b32..6fbca27d77 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TreeView.html @@ -538,7 +538,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -553,7 +553,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -740,7 +740,7 @@

    Constructors Improve this Doc - View Source + View Source

    TreeView()

    @@ -777,7 +777,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • 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 862b936e55..22c2df34bb 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html @@ -154,7 +154,7 @@
    Type Parameters
    Improve this Doc
  • - View Source + View Source
  • 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 189599a976..e886311fb9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html @@ -153,7 +153,7 @@

    Constructors Improve this Doc - View Source + View Source

    DelegateTreeBuilder(Func<T, IEnumerable<T>>)

    @@ -188,7 +188,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DelegateTreeBuilder(Func<T, IEnumerable<T>>, Func<T, Boolean>)

    @@ -231,7 +231,7 @@

    Methods Improve this Doc - View Source + View Source

    CanExpand(T)

    @@ -282,7 +282,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    GetChildren(T)

    @@ -343,7 +343,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • 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 3336efef21..b844378228 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html @@ -117,7 +117,7 @@

    Properties Improve this Doc - View Source + View Source

    SupportsCanExpand

    @@ -151,7 +151,7 @@

    Methods Improve this Doc - View Source + View Source

    CanExpand(T)

    @@ -203,7 +203,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetChildren(T)

    @@ -259,7 +259,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html index ae54d6d133..e03f313866 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html @@ -103,7 +103,7 @@

    Properties Improve this Doc - View Source + View Source

    Children

    @@ -135,7 +135,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Tag

    @@ -167,7 +167,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -205,7 +205,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • 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 4e3866d4bb..d2338eed18 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html @@ -147,7 +147,7 @@

    Constructors Improve this Doc - View Source + View Source

    ObjectActivatedEventArgs(TreeView<T>, T)

    @@ -188,7 +188,7 @@

    Properties Improve this Doc - View Source + View Source

    ActivatedObject

    @@ -220,7 +220,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Tree

    @@ -258,7 +258,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • 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 7a1459088f..7c062089d3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html @@ -149,7 +149,7 @@

    Constructors Improve this Doc - View Source + View Source

    SelectionChangedEventArgs(TreeView<T>, T, T)

    @@ -196,7 +196,7 @@

    Properties Improve this Doc - View Source + View Source

    NewValue

    @@ -228,7 +228,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldValue

    @@ -260,7 +260,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Tree

    @@ -298,7 +298,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • 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 4da2a6ba48..3eb8d9c233 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html @@ -151,7 +151,7 @@

    Constructors Improve this Doc - View Source + View Source

    TreeBuilder(Boolean)

    @@ -188,7 +188,7 @@

    Properties Improve this Doc - View Source + View Source

    SupportsCanExpand

    @@ -220,7 +220,7 @@

    Methods Improve this Doc - View Source + View Source

    CanExpand(T)

    @@ -271,7 +271,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetChildren(T)

    @@ -328,7 +328,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html index 80d55f450d..0072efcdaf 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html @@ -131,7 +131,7 @@

    Constructors Improve this Doc - View Source + View Source

    TreeNode()

    @@ -148,7 +148,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    TreeNode(String)

    @@ -184,7 +184,7 @@

    Properties Improve this Doc - View Source + View Source

    Children

    @@ -216,7 +216,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Tag

    @@ -248,7 +248,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -282,7 +282,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -326,7 +326,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html index 0269f087a2..bfc2e8e7c0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html @@ -141,7 +141,7 @@

    Constructors Improve this Doc - View Source + View Source

    TreeNodeBuilder()

    @@ -161,7 +161,7 @@

    Methods Improve this Doc - View Source + View Source

    GetChildren(ITreeNode)

    @@ -222,7 +222,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html index 88727155ea..0dbf6de714 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html @@ -130,7 +130,7 @@

    Properties Improve this Doc - View Source + View Source

    CollapseableSymbol

    @@ -163,7 +163,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ColorExpandSymbol

    @@ -195,7 +195,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ExpandableSymbol

    @@ -228,7 +228,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    InvertExpandSymbolColors

    @@ -260,7 +260,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LeaveLastRow

    @@ -294,7 +294,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShowBranchLines

    @@ -333,7 +333,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html b/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html index bac2952b17..de9c172b97 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html @@ -141,7 +141,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html index 3a01e2bdb5..853974ac46 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    FocusEventArgs(View)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Handled

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    View

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html index 1f264f4939..df514dbf05 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    KeyEventEventArgs(KeyEvent)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Handled

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    KeyEvent

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html index 462fc48613..d56922f8a9 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html @@ -134,7 +134,7 @@

    Properties Improve this Doc - View Source + View Source

    OldBounds

    @@ -172,7 +172,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html index 29e850bbfc..662025276e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    MouseEventArgs(MouseEvent)

    @@ -170,7 +170,7 @@

    Properties Improve this Doc - View Source + View Source

    Handled

    @@ -203,7 +203,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MouseEvent

    @@ -241,7 +241,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.html b/docs/api/Terminal.Gui/Terminal.Gui.View.html index 7a734fb944..f9501589bd 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.html @@ -236,7 +236,7 @@

    Constructors Improve this Doc - View Source + View Source

    View()

    @@ -253,7 +253,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    View(ustring, TextDirection, Border)

    @@ -297,7 +297,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    View(Int32, Int32, ustring)

    @@ -341,7 +341,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    View(Rect)

    @@ -376,7 +376,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    View(Rect, ustring, Border)

    @@ -422,7 +422,7 @@

    Properties Improve this Doc - View Source + View Source

    AutoSize

    @@ -459,7 +459,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Border

    @@ -489,7 +489,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Bounds

    @@ -521,7 +521,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CanFocus

    @@ -553,7 +553,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ColorScheme

    @@ -586,7 +586,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Data

    @@ -618,7 +618,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Driver

    @@ -651,7 +651,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Enabled

    @@ -683,7 +683,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Focused

    @@ -715,7 +715,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ForceValidatePosDim

    @@ -748,7 +748,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Frame

    @@ -780,7 +780,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HasFocus

    @@ -812,7 +812,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Height

    @@ -844,7 +844,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKey

    @@ -876,7 +876,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HotKeySpecifier

    @@ -908,7 +908,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Id

    @@ -940,7 +940,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsAdded

    @@ -972,7 +972,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsCurrentTop

    @@ -1004,7 +1004,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    IsInitialized

    @@ -1037,7 +1037,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LayoutStyle

    @@ -1071,7 +1071,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    MostFocused

    @@ -1103,7 +1103,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    PreserveTrailingSpaces

    @@ -1138,7 +1138,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Shortcut

    @@ -1170,7 +1170,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutAction

    @@ -1202,7 +1202,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    ShortcutTag

    @@ -1234,7 +1234,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Subviews

    @@ -1266,7 +1266,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SuperView

    @@ -1298,7 +1298,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabIndex

    @@ -1330,7 +1330,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabIndexes

    @@ -1362,7 +1362,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TabStop

    @@ -1394,7 +1394,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Text

    @@ -1426,7 +1426,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TextAlignment

    @@ -1458,7 +1458,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TextDirection

    @@ -1490,7 +1490,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TextFormatter

    @@ -1522,7 +1522,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    VerticalTextAlignment

    @@ -1554,7 +1554,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Visible

    @@ -1586,7 +1586,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    WantContinuousButtonPressed

    @@ -1618,7 +1618,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    WantMousePositionReports

    @@ -1650,7 +1650,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Width

    @@ -1682,7 +1682,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    X

    @@ -1714,7 +1714,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Y

    @@ -1748,7 +1748,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -1782,7 +1782,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Add(View[])

    @@ -1816,7 +1816,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AddCommand(Command, Func<Nullable<Boolean>>)

    @@ -1856,24 +1856,26 @@
    Parameters
    | - Improve this Doc + Improve this Doc - View Source + View Source -

    AddKeyBinding(Key, Command)

    +

    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

    +Commands are only ever applied to the current View(i.e. this feature +cannot be used to switch focus to another view and perform multiple commands there)
    Declaration
    -
    public void AddKeyBinding(Key key, Command command)
    +
    public void AddKeyBinding(Key key, params Command[] command)
    Parameters
    @@ -1891,9 +1893,11 @@
    Parameters
    - + - +
    CommandCommand[] commandThe command(s) to run on the View when key is pressed. +When specifying multiple, all commands will be applied in sequence. The bound key strike +will be consumed if any took effect.
    @@ -1902,7 +1906,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    AddRune(Int32, Int32, Rune)

    @@ -1946,7 +1950,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    BeginInit()

    @@ -1963,7 +1967,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    BringSubviewForward(View)

    @@ -1997,7 +2001,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    BringSubviewToFront(View)

    @@ -2031,7 +2035,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Clear()

    @@ -2048,7 +2052,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Clear(Rect)

    @@ -2079,13 +2083,13 @@
    Parameters
    | - Improve this Doc + Improve this Doc - View Source + View Source -

    ClearKeybinding(Command)

    +

    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. @@ -2093,7 +2097,7 @@

    Declaration
    -
    public void ClearKeybinding(Command command)
    +
    public void ClearKeybinding(params Command[] command)
    Parameters
    @@ -2106,7 +2110,7 @@
    Parameters
    - + @@ -2117,7 +2121,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ClearKeybinding(Key)

    @@ -2151,7 +2155,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ClearKeybindings()

    @@ -2169,7 +2173,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ClearLayoutNeeded()

    @@ -2186,7 +2190,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ClearNeedsDisplay()

    @@ -2203,7 +2207,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ClipToBounds()

    @@ -2235,7 +2239,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ContainsKeyBinding(Key)

    @@ -2284,7 +2288,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -2318,7 +2322,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    DrawFrame(Rect, Int32, Boolean)

    @@ -2362,7 +2366,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawHotString(ustring, Boolean, ColorScheme)

    @@ -2406,7 +2410,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DrawHotString(ustring, Attribute, Attribute)

    @@ -2450,7 +2454,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EndInit()

    @@ -2467,7 +2471,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    EnsureFocus()

    @@ -2484,7 +2488,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FocusFirst()

    @@ -2501,7 +2505,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FocusLast()

    @@ -2518,7 +2522,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    FocusNext()

    @@ -2550,7 +2554,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FocusPrev()

    @@ -2582,7 +2586,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetAutoSize()

    @@ -2614,7 +2618,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetBoundsTextFormatterSize()

    @@ -2646,7 +2650,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetCurrentHeight(out Int32)

    @@ -2695,7 +2699,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetCurrentWidth(out Int32)

    @@ -2744,7 +2748,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetHotKeySpecifierLength(Boolean)

    @@ -2790,20 +2794,20 @@
    Returns
    CommandCommand[] command
    | - Improve this Doc + Improve this Doc - View Source + View Source -

    GetKeyFromCommand(Command)

    +

    GetKeyFromCommand(Command[])

    Gets the key used by a command.
    Declaration
    -
    public Key GetKeyFromCommand(Command command)
    +
    public Key GetKeyFromCommand(params Command[] command)
    Parameters
    @@ -2816,7 +2820,7 @@
    Parameters
    - + @@ -2842,7 +2846,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetMinWidthHeight(out Size)

    @@ -2891,7 +2895,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetNormalColor()

    @@ -2901,7 +2905,7 @@

    Declaration
    -
    public Attribute GetNormalColor()
    +
    public virtual Attribute GetNormalColor()
    Returns
    CommandCommand[] command The command to search.
    @@ -2915,7 +2919,8 @@
    Returns
    + or Disabled if Enabled is false. + If it's overridden can return other values.
    Attribute Normal if Enabled is true - or Disabled if Enabled is false
    @@ -2924,7 +2929,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetSupportedCommands()

    @@ -2956,7 +2961,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetTextFormatterBoundsSize()

    @@ -2988,7 +2993,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetTopSuperView()

    @@ -3020,7 +3025,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InvokeKeybindings(KeyEvent)

    @@ -3070,7 +3075,7 @@
    Returns
    Improve this Doc - View Source + View Source

    LayoutSubviews()

    @@ -3088,7 +3093,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Move(Int32, Int32, Boolean)

    @@ -3133,7 +3138,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnAdded(View)

    @@ -3167,7 +3172,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnCanFocusChanged()

    @@ -3184,7 +3189,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnDrawContent(Rect)

    @@ -3218,7 +3223,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnDrawContentComplete(Rect)

    @@ -3252,7 +3257,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnEnabledChanged()

    @@ -3269,7 +3274,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnEnter(View)

    @@ -3318,7 +3323,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyDown(KeyEvent)

    @@ -3367,7 +3372,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnKeyUp(KeyEvent)

    @@ -3416,7 +3421,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnLeave(View)

    @@ -3465,7 +3470,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnMouseClick(View.MouseEventArgs)

    @@ -3514,7 +3519,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnMouseEnter(MouseEvent)

    @@ -3563,7 +3568,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnMouseEvent(MouseEvent)

    @@ -3612,7 +3617,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnMouseLeave(MouseEvent)

    @@ -3661,7 +3666,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnRemoved(View)

    @@ -3695,7 +3700,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnVisibleChanged()

    @@ -3712,7 +3717,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    PositionCursor()

    @@ -3729,7 +3734,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ProcessColdKey(KeyEvent)

    @@ -3778,7 +3783,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessHotKey(KeyEvent)

    @@ -3827,7 +3832,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -3876,7 +3881,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    ProcessResizeView()

    @@ -3894,7 +3899,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -3928,7 +3933,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -3962,7 +3967,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -3979,7 +3984,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ReplaceKeyBinding(Key, Key)

    @@ -4018,7 +4023,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    ScreenToView(Int32, Int32)

    @@ -4072,7 +4077,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SendSubviewBackwards(View)

    @@ -4106,7 +4111,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SendSubviewToBack(View)

    @@ -4140,7 +4145,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetChildNeedsDisplay()

    @@ -4157,7 +4162,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetClip(Rect)

    @@ -4206,7 +4211,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetFocus()

    @@ -4223,7 +4228,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetHeight(Int32, out Int32)

    @@ -4277,7 +4282,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetMinWidthHeight()

    @@ -4309,7 +4314,7 @@
    Returns
    Improve this Doc - View Source + View Source

    SetNeedsDisplay()

    @@ -4326,7 +4331,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SetNeedsDisplay(Rect)

    @@ -4360,7 +4365,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    SetWidth(Int32, out Int32)

    @@ -4414,7 +4419,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    @@ -4448,7 +4453,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    UpdateTextFormatterText()

    @@ -4468,7 +4473,7 @@

    Events Improve this Doc - View Source + View Source

    Added

    @@ -4499,7 +4504,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    CanFocusChanged

    @@ -4530,7 +4535,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    DrawContent

    @@ -4561,7 +4566,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    DrawContentComplete

    @@ -4592,7 +4597,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    EnabledChanged

    @@ -4623,7 +4628,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Enter

    @@ -4654,7 +4659,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    HotKeyChanged

    @@ -4685,7 +4690,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Initialized

    @@ -4718,7 +4723,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    KeyDown

    @@ -4749,7 +4754,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    KeyPress

    @@ -4780,7 +4785,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    KeyUp

    @@ -4811,7 +4816,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    LayoutComplete

    @@ -4842,7 +4847,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    LayoutStarted

    @@ -4873,7 +4878,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Leave

    @@ -4904,7 +4909,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MouseClick

    @@ -4935,7 +4940,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MouseEnter

    @@ -4966,7 +4971,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MouseLeave

    @@ -4997,7 +5002,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Removed

    @@ -5028,7 +5033,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    VisibleChanged

    @@ -5075,7 +5080,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html index 0781ac25d7..bce9c8b78a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    TitleEventArgs(ustring, ustring)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewTitle

    @@ -239,7 +239,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldTitle

    @@ -277,7 +277,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Window.html b/docs/api/Terminal.Gui/Terminal.Gui.Window.html index 3283d0aec5..a99718292e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Window.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Window.html @@ -459,7 +459,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -474,7 +474,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -640,7 +640,7 @@

    Constructors Improve this Doc - View Source + View Source

    Window()

    @@ -657,7 +657,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Window(ustring)

    @@ -691,7 +691,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Window(ustring, Int32, Border)

    @@ -736,7 +736,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Window(Rect, ustring)

    @@ -775,7 +775,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Window(Rect, ustring, Int32, Border)

    @@ -827,7 +827,7 @@

    Properties Improve this Doc - View Source + View Source

    Border

    @@ -859,7 +859,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Text

    @@ -893,7 +893,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    TextAlignment

    @@ -927,7 +927,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Title

    @@ -961,7 +961,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -995,7 +995,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnCanFocusChanged()

    @@ -1012,7 +1012,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnTitleChanged(ustring, ustring)

    @@ -1051,7 +1051,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnTitleChanging(ustring, ustring)

    @@ -1105,7 +1105,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Redraw(Rect)

    @@ -1139,7 +1139,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -1173,7 +1173,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -1192,7 +1192,7 @@

    Events Improve this Doc - View Source + View Source

    TitleChanged

    @@ -1223,7 +1223,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    TitleChanging

    @@ -1271,7 +1271,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html index 3fabeaa9a9..13df25cefd 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    StepChangeEventArgs(Wizard.WizardStep, Wizard.WizardStep)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewStep

    @@ -239,7 +239,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldStep

    @@ -277,7 +277,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardButtonEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardButtonEventArgs.html index 0966e08680..a7f62622c3 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardButtonEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardButtonEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    WizardButtonEventArgs()

    @@ -153,7 +153,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -191,7 +191,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html index f7fcc8c734..3c66c158d5 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html @@ -134,7 +134,7 @@

    Constructors Improve this Doc - View Source + View Source

    TitleEventArgs(ustring, ustring)

    @@ -175,7 +175,7 @@

    Properties Improve this Doc - View Source + View Source

    Cancel

    @@ -207,7 +207,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NewTitle

    @@ -239,7 +239,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    OldTitle

    @@ -277,7 +277,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html index f057c056ca..adbdc6280a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html @@ -369,7 +369,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -384,7 +384,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -562,7 +562,7 @@

    Constructors Improve this Doc - View Source + View Source

    WizardStep(ustring)

    @@ -599,7 +599,7 @@

    Properties Improve this Doc - View Source + View Source

    BackButtonText

    @@ -632,7 +632,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HelpText

    @@ -665,7 +665,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NextButtonText

    @@ -697,7 +697,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -731,7 +731,7 @@

    Methods Improve this Doc - View Source + View Source

    Add(View)

    @@ -767,7 +767,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    OnTitleChanged(ustring, ustring)

    @@ -806,7 +806,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    OnTitleChanging(ustring, ustring)

    @@ -860,7 +860,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Remove(View)

    @@ -896,7 +896,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RemoveAll()

    @@ -917,7 +917,7 @@

    Events Improve this Doc - View Source + View Source

    TitleChanged

    @@ -948,7 +948,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    TitleChanging

    @@ -996,7 +996,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.html b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.html index 0bc847158d..a458841af7 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Wizard.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Wizard.html @@ -536,7 +536,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -551,7 +551,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -717,7 +717,7 @@

    Constructors Improve this Doc - View Source + View Source

    Wizard()

    @@ -734,7 +734,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Wizard(ustring)

    @@ -770,7 +770,7 @@

    Properties Improve this Doc - View Source + View Source

    BackButton

    @@ -803,7 +803,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CurrentStep

    @@ -835,7 +835,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Modal

    @@ -879,7 +879,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    NextFinishButton

    @@ -913,7 +913,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -947,7 +947,7 @@

    Methods Improve this Doc - View Source + View Source

    AddStep(Wizard.WizardStep)

    @@ -982,7 +982,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GetFirstStep()

    @@ -1014,7 +1014,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetLastStep()

    @@ -1046,7 +1046,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetNextStep()

    @@ -1080,7 +1080,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetPreviousStep()

    @@ -1114,7 +1114,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GoBack()

    @@ -1132,7 +1132,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GoNext()

    @@ -1150,7 +1150,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GoToStep(Wizard.WizardStep)

    @@ -1199,7 +1199,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnStepChanged(Wizard.WizardStep, Wizard.WizardStep)

    @@ -1253,7 +1253,7 @@
    Returns
    Improve this Doc - View Source + View Source

    OnStepChanging(Wizard.WizardStep, Wizard.WizardStep)

    @@ -1307,7 +1307,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ProcessKey(KeyEvent)

    @@ -1363,7 +1363,7 @@

    Events Improve this Doc - View Source + View Source

    Cancelled

    @@ -1397,7 +1397,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    Finished

    @@ -1431,7 +1431,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MovingBack

    @@ -1463,7 +1463,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    MovingNext

    @@ -1497,7 +1497,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    StepChanged

    @@ -1528,7 +1528,7 @@
    Event Type
    Improve this Doc - View Source + View Source

    StepChanging

    @@ -1576,7 +1576,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html index 9f460af828..0f10cc2225 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Event.html @@ -224,7 +224,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html index d11d0315d1..2f0a308145 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html @@ -120,7 +120,7 @@

    Fields Improve this Doc - View Source + View Source

    ButtonState

    @@ -149,7 +149,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ID

    @@ -178,7 +178,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    X

    @@ -207,7 +207,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Y

    @@ -236,7 +236,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Z

    @@ -271,7 +271,7 @@
    Field Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html index a62181a641..33c339b224 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.Window.html @@ -128,7 +128,7 @@

    Fields Improve this Doc - View Source + View Source

    Handle

    @@ -159,7 +159,7 @@

    Properties Improve this Doc - View Source + View Source

    Current

    @@ -189,7 +189,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Standard

    @@ -221,7 +221,7 @@

    Methods Improve this Doc - View Source + View Source

    addch(Char)

    @@ -268,7 +268,7 @@
    Returns
    Improve this Doc - View Source + View Source

    clearok(Boolean)

    @@ -315,7 +315,7 @@
    Returns
    Improve this Doc - View Source + View Source

    idcok(Boolean)

    @@ -347,7 +347,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    idlok(Boolean)

    @@ -394,7 +394,7 @@
    Returns
    Improve this Doc - View Source + View Source

    immedok(Boolean)

    @@ -426,7 +426,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    intrflush(Boolean)

    @@ -473,7 +473,7 @@
    Returns
    Improve this Doc - View Source + View Source

    keypad(Boolean)

    @@ -520,7 +520,7 @@
    Returns
    Improve this Doc - View Source + View Source

    leaveok(Boolean)

    @@ -567,7 +567,7 @@
    Returns
    Improve this Doc - View Source + View Source

    meta(Boolean)

    @@ -614,7 +614,7 @@
    Returns
    Improve this Doc - View Source + View Source

    move(Int32, Int32)

    @@ -666,7 +666,7 @@
    Returns
    Improve this Doc - View Source + View Source

    notimeout(Boolean)

    @@ -713,7 +713,7 @@
    Returns
    Improve this Doc - View Source + View Source

    redrawwin()

    @@ -743,7 +743,7 @@
    Returns
    Improve this Doc - View Source + View Source

    refresh()

    @@ -773,7 +773,7 @@
    Returns
    Improve this Doc - View Source + View Source

    scrollok(Boolean)

    @@ -820,7 +820,7 @@
    Returns
    Improve this Doc - View Source + View Source

    setscrreg(Int32, Int32)

    @@ -872,7 +872,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wnoutrefresh()

    @@ -902,7 +902,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wrefresh()

    @@ -932,7 +932,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wtimeout(Int32)

    @@ -985,7 +985,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/Terminal.Gui/Unix.Terminal.Curses.html b/docs/api/Terminal.Gui/Unix.Terminal.Curses.html index 946bad302e..407f386549 100644 --- a/docs/api/Terminal.Gui/Unix.Terminal.Curses.html +++ b/docs/api/Terminal.Gui/Unix.Terminal.Curses.html @@ -128,7 +128,7 @@

    Fields Improve this Doc - View Source + View Source

    @@ -157,7 +157,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_BOLD

    @@ -186,7 +186,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_DIM

    @@ -215,7 +215,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_INVIS

    @@ -244,7 +244,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_NORMAL

    @@ -273,7 +273,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_PROTECT

    @@ -302,7 +302,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_REVERSE

    @@ -331,7 +331,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_STANDOUT

    @@ -360,7 +360,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    A_UNDERLINE

    @@ -389,7 +389,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_BLOCK

    @@ -418,7 +418,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_BOARD

    @@ -447,7 +447,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_BTEE

    @@ -476,7 +476,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_BULLET

    @@ -505,7 +505,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_CKBOARD

    @@ -534,7 +534,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_DARROW

    @@ -563,7 +563,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_DEGREE

    @@ -592,7 +592,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_DIAMOND

    @@ -621,7 +621,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_HLINE

    @@ -650,7 +650,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_LANTERN

    @@ -679,7 +679,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_LARROW

    @@ -708,7 +708,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_LLCORNER

    @@ -737,7 +737,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_LRCORNER

    @@ -766,7 +766,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_LTEE

    @@ -795,7 +795,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_PLMINUS

    @@ -824,7 +824,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_PLUS

    @@ -853,7 +853,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_RARROW

    @@ -882,7 +882,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_RTEE

    @@ -911,7 +911,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_S1

    @@ -940,7 +940,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_S9

    @@ -969,7 +969,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_TTEE

    @@ -998,7 +998,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_UARROW

    @@ -1027,7 +1027,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_ULCORNER

    @@ -1056,7 +1056,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_URCORNER

    @@ -1085,7 +1085,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ACS_VLINE

    @@ -1114,7 +1114,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltCtrlKeyEnd

    @@ -1143,7 +1143,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltCtrlKeyHome

    @@ -1172,7 +1172,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltCtrlKeyNPage

    @@ -1201,7 +1201,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltCtrlKeyPPage

    @@ -1230,7 +1230,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyDown

    @@ -1259,7 +1259,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyEnd

    @@ -1288,7 +1288,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyHome

    @@ -1317,7 +1317,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyLeft

    @@ -1346,7 +1346,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyNPage

    @@ -1375,7 +1375,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyPPage

    @@ -1404,7 +1404,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyRight

    @@ -1433,7 +1433,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    AltKeyUp

    @@ -1462,7 +1462,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_BLACK

    @@ -1491,7 +1491,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_BLUE

    @@ -1520,7 +1520,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_CYAN

    @@ -1549,7 +1549,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_GRAY

    @@ -1578,7 +1578,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_GREEN

    @@ -1607,7 +1607,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_MAGENTA

    @@ -1636,7 +1636,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_RED

    @@ -1665,7 +1665,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_WHITE

    @@ -1694,7 +1694,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    COLOR_YELLOW

    @@ -1723,7 +1723,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyDown

    @@ -1752,7 +1752,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyEnd

    @@ -1781,7 +1781,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyHome

    @@ -1810,7 +1810,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyLeft

    @@ -1839,7 +1839,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyNPage

    @@ -1868,7 +1868,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyPPage

    @@ -1897,7 +1897,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyRight

    @@ -1926,7 +1926,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    CtrlKeyUp

    @@ -1955,7 +1955,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    DownEnd

    @@ -1984,7 +1984,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ERR

    @@ -2013,7 +2013,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    Home

    @@ -2042,7 +2042,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KEY_CODE_SEQ

    @@ -2071,7 +2071,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KEY_CODE_YES

    @@ -2100,7 +2100,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyAlt

    @@ -2129,7 +2129,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyBackspace

    @@ -2158,7 +2158,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyBackTab

    @@ -2187,7 +2187,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyDeleteChar

    @@ -2216,7 +2216,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyDown

    @@ -2245,7 +2245,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyEnd

    @@ -2274,7 +2274,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF1

    @@ -2303,7 +2303,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF10

    @@ -2332,7 +2332,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF11

    @@ -2361,7 +2361,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF12

    @@ -2390,7 +2390,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF2

    @@ -2419,7 +2419,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF3

    @@ -2448,7 +2448,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF4

    @@ -2477,7 +2477,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF5

    @@ -2506,7 +2506,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF6

    @@ -2535,7 +2535,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF7

    @@ -2564,7 +2564,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF8

    @@ -2593,7 +2593,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyF9

    @@ -2622,7 +2622,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyHome

    @@ -2651,7 +2651,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyInsertChar

    @@ -2680,7 +2680,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyLeft

    @@ -2709,7 +2709,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyMouse

    @@ -2738,7 +2738,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyNPage

    @@ -2767,7 +2767,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyPPage

    @@ -2796,7 +2796,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyResize

    @@ -2825,7 +2825,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyRight

    @@ -2854,7 +2854,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyTab

    @@ -2883,7 +2883,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    KeyUp

    @@ -2912,7 +2912,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    LeftRightUpNPagePPage

    @@ -2941,7 +2941,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyDown

    @@ -2970,7 +2970,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyEnd

    @@ -2999,7 +2999,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyHome

    @@ -3028,7 +3028,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyLeft

    @@ -3057,7 +3057,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyNPage

    @@ -3086,7 +3086,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyPPage

    @@ -3115,7 +3115,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyRight

    @@ -3144,7 +3144,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftAltKeyUp

    @@ -3173,7 +3173,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyDown

    @@ -3202,7 +3202,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyEnd

    @@ -3231,7 +3231,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyHome

    @@ -3260,7 +3260,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyLeft

    @@ -3289,7 +3289,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyNPage

    @@ -3318,7 +3318,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyPPage

    @@ -3347,7 +3347,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyRight

    @@ -3376,7 +3376,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftCtrlKeyUp

    @@ -3405,7 +3405,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyDown

    @@ -3434,7 +3434,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyEnd

    @@ -3463,7 +3463,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyHome

    @@ -3492,7 +3492,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyLeft

    @@ -3521,7 +3521,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyNPage

    @@ -3550,7 +3550,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyPPage

    @@ -3579,7 +3579,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyRight

    @@ -3608,7 +3608,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    ShiftKeyUp

    @@ -3637,7 +3637,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    TIOCGWINSZ

    @@ -3666,7 +3666,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    TIOCGWINSZ_MAC

    @@ -3697,7 +3697,7 @@

    Properties Improve this Doc - View Source + View Source

    ColorPairs

    @@ -3727,7 +3727,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Cols

    @@ -3757,7 +3757,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    HasColors

    @@ -3787,7 +3787,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    LC_ALL

    @@ -3817,7 +3817,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Lines

    @@ -3849,7 +3849,7 @@

    Methods Improve this Doc - View Source + View Source

    addch(Int32)

    @@ -3896,7 +3896,7 @@
    Returns
    Improve this Doc - View Source + View Source

    addstr(String, Object[])

    @@ -3948,7 +3948,7 @@
    Returns
    Improve this Doc - View Source + View Source

    addwstr(String)

    @@ -3995,7 +3995,7 @@
    Returns
    Improve this Doc - View Source + View Source

    attroff(Int32)

    @@ -4042,7 +4042,7 @@
    Returns
    Improve this Doc - View Source + View Source

    attron(Int32)

    @@ -4089,7 +4089,7 @@
    Returns
    Improve this Doc - View Source + View Source

    attrset(Int32)

    @@ -4136,7 +4136,7 @@
    Returns
    Improve this Doc - View Source + View Source

    cbreak()

    @@ -4166,7 +4166,7 @@
    Returns
    Improve this Doc - View Source + View Source

    CheckWinChange()

    @@ -4196,7 +4196,7 @@
    Returns
    Improve this Doc - View Source + View Source

    clearok(IntPtr, Boolean)

    @@ -4248,7 +4248,7 @@
    Returns
    Improve this Doc - View Source + View Source

    COLOR_PAIRS()

    @@ -4278,7 +4278,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ColorPair(Int32)

    @@ -4325,7 +4325,7 @@
    Returns
    Improve this Doc - View Source + View Source

    curs_set(Int32)

    @@ -4372,7 +4372,7 @@
    Returns
    Improve this Doc - View Source + View Source

    def_prog_mode()

    @@ -4402,7 +4402,7 @@
    Returns
    Improve this Doc - View Source + View Source

    def_shell_mode()

    @@ -4432,7 +4432,7 @@
    Returns
    Improve this Doc - View Source + View Source

    doupdate()

    @@ -4462,7 +4462,7 @@
    Returns
    Improve this Doc - View Source + View Source

    echo()

    @@ -4492,7 +4492,7 @@
    Returns
    Improve this Doc - View Source + View Source

    endwin()

    @@ -4522,7 +4522,7 @@
    Returns
    Improve this Doc - View Source + View Source

    flushinp()

    @@ -4552,7 +4552,7 @@
    Returns
    Improve this Doc - View Source + View Source

    get_wch(out Int32)

    @@ -4599,7 +4599,7 @@
    Returns
    Improve this Doc - View Source + View Source

    getch()

    @@ -4629,7 +4629,7 @@
    Returns
    Improve this Doc - View Source + View Source

    getmouse(out Curses.MouseEvent)

    @@ -4676,7 +4676,7 @@
    Returns
    Improve this Doc - View Source + View Source

    halfdelay(Int32)

    @@ -4723,7 +4723,7 @@
    Returns
    Improve this Doc - View Source + View Source

    has_colors()

    @@ -4753,7 +4753,7 @@
    Returns
    Improve this Doc - View Source + View Source

    idcok(IntPtr, Boolean)

    @@ -4790,7 +4790,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    idlok(IntPtr, Boolean)

    @@ -4842,7 +4842,7 @@
    Returns
    Improve this Doc - View Source + View Source

    immedok(IntPtr, Boolean)

    @@ -4879,7 +4879,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    init_pair(Int16, Int16, Int16)

    @@ -4936,7 +4936,7 @@
    Returns
    Improve this Doc - View Source + View Source

    InitColorPair(Int16, Int16, Int16)

    @@ -4993,7 +4993,7 @@
    Returns
    Improve this Doc - View Source + View Source

    initscr()

    @@ -5023,7 +5023,7 @@
    Returns
    Improve this Doc - View Source + View Source

    intrflush(IntPtr, Boolean)

    @@ -5075,7 +5075,7 @@
    Returns
    Improve this Doc - View Source + View Source

    is_term_resized(Int32, Int32)

    @@ -5127,7 +5127,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsAlt(Int32)

    @@ -5174,7 +5174,7 @@
    Returns
    Improve this Doc - View Source + View Source

    isendwin()

    @@ -5204,7 +5204,7 @@
    Returns
    Improve this Doc - View Source + View Source

    keypad(IntPtr, Boolean)

    @@ -5256,7 +5256,7 @@
    Returns
    Improve this Doc - View Source + View Source

    leaveok(IntPtr, Boolean)

    @@ -5308,7 +5308,7 @@
    Returns
    Improve this Doc - View Source + View Source

    meta(IntPtr, Boolean)

    @@ -5360,7 +5360,7 @@
    Returns
    Improve this Doc - View Source + View Source

    mouseinterval(Int32)

    @@ -5407,7 +5407,7 @@
    Returns
    Improve this Doc - View Source + View Source

    mousemask(Curses.Event, out Curses.Event)

    @@ -5459,7 +5459,7 @@
    Returns
    Improve this Doc - View Source + View Source

    move(Int32, Int32)

    @@ -5511,7 +5511,7 @@
    Returns
    Improve this Doc - View Source + View Source

    mvaddch(Int32, Int32, Int32)

    @@ -5568,7 +5568,7 @@
    Returns
    Improve this Doc - View Source + View Source

    mvaddwstr(Int32, Int32, String)

    @@ -5625,7 +5625,7 @@
    Returns
    Improve this Doc - View Source + View Source

    mvgetch(Int32, Int32)

    @@ -5677,7 +5677,7 @@
    Returns
    Improve this Doc - View Source + View Source

    nl()

    @@ -5707,7 +5707,7 @@
    Returns
    Improve this Doc - View Source + View Source

    nocbreak()

    @@ -5737,7 +5737,7 @@
    Returns
    Improve this Doc - View Source + View Source

    noecho()

    @@ -5767,7 +5767,7 @@
    Returns
    Improve this Doc - View Source + View Source

    nonl()

    @@ -5797,7 +5797,7 @@
    Returns
    Improve this Doc - View Source + View Source

    noqiflush()

    @@ -5812,7 +5812,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    noraw()

    @@ -5842,7 +5842,7 @@
    Returns
    Improve this Doc - View Source + View Source

    notimeout(IntPtr, Boolean)

    @@ -5894,7 +5894,7 @@
    Returns
    Improve this Doc - View Source + View Source

    qiflush()

    @@ -5909,7 +5909,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    raw()

    @@ -5939,7 +5939,7 @@
    Returns
    Improve this Doc - View Source + View Source

    redrawwin(IntPtr)

    @@ -5986,7 +5986,7 @@
    Returns
    Improve this Doc - View Source + View Source

    refresh()

    @@ -6016,7 +6016,7 @@
    Returns
    Improve this Doc - View Source + View Source

    reset_prog_mode()

    @@ -6046,7 +6046,7 @@
    Returns
    Improve this Doc - View Source + View Source

    reset_shell_mode()

    @@ -6076,7 +6076,7 @@
    Returns
    Improve this Doc - View Source + View Source

    resetty()

    @@ -6106,7 +6106,7 @@
    Returns
    Improve this Doc - View Source + View Source

    resize_term(Int32, Int32)

    @@ -6158,7 +6158,7 @@
    Returns
    Improve this Doc - View Source + View Source

    resizeterm(Int32, Int32)

    @@ -6210,7 +6210,7 @@
    Returns
    Improve this Doc - View Source + View Source

    savetty()

    @@ -6240,7 +6240,7 @@
    Returns
    Improve this Doc - View Source + View Source

    scrollok(IntPtr, Boolean)

    @@ -6287,6 +6287,53 @@
    Returns
    + + | + Improve this Doc + + + View Source + + +

    set_escdelay(Int32)

    +
    +
    +
    Declaration
    +
    +
    public static int set_escdelay(int size)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + +
    TypeNameDescription
    System.Int32size
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    System.Int32
    @@ -6339,7 +6386,7 @@
    Returns
    Improve this Doc - View Source + View Source

    setscrreg(Int32, Int32)

    @@ -6391,7 +6438,7 @@
    Returns
    Improve this Doc - View Source + View Source

    start_color()

    @@ -6421,7 +6468,7 @@
    Returns
    Improve this Doc - View Source + View Source

    StartColor()

    @@ -6451,7 +6498,7 @@
    Returns
    Improve this Doc - View Source + View Source

    timeout(Int32)

    @@ -6498,7 +6545,7 @@
    Returns
    Improve this Doc - View Source + View Source

    typeahead(IntPtr)

    @@ -6545,7 +6592,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ungetch(Int32)

    @@ -6592,7 +6639,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ungetmouse(ref Curses.MouseEvent)

    @@ -6639,7 +6686,7 @@
    Returns
    Improve this Doc - View Source + View Source

    use_default_colors()

    @@ -6669,7 +6716,7 @@
    Returns
    Improve this Doc - View Source + View Source

    use_env(Boolean)

    @@ -6701,7 +6748,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    UseDefaultColors()

    @@ -6731,7 +6778,7 @@
    Returns
    Improve this Doc - View Source + View Source

    waddch(IntPtr, Int32)

    @@ -6783,7 +6830,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wmove(IntPtr, Int32, Int32)

    @@ -6840,7 +6887,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wnoutrefresh(IntPtr)

    @@ -6887,7 +6934,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wrefresh(IntPtr)

    @@ -6934,7 +6981,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wsetscrreg(IntPtr, Int32, Int32)

    @@ -6991,7 +7038,7 @@
    Returns
    Improve this Doc - View Source + View Source

    wtimeout(IntPtr, Int32)

    @@ -7049,7 +7096,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.NumberToWords.html b/docs/api/UICatalog/UICatalog.NumberToWords.html index 170c555130..b3861807d3 100644 --- a/docs/api/UICatalog/UICatalog.NumberToWords.html +++ b/docs/api/UICatalog/UICatalog.NumberToWords.html @@ -128,7 +128,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Int64)

    @@ -175,7 +175,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ConvertAmount(Double)

    @@ -228,7 +228,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html b/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html index a54751ab50..c6e993f69b 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html +++ b/docs/api/UICatalog/UICatalog.Scenario.ScenarioCategory.html @@ -236,7 +236,7 @@

    Constructors Improve this Doc - View Source + View Source

    ScenarioCategory(String)

    @@ -270,7 +270,7 @@

    Properties Improve this Doc - View Source + View Source

    Name

    @@ -303,7 +303,7 @@

    Methods Improve this Doc - View Source + View Source

    GetCategories(Type)

    @@ -352,7 +352,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetName(Type)

    @@ -407,7 +407,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html b/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html index 6378d52cb3..d654e76d13 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html +++ b/docs/api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html @@ -236,7 +236,7 @@

    Constructors Improve this Doc - View Source + View Source

    ScenarioMetadata(String, String)

    @@ -275,7 +275,7 @@

    Properties Improve this Doc - View Source + View Source

    Description

    @@ -306,7 +306,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Name

    @@ -339,7 +339,7 @@

    Methods Improve this Doc - View Source + View Source

    GetDescription(Type)

    @@ -387,7 +387,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetName(Type)

    @@ -441,7 +441,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenario.html b/docs/api/UICatalog/UICatalog.Scenario.html index 839029df57..f797cb4601 100644 --- a/docs/api/UICatalog/UICatalog.Scenario.html +++ b/docs/api/UICatalog/UICatalog.Scenario.html @@ -216,7 +216,7 @@

    Properties Improve this Doc - View Source + View Source

    Top

    @@ -247,7 +247,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Win

    @@ -280,7 +280,7 @@

    Methods Improve this Doc - View Source + View Source

    Dispose()

    @@ -295,7 +295,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -327,7 +327,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    GetCategories()

    @@ -359,7 +359,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetDerivedClasses<T>()

    @@ -406,7 +406,7 @@
    Type Parameters
    Improve this Doc - View Source + View Source

    GetDescription()

    @@ -437,7 +437,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetName()

    @@ -468,7 +468,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -511,7 +511,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    RequestStop()

    @@ -527,7 +527,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Run()

    @@ -543,7 +543,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Setup()

    @@ -559,7 +559,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    ToString()

    @@ -601,7 +601,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html b/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html index b731911bc6..baf3c529ec 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.AllViewsTester.html @@ -164,7 +164,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -203,7 +203,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -220,7 +220,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -247,7 +247,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html b/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html index 9f1189771e..8ea529a50b 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html b/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html index 0687df1798..bae9029bfa 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -207,7 +207,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -234,7 +234,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html b/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html index e9e143fffe..89cb7d51ea 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BasicColors.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Borders.html b/docs/api/UICatalog/UICatalog.Scenarios.Borders.html index 0a67c2a71a..710af803bb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Borders.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Borders.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html index 682c695c69..fdf998fa81 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersComparisons.html @@ -166,7 +166,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -205,7 +205,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -232,7 +232,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html index 7be6690e8b..14d97873fd 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html index 33772a6849..acfb8ba2cf 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html index 031360fa18..4db51d4d37 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html b/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html index 0e20839227..e3d4b34c82 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Buttons.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html b/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html index 79f495284b..ec01871ba9 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.CharacterMap.html @@ -173,7 +173,7 @@

    Methods Improve this Doc - View Source + View Source

    Run()

    @@ -190,7 +190,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -217,7 +217,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html b/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html index 97cbf93086..e4475b18bb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ClassExplorer.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html b/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html index 649d6f5a92..30ba982b37 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Clipping.html @@ -165,7 +165,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -204,7 +204,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -231,7 +231,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html b/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html index 4af891dc4a..c9f1135ca4 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ColorPickers.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html b/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html index 20c9652fc7..9a13822bd2 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html b/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html index dacee7b2b3..5b0efa053d 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ComputedLayout.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Run()

    @@ -186,7 +186,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -213,7 +213,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html b/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html index c3c0cec2fe..9e671f112f 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ContextMenus.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html index cfbb889204..ebe87d4ad5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.CsvEditor.html @@ -174,7 +174,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -201,7 +201,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html b/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html index 1a8b6688f4..42014bf213 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Dialogs.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html index 61d759b850..a212ec92ed 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html @@ -128,7 +128,7 @@

    Constructors Improve this Doc - View Source + View Source

    Binding(View, String, View, String, DynamicMenuBar.IValueConverter)

    @@ -182,7 +182,7 @@

    Properties Improve this Doc - View Source + View Source

    Source

    @@ -212,7 +212,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SourcePropertyName

    @@ -242,7 +242,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Target

    @@ -272,7 +272,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TargetPropertyName

    @@ -308,7 +308,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html index 750b217bd0..51aaf0391a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html @@ -364,7 +364,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -379,7 +379,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -557,7 +557,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicMenuBarDetails(ustring)

    @@ -589,7 +589,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DynamicMenuBarDetails(MenuItem, Boolean)

    @@ -628,7 +628,7 @@

    Fields Improve this Doc - View Source + View Source

    _ckbIsTopLevel

    @@ -657,7 +657,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _ckbSubMenu

    @@ -686,7 +686,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _menuItem

    @@ -715,7 +715,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _rbChkStyle

    @@ -744,7 +744,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtAction

    @@ -773,7 +773,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtHelp

    @@ -802,7 +802,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtShortcut

    @@ -831,7 +831,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtTitle

    @@ -862,7 +862,7 @@

    Methods Improve this Doc - View Source + View Source

    CreateAction(MenuItem, DynamicMenuBar.DynamicMenuItem)

    @@ -914,7 +914,7 @@
    Returns
    Improve this Doc - View Source + View Source

    EditMenuBarItem(MenuItem)

    @@ -946,7 +946,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EnterMenuItem()

    @@ -976,7 +976,7 @@
    Returns
    Improve this Doc - View Source + View Source

    UpdateParent(ref MenuItem)

    @@ -1024,7 +1024,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html index add775d8fb..ac7a235393 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html @@ -491,7 +491,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -506,7 +506,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -672,7 +672,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicMenuBarSample(ustring)

    @@ -706,7 +706,7 @@

    Properties Improve this Doc - View Source + View Source

    DataContext

    @@ -752,7 +752,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html index f9c240347d..3f2882ec03 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html @@ -128,7 +128,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicMenuItem()

    @@ -143,7 +143,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DynamicMenuItem(ustring, ustring, ustring, Boolean, Boolean, MenuItemCheckStyle, ustring)

    @@ -205,7 +205,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DynamicMenuItem(ustring, Boolean)

    @@ -244,7 +244,7 @@

    Fields Improve this Doc - View Source + View Source

    action

    @@ -273,7 +273,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    checkStyle

    @@ -302,7 +302,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    hasSubMenu

    @@ -331,7 +331,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    help

    @@ -360,7 +360,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    isTopLevel

    @@ -389,7 +389,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    shortcut

    @@ -418,7 +418,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    title

    @@ -453,7 +453,7 @@
    Field Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html index 52735aa812..55b0b0cf9c 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html @@ -125,7 +125,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicMenuItemList()

    @@ -140,7 +140,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DynamicMenuItemList(ustring, MenuItem)

    @@ -179,7 +179,7 @@

    Properties Improve this Doc - View Source + View Source

    MenuItem

    @@ -209,7 +209,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -241,7 +241,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -279,7 +279,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html index 877d296ee8..83bd727145 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html @@ -132,7 +132,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicMenuItemModel()

    @@ -149,7 +149,7 @@

    Properties Improve this Doc - View Source + View Source

    MenuBar

    @@ -179,7 +179,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Menus

    @@ -209,7 +209,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Parent

    @@ -241,7 +241,7 @@

    Methods Improve this Doc - View Source + View Source

    GetPropertyName(String)

    @@ -290,7 +290,7 @@

    Events Improve this Doc - View Source + View Source

    PropertyChanged

    @@ -329,7 +329,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html index 0fa439da1d..c22e228cf2 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html @@ -99,7 +99,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -157,7 +157,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html index d16f8d85ef..7e07b017dd 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html @@ -132,7 +132,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -194,7 +194,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html index e93eb81a24..e2ad686286 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html @@ -132,7 +132,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -194,7 +194,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html index 863b2e42b8..d795b860a7 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -218,7 +218,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html index 5614af57ec..62758adc0e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html @@ -128,7 +128,7 @@

    Constructors Improve this Doc - View Source + View Source

    Binding(View, String, View, String, DynamicStatusBar.IValueConverter)

    @@ -182,7 +182,7 @@

    Properties Improve this Doc - View Source + View Source

    Source

    @@ -212,7 +212,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    SourcePropertyName

    @@ -242,7 +242,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Target

    @@ -272,7 +272,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    TargetPropertyName

    @@ -308,7 +308,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html index a7ec16f5c9..3903a7d0a8 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html @@ -364,7 +364,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -379,7 +379,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -557,7 +557,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicStatusBarDetails(ustring)

    @@ -589,7 +589,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DynamicStatusBarDetails(StatusItem)

    @@ -623,7 +623,7 @@

    Fields Improve this Doc - View Source + View Source

    _statusItem

    @@ -652,7 +652,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtAction

    @@ -681,7 +681,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtShortcut

    @@ -710,7 +710,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _txtTitle

    @@ -741,7 +741,7 @@

    Methods Improve this Doc - View Source + View Source

    CreateAction(DynamicStatusBar.DynamicStatusItem)

    @@ -788,7 +788,7 @@
    Returns
    Improve this Doc - View Source + View Source

    EditStatusItem(StatusItem)

    @@ -820,7 +820,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    EnterStatusItem()

    @@ -866,7 +866,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html index fe90871dbb..45b099d134 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html @@ -491,7 +491,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -506,7 +506,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -672,7 +672,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicStatusBarSample(ustring)

    @@ -706,7 +706,7 @@

    Properties Improve this Doc - View Source + View Source

    DataContext

    @@ -738,7 +738,7 @@

    Methods Improve this Doc - View Source + View Source

    SetTitleText(ustring, ustring)

    @@ -806,7 +806,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html index 7fcfe1398b..584bbe3c10 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html @@ -128,7 +128,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicStatusItem()

    @@ -143,7 +143,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DynamicStatusItem(ustring)

    @@ -175,7 +175,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    DynamicStatusItem(ustring, ustring, ustring)

    @@ -219,7 +219,7 @@

    Fields Improve this Doc - View Source + View Source

    action

    @@ -248,7 +248,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    shortcut

    @@ -277,7 +277,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    title

    @@ -312,7 +312,7 @@
    Field Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html index 9764a93589..7d83bc18c6 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html @@ -125,7 +125,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicStatusItemList()

    @@ -140,7 +140,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    DynamicStatusItemList(ustring, StatusItem)

    @@ -179,7 +179,7 @@

    Properties Improve this Doc - View Source + View Source

    StatusItem

    @@ -209,7 +209,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Title

    @@ -241,7 +241,7 @@

    Methods Improve this Doc - View Source + View Source

    ToString()

    @@ -279,7 +279,7 @@
    Overrides
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html index 7fb3f9147f..3c1798592a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html @@ -132,7 +132,7 @@

    Constructors Improve this Doc - View Source + View Source

    DynamicStatusItemModel()

    @@ -149,7 +149,7 @@

    Properties Improve this Doc - View Source + View Source

    Items

    @@ -179,7 +179,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    StatusBar

    @@ -211,7 +211,7 @@

    Methods Improve this Doc - View Source + View Source

    GetPropertyName(String)

    @@ -260,7 +260,7 @@

    Events Improve this Doc - View Source + View Source

    PropertyChanged

    @@ -299,7 +299,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html index 9874a22591..27ec3101a5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html @@ -99,7 +99,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -157,7 +157,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html index bc476c83c3..d27686945f 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html @@ -132,7 +132,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -194,7 +194,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html index f1b38fefed..f3d0a2b5bb 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html @@ -132,7 +132,7 @@

    Methods Improve this Doc - View Source + View Source

    Convert(Object, Object)

    @@ -194,7 +194,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html index 137bd34d16..d3b782b976 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -217,7 +217,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Editor.html b/docs/api/UICatalog/UICatalog.Scenarios.Editor.html index f094451ff7..f47b46f6aa 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Editor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Editor.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -209,7 +209,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -236,7 +236,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html index 05377fc2e5..59a6f82bbc 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.GraphViewExample.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html index ae1b95a3d9..2dd273ee93 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.HexEditor.html @@ -172,7 +172,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -199,7 +199,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html b/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html index 480ac52b9f..5733f2ca4d 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.InteractiveTree.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html b/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html index 576028fa4b..df0b457ea6 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.InvertColors.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Keys.html b/docs/api/UICatalog/UICatalog.Scenarios.Keys.html index 6535b49b52..df84386cd5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Keys.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Keys.html @@ -165,7 +165,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -204,7 +204,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -231,7 +231,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html b/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html index 237a873473..677510318a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html index 1206eee40f..62d79b32fc 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.LineViewExample.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html b/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html index 128173a545..c039423fd0 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html @@ -169,7 +169,7 @@

    Fields Improve this Doc - View Source + View Source

    _allowMarkingCB

    @@ -198,7 +198,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _allowMultipleCB

    @@ -227,7 +227,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _customRenderCB

    @@ -256,7 +256,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _listView

    @@ -285,7 +285,7 @@
    Field Value
    Improve this Doc - View Source + View Source

    _scenarios

    @@ -316,7 +316,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -343,7 +343,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html b/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html index 7c1b57fcc9..ea6aede7b3 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html b/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html index 5be1667eae..17acda9133 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MessageBoxes.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html b/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html index 34ffc12776..948b6e1b38 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Mouse.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html b/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html index 585576b174..8665a48b71 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html b/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html index fa823bfec5..fcadc6d250 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.MyScenario.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html b/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html index 9b97c0bc6e..1211ea3dbe 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Notepad.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Save()

    @@ -184,7 +184,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    SaveAs()

    @@ -214,7 +214,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Setup()

    @@ -241,7 +241,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Progress.html b/docs/api/UICatalog/UICatalog.Scenarios.Progress.html index fb30b8dd43..82d6889a58 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Progress.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Progress.html @@ -167,7 +167,7 @@

    Methods Improve this Doc - View Source + View Source

    Dispose(Boolean)

    @@ -201,7 +201,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -228,7 +228,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html b/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html index 0cb1d09a05..9c349df69d 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.RuneWidthGreaterThanOne.html b/docs/api/UICatalog/UICatalog.Scenarios.RuneWidthGreaterThanOne.html index cf39af1c52..5e73f274a5 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.RuneWidthGreaterThanOne.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.RuneWidthGreaterThanOne.html @@ -165,7 +165,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -204,7 +204,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -231,7 +231,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html b/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html index 674172ec6e..e3fab10bda 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Scrolling.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html b/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html index 8b2a37d04f..7193847935 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SendKeys.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html index 6ecb69e56d..600ac63bd8 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html @@ -463,7 +463,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -478,7 +478,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -656,7 +656,7 @@

    Constructors Improve this Doc - View Source + View Source

    MainApp()

    @@ -687,7 +687,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html index 070cf4db31..95f52ce30b 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html @@ -491,7 +491,7 @@
    Inherited Members
    View.InvokeKeybindings(KeyEvent)
    View.ReplaceKeyBinding(Key, Key) @@ -506,7 +506,7 @@
    Inherited Members
    View.ClearKeybinding(Key)
    View.ProcessHotKey(KeyEvent) @@ -672,7 +672,7 @@

    Constructors Improve this Doc - View Source + View Source

    StagingUIController(Nullable<DateTime>, List<String>)

    @@ -711,7 +711,7 @@

    Methods Improve this Doc - View Source + View Source

    Load()

    @@ -742,7 +742,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html index 5f17ea7aef..c6ebf79cab 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Run()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html b/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html index c3df2e0f44..5ca937701e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html b/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html index 7827e36865..a1160af3e8 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TabViewExample.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html b/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html index 2fc3781ff1..5128a51a04 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TableEditor.html @@ -172,7 +172,7 @@

    Methods Improve this Doc - View Source + View Source

    BuildDemoDataTable(Int32, Int32)

    @@ -225,7 +225,7 @@
    Returns
    Improve this Doc - View Source + View Source

    BuildSimpleDataTable(Int32, Int32)

    @@ -278,7 +278,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Setup()

    @@ -305,7 +305,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Text.html b/docs/api/UICatalog/UICatalog.Scenarios.Text.html index 3092437d6c..e42fc869ef 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Text.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Text.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html index a14694bb88..2d4455f4c3 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignments.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html index 42004b0316..44de141dba 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html b/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html index 808a839545..76ff45a5d2 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html b/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html index d78b6225af..2e0222147a 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Threading.html b/docs/api/UICatalog/UICatalog.Scenarios.Threading.html index e6e8674492..0785e35185 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Threading.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Threading.html @@ -168,7 +168,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -195,7 +195,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html b/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html index 079ff87879..b3789d421e 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TimeAndDate.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html b/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html index 1c1c01c94b..5b81083a74 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TreeUseCases.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html b/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html index e9ae446e1d..3e77c0d3d3 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html b/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html index 3ed4f25762..c3d15d8a71 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html @@ -169,7 +169,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -196,7 +196,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html b/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html index 16619955df..4bf1202955 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html @@ -159,7 +159,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -198,7 +198,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    RequestStop()

    @@ -215,7 +215,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -232,7 +232,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Setup()

    @@ -259,7 +259,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.WizardAsView.html b/docs/api/UICatalog/UICatalog.Scenarios.WizardAsView.html index d39ca5447b..02945850e0 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.WizardAsView.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.WizardAsView.html @@ -165,7 +165,7 @@

    Methods Improve this Doc - View Source + View Source

    Init(Toplevel, ColorScheme)

    @@ -204,7 +204,7 @@
    Overrides
    Improve this Doc - View Source + View Source

    Run()

    @@ -231,7 +231,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.Scenarios.Wizards.html b/docs/api/UICatalog/UICatalog.Scenarios.Wizards.html index e2f29c7f06..5f5abfd0c8 100644 --- a/docs/api/UICatalog/UICatalog.Scenarios.Wizards.html +++ b/docs/api/UICatalog/UICatalog.Scenarios.Wizards.html @@ -170,7 +170,7 @@

    Methods Improve this Doc - View Source + View Source

    Setup()

    @@ -197,7 +197,7 @@

    Implements

    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/api/UICatalog/UICatalog.UICatalogApp.html b/docs/api/UICatalog/UICatalog.UICatalogApp.html index ed60cf181c..647e9aff44 100644 --- a/docs/api/UICatalog/UICatalog.UICatalogApp.html +++ b/docs/api/UICatalog/UICatalog.UICatalogApp.html @@ -133,7 +133,7 @@
    Syntax
    Improve this Doc
  • - View Source + View Source
  • diff --git a/docs/index.json b/docs/index.json index cc113d7654..a96b59d125 100644 --- a/docs/index.json +++ b/docs/index.json @@ -32,7 +32,7 @@ "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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ToplevelContainer() Initializes with default null values. Declaration public ToplevelContainer() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) | Improve this Doc View Source 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ToplevelContainer() Initializes with default null values. Declaration public ToplevelContainer() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) | Improve this Doc View Source 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 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. 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.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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.ProcessResizeView() 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.Redraw(Rect) 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.Text View.AutoSize View.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Button() Initializes a new instance of Button using Computed layout. Declaration public Button() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. Properties | Improve this Doc View Source HotKey Declaration public override Key HotKey { get; set; } Property Value Type Description Key Overrides View.HotKey | Improve this Doc View Source 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 . Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source UpdateTextFormatterText() Declaration protected override void UpdateTextFormatterText() Overrides View.UpdateTextFormatterText() Events | Improve this Doc View Source 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 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 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. 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.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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.ProcessResizeView() 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.Redraw(Rect) 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.Text View.AutoSize View.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Button() Initializes a new instance of Button using Computed layout. Declaration public Button() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. Properties | Improve this Doc View Source HotKey Declaration public override Key HotKey { get; set; } Property Value Type Description Key Overrides View.HotKey | Improve this Doc View Source 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 . Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source UpdateTextFormatterText() Declaration protected override void UpdateTextFormatterText() Overrides View.UpdateTextFormatterText() Events | Improve this Doc View Source 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 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.ProcessResizeView() 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.Redraw(Rect) 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.Text View.AutoSize View.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 Properties | Improve this Doc View Source Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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 | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source UpdateTextFormatterText() Declaration protected override void UpdateTextFormatterText() Overrides View.UpdateTextFormatterText() Events | Improve this Doc View Source Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.ProcessResizeView() 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.Redraw(Rect) 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.Text View.AutoSize View.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 Properties | Improve this Doc View Source Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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 | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source UpdateTextFormatterText() Declaration protected override void UpdateTextFormatterText() Overrides View.UpdateTextFormatterText() Events | Improve this Doc View Source Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Clipboard.html": { "href": "api/Terminal.Gui/Terminal.Gui.Clipboard.html", @@ -67,7 +67,7 @@ "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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ColorPicker() Initializes a new instance of ColorPicker . Declaration public ColorPicker() | Improve this Doc View Source ColorPicker(ustring) Initializes a new instance of ColorPicker . Declaration public ColorPicker(ustring title) Parameters Type Name Description NStack.ustring title Title. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Cursor Cursor for the selected color. Declaration public Point Cursor { get; set; } Property Value Type Description Point | Improve this Doc View Source SelectedColor Selected color. Declaration public Color SelectedColor { get; set; } Property Value Type Description Color Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean | Improve this Doc View Source MoveLeft() Moves the selected item index to the previous column. Declaration public virtual bool MoveLeft() Returns Type Description System.Boolean | Improve this Doc View Source MoveRight() Moves the selected item index to the next column. Declaration public virtual bool MoveRight() Returns Type Description System.Boolean | Improve this Doc View Source MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source 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" + "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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ColorPicker() Initializes a new instance of ColorPicker . Declaration public ColorPicker() | Improve this Doc View Source ColorPicker(ustring) Initializes a new instance of ColorPicker . Declaration public ColorPicker(ustring title) Parameters Type Name Description NStack.ustring title Title. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Cursor Cursor for the selected color. Declaration public Point Cursor { get; set; } Property Value Type Description Point | Improve this Doc View Source SelectedColor Selected color. Declaration public Color SelectedColor { get; set; } Property Value Type Description Color Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean | Improve this Doc View Source MoveLeft() Moves the selected item index to the previous column. Declaration public virtual bool MoveLeft() Returns Type Description System.Boolean | Improve this Doc View Source MoveRight() Moves the selected item index to the next column. Declaration public virtual bool MoveRight() Returns Type Description System.Boolean | Improve this Doc View Source MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source 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", @@ -82,7 +82,7 @@ "api/Terminal.Gui/Terminal.Gui.ComboBox.html": { "href": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", "title": "Class ComboBox", - "keywords": "Class ComboBox Provides a drop-down list of items the user can select from. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ComboBox() Public constructor Declaration public ComboBox() | Improve this Doc View Source ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text | Improve this Doc View Source ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties | Improve this Doc View Source ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme | Improve this Doc View Source IsShow Gets the drop down list state, expanded or collapsed. Declaration public bool IsShow { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean | Improve this Doc View Source OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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 Provides a drop-down list of items the user can select from. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source ComboBox() Public constructor Declaration public ComboBox() | Improve this Doc View Source ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text | Improve this Doc View Source ComboBox(IList) Initialize with the source. Declaration public ComboBox(IList source) Parameters Type Name Description System.Collections.IList source The source. | Improve this Doc View Source ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties | Improve this Doc View Source ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme | Improve this Doc View Source HideDropdownListOnClick Gets or sets if the drop-down list can be hide with a button click event. Declaration public bool HideDropdownListOnClick { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source IsShow Gets the drop down list state, expanded or collapsed. Declaration public bool IsShow { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnCollapsed() Virtual method which invokes the Collapsed event. Declaration public virtual void OnCollapsed() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnExpanded() Virtual method which invokes the Expanded event. Declaration public virtual void OnExpanded() | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean | Improve this Doc View Source OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 Events | Improve this Doc View Source Collapsed This event is raised when the drop-down list is collapsed. Declaration public event Action Collapsed Event Type Type Description System.Action | Improve this Doc View Source Expanded This event is raised when the drop-down list is expanded. Declaration public event Action Expanded Event Type Type Description System.Action | Improve this Doc View Source 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 > | Improve this Doc View Source 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", @@ -97,7 +97,7 @@ "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 | Improve this Doc View Source BlocksMeterSegment Blocks Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune BlocksMeterSegment Field Value Type Description System.Rune | Improve this Doc View Source BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune | Improve this Doc View Source Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune | Improve this Doc View Source ContinuousMeterSegment Continuous Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune ContinuousMeterSegment Field Value Type Description System.Rune | Improve this Doc View Source Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune | Improve this Doc View Source DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune | Improve this Doc View Source HDLine Horizontal double line character. Declaration public Rune HDLine Field Value Type Description System.Rune | Improve this Doc View Source HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune | Improve this Doc View Source HRLine Horizontal line character for rounded corners. Declaration public Rune HRLine Field Value Type Description System.Rune | Improve this Doc View Source LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune | Improve this Doc View Source LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune | Improve this Doc View Source LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune | Improve this Doc View Source LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune | Improve this Doc View Source LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune | Improve this Doc View Source LLDCorner Lower left double corner Declaration public Rune LLDCorner Field Value Type Description System.Rune | Improve this Doc View Source LLRCorner Lower left rounded corner Declaration public Rune LLRCorner Field Value Type Description System.Rune | Improve this Doc View Source LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune | Improve this Doc View Source LRDCorner Lower right double corner Declaration public Rune LRDCorner Field Value Type Description System.Rune | Improve this Doc View Source LRRCorner Lower right rounded corner Declaration public Rune LRRCorner Field Value Type Description System.Rune | Improve this Doc View Source RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune | Improve this Doc View Source RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune | Improve this Doc View Source RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune | Improve this Doc View Source RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune | Improve this Doc View Source Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune | Improve this Doc View Source Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune | Improve this Doc View Source TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action | Improve this Doc View Source TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune | Improve this Doc View Source ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune | Improve this Doc View Source ULDCorner Upper left double corner Declaration public Rune ULDCorner Field Value Type Description System.Rune | Improve this Doc View Source ULRCorner Upper left rounded corner Declaration public Rune ULRCorner Field Value Type Description System.Rune | Improve this Doc View Source UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune | Improve this Doc View Source UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune | Improve this Doc View Source UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune | Improve this Doc View Source URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune | Improve this Doc View Source URDCorner Upper right double corner Declaration public Rune URDCorner Field Value Type Description System.Rune | Improve this Doc View Source URRCorner Upper right rounded corner Declaration public Rune URRCorner Field Value Type Description System.Rune | Improve this Doc View Source VDLine Vertical double line character. Declaration public Rune VDLine Field Value Type Description System.Rune | Improve this Doc View Source VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune | Improve this Doc View Source VRLine Vertical line character for rounded corners. Declaration public Rune VRLine Field Value Type Description System.Rune Properties | Improve this Doc View Source 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. | Improve this Doc View Source Clipboard Get the operation system clipboard. Declaration public abstract IClipboard Clipboard { get; } Property Value Type Description IClipboard | Improve this Doc View Source Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Contents The format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag Declaration public virtual int[,, ] Contents { get; } Property Value Type Description System.Int32 [,,] | Improve this Doc View Source Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags | Improve this Doc View Source 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 | Improve this Doc View Source Left The current left in the terminal. Declaration public abstract int Left { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods | Improve this Doc View Source 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. | Improve this Doc View Source AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. | Improve this Doc View Source CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source End() Ends the execution of the console driver. Declaration public abstract void End() | Improve this Doc View Source EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success | Improve this Doc View Source GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() | Improve this Doc View Source ResizeScreen() Resizes the clip area when the screen is resized. Declaration public abstract void ResizeScreen() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized | Improve this Doc View Source StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() | Improve this Doc View Source StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() | Improve this Doc View Source 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() | Improve this Doc View Source UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() | Improve this Doc View Source UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() | Improve this Doc View Source UpdateOffScreen() Reset and recreate the contents and the driver buffer. Declaration public abstract void UpdateOffScreen() | Improve this Doc View Source 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 | Improve this Doc View Source BlocksMeterSegment Blocks Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune BlocksMeterSegment Field Value Type Description System.Rune | Improve this Doc View Source BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune | Improve this Doc View Source Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune | Improve this Doc View Source ContinuousMeterSegment Continuous Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune ContinuousMeterSegment Field Value Type Description System.Rune | Improve this Doc View Source Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune | Improve this Doc View Source DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune | Improve this Doc View Source HDLine Horizontal double line character. Declaration public Rune HDLine Field Value Type Description System.Rune | Improve this Doc View Source HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune | Improve this Doc View Source HRLine Horizontal line character for rounded corners. Declaration public Rune HRLine Field Value Type Description System.Rune | Improve this Doc View Source LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune | Improve this Doc View Source LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune | Improve this Doc View Source LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune | Improve this Doc View Source LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune | Improve this Doc View Source LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune | Improve this Doc View Source LLDCorner Lower left double corner Declaration public Rune LLDCorner Field Value Type Description System.Rune | Improve this Doc View Source LLRCorner Lower left rounded corner Declaration public Rune LLRCorner Field Value Type Description System.Rune | Improve this Doc View Source LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune | Improve this Doc View Source LRDCorner Lower right double corner Declaration public Rune LRDCorner Field Value Type Description System.Rune | Improve this Doc View Source LRRCorner Lower right rounded corner Declaration public Rune LRRCorner Field Value Type Description System.Rune | Improve this Doc View Source RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune | Improve this Doc View Source RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune | Improve this Doc View Source RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune | Improve this Doc View Source RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune | Improve this Doc View Source Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune | Improve this Doc View Source Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune | Improve this Doc View Source TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action | Improve this Doc View Source TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune | Improve this Doc View Source ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune | Improve this Doc View Source ULDCorner Upper left double corner Declaration public Rune ULDCorner Field Value Type Description System.Rune | Improve this Doc View Source ULRCorner Upper left rounded corner Declaration public Rune ULRCorner Field Value Type Description System.Rune | Improve this Doc View Source UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune | Improve this Doc View Source UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune | Improve this Doc View Source UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune | Improve this Doc View Source URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune | Improve this Doc View Source URDCorner Upper right double corner Declaration public Rune URDCorner Field Value Type Description System.Rune | Improve this Doc View Source URRCorner Upper right rounded corner Declaration public Rune URRCorner Field Value Type Description System.Rune | Improve this Doc View Source VDLine Vertical double line character. Declaration public Rune VDLine Field Value Type Description System.Rune | Improve this Doc View Source VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune | Improve this Doc View Source VRLine Vertical line character for rounded corners. Declaration public Rune VRLine Field Value Type Description System.Rune Properties | Improve this Doc View Source 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. | Improve this Doc View Source Clipboard Get the operation system clipboard. Declaration public abstract IClipboard Clipboard { get; } Property Value Type Description IClipboard | Improve this Doc View Source Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Contents The format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag Declaration public virtual int[,, ] Contents { get; } Property Value Type Description System.Int32 [,,] | Improve this Doc View Source Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags | Improve this Doc View Source 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 | Improve this Doc View Source Left The current left in the terminal. Declaration public abstract int Left { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods | Improve this Doc View Source 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. | Improve this Doc View Source AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. | Improve this Doc View Source CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() | Improve this Doc View Source CreateColors(Boolean) Create all Colors with the ColorScheme for the console driver. Declaration public void CreateColors(bool hasColors = true) Parameters Type Name Description System.Boolean hasColors Flag indicating if colors are supported. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source End() Ends the execution of the console driver. Declaration public abstract void End() | Improve this Doc View Source EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success | Improve this Doc View Source GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source MakeColor(Color, Color) Make the Colors for the ColorScheme . Declaration public abstract Attribute MakeColor(Color foreground, Color background) Parameters Type Name Description Color foreground The foreground color. Color background The background color. Returns Type Description Attribute The attribute for the foreground and background colors. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() | Improve this Doc View Source ResizeScreen() Resizes the clip area when the screen is resized. Declaration public abstract void ResizeScreen() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized | Improve this Doc View Source StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() | Improve this Doc View Source StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() | Improve this Doc View Source 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() | Improve this Doc View Source UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() | Improve this Doc View Source UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() | Improve this Doc View Source UpdateOffScreen() Reset and recreate the contents and the driver buffer. Declaration public abstract void UpdateOffScreen() | Improve this Doc View Source 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", @@ -112,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 Remarks The DateField View provides date editing functionality with mouse support. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() | Improve this Doc View Source DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date | Improve this Doc View Source 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 | Improve this Doc View Source CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition | Improve this Doc View Source Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime | Improve this Doc View Source IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) | Improve this Doc View Source DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> 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 Remarks The DateField View provides date editing functionality with mouse support. 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.GetNormalColor() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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.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 Constructors | Improve this Doc View Source DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() | Improve this Doc View Source DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date | Improve this Doc View Source 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 | Improve this Doc View Source CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition | Improve this Doc View Source Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime | Improve this Doc View Source IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) | Improve this Doc View Source DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> 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", @@ -127,7 +127,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 Wizard Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.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) . Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() | Improve this Doc View Source 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. | Improve this Doc View Source 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. Properties | Improve this Doc View Source ButtonAlignment Determines how the Dialog Button s are aligned along the bottom of the dialog. Declaration public Dialog.ButtonAlignments ButtonAlignment { get; set; } Property Value Type Description Dialog.ButtonAlignments Methods | Improve this Doc View Source 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. | Improve this Doc View Source 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 Wizard Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.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) . Inherited Members Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() | Improve this Doc View Source 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. | Improve this Doc View Source 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. Properties | Improve this Doc View Source ButtonAlignment Determines how the Dialog Button s are aligned along the bottom of the dialog. Declaration public Dialog.ButtonAlignments ButtonAlignment { get; set; } Property Value Type Description Dialog.ButtonAlignments Methods | Improve this Doc View Source 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. | Improve this Doc View Source 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", @@ -147,7 +147,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.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 | Improve this Doc View Source FakeDriver() Declaration public FakeDriver() Properties | Improve this Doc View Source Clipboard Declaration public override IClipboard Clipboard { get; } Property Value Type Description IClipboard Overrides ConsoleDriver.Clipboard | Improve this Doc View Source Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols | Improve this Doc View Source Contents Assists with testing, the format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag Declaration public override int[,, ] Contents { get; } Property Value Type Description System.Int32 [,,] Overrides ConsoleDriver.Contents | Improve this Doc View Source HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer | Improve this Doc View Source Left Declaration public override int Left { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Left | Improve this Doc View Source Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows | Improve this Doc View Source Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods | Improve this Doc View Source AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) | Improve this Doc View Source AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) | Improve this Doc View Source CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() | Improve this Doc View Source End() Declaration public override void End() Overrides ConsoleDriver.End() | Improve this Doc View Source EnsureCursorVisibility() Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean Overrides ConsoleDriver.EnsureCursorVisibility() | Improve this Doc View Source GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() | Improve this Doc View Source ResizeScreen() Declaration public override void ResizeScreen() Overrides ConsoleDriver.ResizeScreen() | Improve this Doc View Source 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) | Improve this Doc View Source SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) | Improve this Doc View Source SetBufferSize(Int32, Int32) Declaration public void SetBufferSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source SetCursorVisibility(CursorVisibility) Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) | Improve this Doc View Source SetWindowPosition(Int32, Int32) Declaration public void SetWindowPosition(int left, int top) Parameters Type Name Description System.Int32 left System.Int32 top | Improve this Doc View Source SetWindowSize(Int32, Int32) Declaration public void SetWindowSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height | Improve this Doc View Source StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() | Improve this Doc View Source StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() | Improve this Doc View Source Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() | Improve this Doc View Source UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() | Improve this Doc View Source UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() | Improve this Doc View Source UpdateOffScreen() Declaration public override void UpdateOffScreen() Overrides ConsoleDriver.UpdateOffScreen() | Improve this Doc View Source 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 ConsoleDriver.CreateColors(Boolean) 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 | Improve this Doc View Source FakeDriver() Declaration public FakeDriver() Properties | Improve this Doc View Source Clipboard Declaration public override IClipboard Clipboard { get; } Property Value Type Description IClipboard Overrides ConsoleDriver.Clipboard | Improve this Doc View Source Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols | Improve this Doc View Source Contents Assists with testing, the format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag Declaration public override int[,, ] Contents { get; } Property Value Type Description System.Int32 [,,] Overrides ConsoleDriver.Contents | Improve this Doc View Source HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer | Improve this Doc View Source Left Declaration public override int Left { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Left | Improve this Doc View Source Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows | Improve this Doc View Source Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods | Improve this Doc View Source AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) | Improve this Doc View Source AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) | Improve this Doc View Source CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() | Improve this Doc View Source End() Declaration public override void End() Overrides ConsoleDriver.End() | Improve this Doc View Source EnsureCursorVisibility() Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean Overrides ConsoleDriver.EnsureCursorVisibility() | Improve this Doc View Source GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) | Improve this Doc View Source 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) | Improve this Doc View Source MakeColor(Color, Color) Declaration public override Attribute MakeColor(Color foreground, Color background) Parameters Type Name Description Color foreground Color background Returns Type Description Attribute Overrides ConsoleDriver.MakeColor(Color, Color) | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() | Improve this Doc View Source ResizeScreen() Declaration public override void ResizeScreen() Overrides ConsoleDriver.ResizeScreen() | Improve this Doc View Source 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) | Improve this Doc View Source SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) | Improve this Doc View Source SetBufferSize(Int32, Int32) Declaration public void SetBufferSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height | Improve this Doc View Source 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) | Improve this Doc View Source 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) | Improve this Doc View Source SetCursorVisibility(CursorVisibility) Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) | Improve this Doc View Source SetWindowPosition(Int32, Int32) Declaration public void SetWindowPosition(int left, int top) Parameters Type Name Description System.Int32 left System.Int32 top | Improve this Doc View Source SetWindowSize(Int32, Int32) Declaration public void SetWindowSize(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height | Improve this Doc View Source StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() | Improve this Doc View Source StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() | Improve this Doc View Source Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() | Improve this Doc View Source UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() | Improve this Doc View Source UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() | Improve this Doc View Source UpdateOffScreen() Declaration public override void UpdateOffScreen() Overrides ConsoleDriver.UpdateOffScreen() | Improve this Doc View Source UpdateScreen() Declaration public override void UpdateScreen() Overrides ConsoleDriver.UpdateScreen()" }, "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html": { "href": "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html", @@ -157,12 +157,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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source FileDialog() Initializes a new FileDialog . Declaration public FileDialog() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. | Improve this Doc View Source 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 | Improve this Doc View Source 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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source FileDialog() Initializes a new FileDialog . Declaration public FileDialog() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. | Improve this Doc View Source 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 | Improve this Doc View Source 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 Wizard.WizardStep 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text | Improve this Doc View Source 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 | Improve this Doc View Source Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods | Improve this Doc View Source 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) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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) | Improve this Doc View Source RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() 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 Wizard.WizardStep 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text | Improve this Doc View Source 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 | Improve this Doc View Source Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods | Improve this Doc View Source 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) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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) | Improve this Doc View Source RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() 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", @@ -257,7 +257,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source GraphView() Creates a new graph with a 1 to 1 graph space with absolute layout Declaration public GraphView() Properties | Improve this Doc View Source 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 > | Improve this Doc View Source AxisX Horizontal axis Declaration public HorizontalAxis AxisX { get; set; } Property Value Type Description HorizontalAxis | Improve this Doc View Source AxisY Vertical axis Declaration public VerticalAxis AxisY { get; set; } Property Value Type Description VerticalAxis | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source PageDown() Scrolls the graph down 1 page Declaration public void PageDown() | Improve this Doc View Source PageUp() Scrolls the graph up 1 page Declaration public void PageUp() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Reset() Clears all settings configured on the graph and resets all properties to default values ( CellSize , ScrollOffset etc) Declaration public void Reset() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source GraphView() Creates a new graph with a 1 to 1 graph space with absolute layout Declaration public GraphView() Properties | Improve this Doc View Source 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 > | Improve this Doc View Source AxisX Horizontal axis Declaration public HorizontalAxis AxisX { get; set; } Property Value Type Description HorizontalAxis | Improve this Doc View Source AxisY Vertical axis Declaration public VerticalAxis AxisY { get; set; } Property Value Type Description VerticalAxis | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source PageDown() Scrolls the graph down 1 page Declaration public void PageDown() | Improve this Doc View Source PageUp() Scrolls the graph up 1 page Declaration public void PageUp() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Reset() Clears all settings configured on the graph and resets all properties to default values ( CellSize , ScrollOffset etc) Declaration public void Reset() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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", @@ -267,7 +267,7 @@ "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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source HexView() Initializes a HexView class using Computed layout. Declaration public HexView() | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source BytesPerLine The bytes length per line. Declaration public int BytesPerLine { get; } Property Value Type Description System.Int32 | Improve this Doc View Source CursorPosition Gets the current cursor position starting at one for both, line and column. Declaration public Point CursorPosition { get; } Property Value Type Description Point | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source DiscardEdits() This method discards the edits made to the System.IO.Stream by resetting the contents of the Edits property. Declaration public void DiscardEdits() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnPositionChanged() Method used to invoke the PositionChanged event passing the HexView.HexViewEventArgs arguments. Declaration public virtual void OnPositionChanged() | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source 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 >> | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source HexView() Initializes a HexView class using Computed layout. Declaration public HexView() | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source BytesPerLine The bytes length per line. Declaration public int BytesPerLine { get; } Property Value Type Description System.Int32 | Improve this Doc View Source CursorPosition Gets the current cursor position starting at one for both, line and column. Declaration public Point CursorPosition { get; } Property Value Type Description Point | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source DiscardEdits() This method discards the edits made to the System.IO.Stream by resetting the contents of the Edits property. Declaration public void DiscardEdits() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnPositionChanged() Method used to invoke the PositionChanged event passing the HexView.HexViewEventArgs arguments. Declaration public virtual void OnPositionChanged() | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source 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 >> | Improve this Doc View Source 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", @@ -317,7 +317,7 @@ "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 Remarks The Label view is functionality identical to View and is included for API backwards compatibility. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Label() Declaration public Label() | Improve this Doc View Source Label(ustring, Boolean) Declaration public Label(ustring text, bool autosize = true) Parameters Type Name Description NStack.ustring text System.Boolean autosize | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Label(Rect, Boolean) Declaration public Label(Rect frame, bool autosize = false) Parameters Type Name Description Rect frame System.Boolean autosize Methods | Improve this Doc View Source OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent ke) Parameters Type Name Description KeyEvent ke Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Events | Improve this Doc View Source 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 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 Remarks The Label view is functionality identical to View and is included for API backwards compatibility. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Label() Declaration public Label() | Improve this Doc View Source Label(ustring, Boolean) Declaration public Label(ustring text, bool autosize = true) Parameters Type Name Description NStack.ustring text System.Boolean autosize | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Label(Rect, Boolean) Declaration public Label(Rect frame, bool autosize = false) Parameters Type Name Description Rect frame System.Boolean autosize Methods | Improve this Doc View Source OnClicked() Virtual method to invoke the Clicked event. Declaration public virtual void OnClicked() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent ke) Parameters Type Name Description KeyEvent ke Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Events | Improve this Doc View Source 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 Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html": { "href": "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html", @@ -327,12 +327,12 @@ "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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source LineView() Creates a horizontal line Declaration public LineView() | Improve this Doc View Source LineView(Orientation) Creates a horizontal or vertical line based on orientation Declaration public LineView(Orientation orientation) Parameters Type Name Description Orientation orientation Properties | Improve this Doc View Source 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 > | Improve this Doc View Source LineRune The symbol to use for drawing the line Declaration public Rune LineRune { get; set; } Property Value Type Description System.Rune | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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" + "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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source LineView() Creates a horizontal line Declaration public LineView() | Improve this Doc View Source LineView(Orientation) Creates a horizontal or vertical line based on orientation Declaration public LineView(Orientation orientation) Parameters Type Name Description Orientation orientation Properties | Improve this Doc View Source 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 > | Improve this Doc View Source LineRune The symbol to use for drawing the line Declaration public Rune LineRune { get; set; } Property Value Type Description System.Rune | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View 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 | Improve this Doc View Source 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 | Improve this Doc View Source MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean | Improve this Doc View Source MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean | Improve this Doc View Source MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean | Improve this Doc View Source MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean | Improve this Doc View Source MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean | Improve this Doc View Source MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean | Improve this Doc View Source OnRowRender(ListViewRowEventArgs) Virtual method that will invoke the RowRender . Declaration public virtual void OnRowRender(ListViewRowEventArgs rowEventArgs) Parameters Type Name Description ListViewRowEventArgs rowEventArgs | Improve this Doc View Source OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View 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 | Improve this Doc View Source 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 | Improve this Doc View Source MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean | Improve this Doc View Source MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean | Improve this Doc View Source MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean | Improve this Doc View Source MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean | Improve this Doc View Source MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean | Improve this Doc View Source MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean | Improve this Doc View Source OnRowRender(ListViewRowEventArgs) Virtual method that will invoke the RowRender . Declaration public virtual void OnRowRender(ListViewRowEventArgs rowEventArgs) Parameters Type Name Description ListViewRowEventArgs rowEventArgs | Improve this Doc View Source OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source 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", @@ -352,7 +352,7 @@ "api/Terminal.Gui/Terminal.Gui.MainLoop.html": { "href": "api/Terminal.Gui/Terminal.Gui.MainLoop.html", "title": "Class MainLoop", - "keywords": "Class MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. Inheritance System.Object MainLoop Remarks Monitoring of file descriptors is only available on Unix, there does not seem to be a way of supporting this on Windows. 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 MainLoop Constructors | Improve this Doc View Source MainLoop(IMainLoopDriver) Creates a new Mainloop. Declaration public MainLoop(IMainLoopDriver driver) Parameters Type Name Description IMainLoopDriver driver Should match the ConsoleDriver (one of the implementations UnixMainLoop, NetMainLoop or WindowsMainLoop). Properties | Improve this Doc View Source Driver The current IMainLoopDriver in use. Declaration public IMainLoopDriver Driver { get; } Property Value Type Description IMainLoopDriver The driver. | Improve this Doc View Source IdleHandlers Gets the list of all idle handlers. Declaration public List> IdleHandlers { get; } Property Value Type Description System.Collections.Generic.List < System.Func < System.Boolean >> | Improve this Doc View Source Timeouts Gets the list of all timeouts sorted by the System.TimeSpan time ticks./>. A shorter limit time can be added at the end, but it will be called before an earlier addition that has a longer limit time. Declaration public SortedList Timeouts { get; } Property Value Type Description System.Collections.Generic.SortedList < System.Int64 , MainLoop.Timeout > Methods | Improve this Doc View Source AddIdle(Func) Adds specified idle handler function to mainloop processing. The handler function will be called once per iteration of the main loop after other events have been handled. Declaration public Func AddIdle(Func idleHandler) Parameters Type Name Description System.Func < System.Boolean > idleHandler Token that can be used to remove the idle handler with RemoveIdle(Func) . Returns Type Description System.Func < System.Boolean > | Improve this Doc View Source AddTimeout(TimeSpan, Func) Adds a timeout to the mainloop. Declaration public object AddTimeout(TimeSpan time, Func callback) Parameters Type Name Description System.TimeSpan time System.Func < MainLoop , System.Boolean > callback Returns Type Description System.Object | Improve this Doc View Source EventsPending(Boolean) Determines whether there are pending events to be processed. Declaration public bool EventsPending(bool wait = false) Parameters Type Name Description System.Boolean wait Returns Type Description System.Boolean | Improve this Doc View Source Invoke(Action) Runs action on the thread that is processing events Declaration public void Invoke(Action action) Parameters Type Name Description System.Action action the action to be invoked on the main processing thread. | Improve this Doc View Source MainIteration() Runs one iteration of timers and file watches Declaration public void MainIteration() | Improve this Doc View Source RemoveIdle(Func) Removes an idle handler added with AddIdle(Func) from processing. Declaration public bool RemoveIdle(Func token) Parameters Type Name Description System.Func < System.Boolean > token A token returned by AddIdle(Func) Returns Type Description System.Boolean | Improve this Doc View Source RemoveTimeout(Object) Removes a previously scheduled timeout Declaration public bool RemoveTimeout(object token) Parameters Type Name Description System.Object token Returns Type Description System.Boolean | Improve this Doc View Source Run() Runs the mainloop. Declaration public void Run() | Improve this Doc View Source Stop() Stops the mainloop. Declaration public void Stop() Events | Improve this Doc View Source TimeoutAdded Invoked when a new timeout is added to be used on the case if ExitRunLoopAfterFirstIteration is true, Declaration public event Action TimeoutAdded Event Type Type Description System.Action < System.Int64 >" + "keywords": "Class MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. Inheritance System.Object MainLoop Remarks Monitoring of file descriptors is only available on Unix, there does not seem to be a way of supporting this on Windows. 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 MainLoop Constructors | Improve this Doc View Source MainLoop(IMainLoopDriver) Creates a new Mainloop. Declaration public MainLoop(IMainLoopDriver driver) Parameters Type Name Description IMainLoopDriver driver Should match the ConsoleDriver (one of the implementations UnixMainLoop, NetMainLoop or WindowsMainLoop). Properties | Improve this Doc View Source Driver The current IMainLoopDriver in use. Declaration public IMainLoopDriver Driver { get; } Property Value Type Description IMainLoopDriver The driver. | Improve this Doc View Source IdleHandlers Gets a copy of the list of all idle handlers. Declaration public ReadOnlyCollection> IdleHandlers { get; } Property Value Type Description System.Collections.ObjectModel.ReadOnlyCollection < System.Func < System.Boolean >> | Improve this Doc View Source Timeouts Gets the list of all timeouts sorted by the System.TimeSpan time ticks./>. A shorter limit time can be added at the end, but it will be called before an earlier addition that has a longer limit time. Declaration public SortedList Timeouts { get; } Property Value Type Description System.Collections.Generic.SortedList < System.Int64 , MainLoop.Timeout > Methods | Improve this Doc View Source AddIdle(Func) Adds specified idle handler function to mainloop processing. The handler function will be called once per iteration of the main loop after other events have been handled. Declaration public Func AddIdle(Func idleHandler) Parameters Type Name Description System.Func < System.Boolean > idleHandler Token that can be used to remove the idle handler with RemoveIdle(Func) . Returns Type Description System.Func < System.Boolean > | Improve this Doc View Source AddTimeout(TimeSpan, Func) Adds a timeout to the mainloop. Declaration public object AddTimeout(TimeSpan time, Func callback) Parameters Type Name Description System.TimeSpan time System.Func < MainLoop , System.Boolean > callback Returns Type Description System.Object | Improve this Doc View Source EventsPending(Boolean) Determines whether there are pending events to be processed. Declaration public bool EventsPending(bool wait = false) Parameters Type Name Description System.Boolean wait Returns Type Description System.Boolean | Improve this Doc View Source Invoke(Action) Runs action on the thread that is processing events Declaration public void Invoke(Action action) Parameters Type Name Description System.Action action the action to be invoked on the main processing thread. | Improve this Doc View Source MainIteration() Runs one iteration of timers and file watches Declaration public void MainIteration() | Improve this Doc View Source RemoveIdle(Func) Removes an idle handler added with AddIdle(Func) from processing. Declaration public bool RemoveIdle(Func token) Parameters Type Name Description System.Func < System.Boolean > token A token returned by AddIdle(Func) Returns Type Description System.Boolean | Improve this Doc View Source RemoveTimeout(Object) Removes a previously scheduled timeout Declaration public bool RemoveTimeout(object token) Parameters Type Name Description System.Object token Returns Type Description System.Boolean | Improve this Doc View Source Run() Runs the mainloop. Declaration public void Run() | Improve this Doc View Source Stop() Stops the mainloop. Declaration public void Stop() Events | Improve this Doc View Source TimeoutAdded Invoked when a new timeout is added to be used on the case if ExitRunLoopAfterFirstIteration is true, Declaration public event Action TimeoutAdded Event Type Type Description System.Action < System.Int64 >" }, "api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html": { "href": "api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html", @@ -362,7 +362,7 @@ "api/Terminal.Gui/Terminal.Gui.MenuBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", "title": "Class MenuBar", - "keywords": "Class MenuBar Provides a menu bar with drop-down and cascading menus. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() | Improve this Doc View Source 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 | Improve this Doc View Source HotKeySpecifier The specifier character for the hotkey to all menus. Declaration public static Rune HotKeySpecifier { get; } Property Value Type Description System.Rune | Improve this Doc View Source IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean | Improve this Doc View Source LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View | Improve this Doc View Source 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. | Improve this Doc View Source ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnMenuAllClosed() Virtual method that will invoke the MenuAllClosed Declaration public virtual void OnMenuAllClosed() | Improve this Doc View Source 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 | Improve this Doc View Source OnMenuOpened() Virtual method that will invoke the MenuOpened event if it's defined. Declaration public virtual void OnMenuOpened() | Improve this Doc View Source 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 | Improve this Doc View Source OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source MenuAllClosed Raised when all the menu are closed. Declaration public event Action MenuAllClosed Event Type Type Description System.Action | Improve this Doc View Source MenuClosing Raised when a menu is closing passing MenuClosingEventArgs . Declaration public event Action MenuClosing Event Type Type Description System.Action < MenuClosingEventArgs > | Improve this Doc View Source MenuOpened Raised when a menu is opened. Declaration public event Action MenuOpened Event Type Type Description System.Action < MenuItem > | Improve this Doc View Source 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 Provides a menu bar with drop-down and cascading menus. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() | Improve this Doc View Source 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 | Improve this Doc View Source HotKeySpecifier The specifier character for the hotkey to all menus. Declaration public static Rune HotKeySpecifier { get; } Property Value Type Description System.Rune | Improve this Doc View Source IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean | Improve this Doc View Source LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View | Improve this Doc View Source 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. | Improve this Doc View Source ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnMenuAllClosed() Virtual method that will invoke the MenuAllClosed Declaration public virtual void OnMenuAllClosed() | Improve this Doc View Source 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 | Improve this Doc View Source OnMenuOpened() Virtual method that will invoke the MenuOpened event if it's defined. Declaration public virtual void OnMenuOpened() | Improve this Doc View Source 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 | Improve this Doc View Source OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events | Improve this Doc View Source MenuAllClosed Raised when all the menu are closed. Declaration public event Action MenuAllClosed Event Type Type Description System.Action | Improve this Doc View Source MenuClosing Raised when a menu is closing passing MenuClosingEventArgs . Declaration public event Action MenuClosing Event Type Type Description System.Action < MenuClosingEventArgs > | Improve this Doc View Source MenuOpened Raised when a menu is opened. Declaration public event Action MenuOpened Event Type Type Description System.Action < MenuItem > | Improve this Doc View Source 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", @@ -407,7 +407,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 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. 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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source OpenDialog() Initializes a new OpenDialog . Declaration public OpenDialog() | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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 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. 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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source OpenDialog() Initializes a new OpenDialog . Declaration public OpenDialog() | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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", @@ -417,7 +417,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source PanelView() Initializes a panel with a null child. Declaration public PanelView() | Improve this Doc View Source PanelView(View) Initializes a panel with a valid child. Declaration public PanelView(View child) Parameters Type Name Description View child Properties | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Child The child that will use this panel. Declaration public View Child { get; set; } Property Value Type Description View | Improve this Doc View Source 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 | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source PanelView() Initializes a panel with a null child. Declaration public PanelView() | Improve this Doc View Source PanelView(View) Initializes a panel with a valid child. Declaration public PanelView(View child) Parameters Type Name Description View child Properties | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Child The child that will use this panel. Declaration public View Child { get; set; } Property Value Type Description View | Improve this Doc View Source 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 | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) | Improve this Doc View Source 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", @@ -437,7 +437,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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. Declaration public ProgressBarFormat ProgressBarFormat { get; set; } Property Value Type Description ProgressBarFormat | Improve this Doc View Source ProgressBarStyle Gets/Sets the progress bar style based on the ProgressBarStyle Declaration public ProgressBarStyle ProgressBarStyle { get; set; } Property Value Type Description ProgressBarStyle | Improve this Doc View Source SegmentCharacter Segment indicator for meter views. Declaration public Rune SegmentCharacter { get; set; } Property Value Type Description System.Rune | Improve this Doc View Source Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source ProgressBarFormat Specifies the format that a ProgressBar uses to indicate the visual presentation. Declaration public ProgressBarFormat ProgressBarFormat { get; set; } Property Value Type Description ProgressBarFormat | Improve this Doc View Source ProgressBarStyle Gets/Sets the progress bar style based on the ProgressBarStyle Declaration public ProgressBarStyle ProgressBarStyle { get; set; } Property Value Type Description ProgressBarStyle | Improve this Doc View Source SegmentCharacter Segment indicator for meter views. Declaration public Rune SegmentCharacter { get; set; } Property Value Type Description System.Rune | Improve this Doc View Source Text Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Methods | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() | Improve this Doc View Source 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", @@ -452,7 +452,7 @@ "api/Terminal.Gui/Terminal.Gui.RadioGroup.html": { "href": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", "title": "Class RadioGroup", - "keywords": "Class RadioGroup Displays a group of labels each with a selected indicator. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout | Improve this Doc View Source 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 | Improve this Doc View Source RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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 | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events | Improve this Doc View Source 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 Displays a group of labels each with a selected indicator. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout | Improve this Doc View Source 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 | Improve this Doc View Source RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source 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 | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events | Improve this Doc View Source 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", @@ -472,17 +472,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 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. 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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source SaveDialog() Initializes a new SaveDialog . Declaration public SaveDialog() | Improve this Doc View Source 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 | Improve this Doc View Source 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 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. 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.ButtonAlignment Dialog.ProcessKey(KeyEvent) Window.Title Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source SaveDialog() Initializes a new SaveDialog . Declaration public SaveDialog() | Improve this Doc View Source 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 | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) | Improve this Doc View Source Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) | Improve this Doc View Source Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events | Improve this Doc View Source 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 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 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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) | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) | Improve this Doc View Source RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 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 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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) | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) | Improve this Doc View Source RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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", @@ -512,7 +512,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() | Improve this Doc View Source 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 | Improve this Doc View Source Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] | Improve this Doc View Source ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source 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. | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() | Improve this Doc View Source 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 | Improve this Doc View Source Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] | Improve this Doc View Source ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source 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. | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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", @@ -542,7 +542,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() | Improve this Doc View Source 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 | Improve this Doc View Source DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 | Improve this Doc View Source DefaultMinAcceptableWidth The default minimum cell width for MinAcceptableWidth Declaration public const int DefaultMinAcceptableWidth = 100 Field Value Type Description System.Int32 Properties | Improve this Doc View Source CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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() | Improve this Doc View Source 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() | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args | Improve this Doc View Source OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() | Improve this Doc View Source 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 | Improve this Doc View Source Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() | Improve this Doc View Source 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 | Improve this Doc View Source DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 | Improve this Doc View Source DefaultMinAcceptableWidth The default minimum cell width for MinAcceptableWidth Declaration public const int DefaultMinAcceptableWidth = 100 Field Value Type Description System.Int32 Properties | Improve this Doc View Source CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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() | Improve this Doc View Source 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() | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args | Improve this Doc View Source OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 > | Improve this Doc View Source SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() | Improve this Doc View Source 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 | Improve this Doc View Source Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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", @@ -572,7 +572,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields | Improve this Doc View Source DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties | Improve this Doc View Source 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 | Improve this Doc View Source SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab | Improve this Doc View Source 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 | Improve this Doc View Source Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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) | Improve this Doc View Source EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() | Improve this Doc View Source EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() | Improve this Doc View Source 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 | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields | Improve this Doc View Source DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties | Improve this Doc View Source 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 | Improve this Doc View Source SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab | Improve this Doc View Source 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 | Improve this Doc View Source Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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) | Improve this Doc View Source EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() | Improve this Doc View Source EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() | Improve this Doc View Source 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 | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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", @@ -607,7 +607,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 Remarks The TextField View provides editing functionality and mouse support. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus | Improve this Doc View Source ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu | Improve this Doc View Source CursorPosition Sets or gets the current cursor position. Declaration public virtual int CursorPosition { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ScrollOffset Gets the left offset position. Declaration public int ScrollOffset { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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 | Improve this Doc View Source ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() | Improve this Doc View Source ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() | Improve this Doc View Source Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() | Improve this Doc View Source Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() | Improve this Doc View Source DeleteAll() Deletes all text. Declaration public void DeleteAll() | Improve this Doc View Source DeleteCharLeft(Boolean) Deletes the left character. Declaration public virtual void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos | Improve this Doc View Source DeleteCharRight() Deletes the right character. Declaration public virtual void DeleteCharRight() | Improve this Doc View Source 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 . | Improve this Doc View Source KillWordBackwards() Deletes word backwards. Declaration public virtual void KillWordBackwards() | Improve this Doc View Source KillWordForwards() Deletes word forwards. Declaration public virtual void KillWordForwards() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source 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 | Improve this Doc View Source Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() | Improve this Doc View Source PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source 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) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source SelectAll() Selects all text. Declaration public void SelectAll() Events | Improve this Doc View Source TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > | Improve this Doc View Source 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 Remarks The TextField View provides editing functionality and mouse support. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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.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 Constructors | Improve this Doc View Source TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus | Improve this Doc View Source ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu | Improve this Doc View Source CursorPosition Sets or gets the current cursor position. Declaration public virtual int CursorPosition { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ScrollOffset Gets the left offset position. Declaration public int ScrollOffset { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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 | Improve this Doc View Source ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() | Improve this Doc View Source ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() | Improve this Doc View Source Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() | Improve this Doc View Source Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() | Improve this Doc View Source DeleteAll() Deletes all text. Declaration public void DeleteAll() | Improve this Doc View Source DeleteCharLeft(Boolean) Deletes the left character. Declaration public virtual void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos | Improve this Doc View Source DeleteCharRight() Deletes the right character. Declaration public virtual void DeleteCharRight() | Improve this Doc View Source GetNormalColor() Declaration public override Attribute GetNormalColor() Returns Type Description Attribute Overrides View.GetNormalColor() | Improve this Doc View Source 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 . | Improve this Doc View Source KillWordBackwards() Deletes word backwards. Declaration public virtual void KillWordBackwards() | Improve this Doc View Source KillWordForwards() Deletes word forwards. Declaration public virtual void KillWordForwards() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source 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 | Improve this Doc View Source Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() | Improve this Doc View Source PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source 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) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source SelectAll() Selects all text. Declaration public void SelectAll() Events | Improve this Doc View Source TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > | Improve this Doc View Source 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", @@ -617,12 +617,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 | Improve this Doc View Source Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. | Improve this Doc View Source HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > | Improve this Doc View Source 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 | Improve this Doc View Source PreserveTrailingSpaces Gets or sets a flag that determines whether Text will have trailing spaces preserved or not when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is enabled. If `true` any trailing spaces will be trimmed when either the Text property is changed or when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is set to `true`. The default is `false`. Declaration public bool PreserveTrailingSpaces { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source GetMaxColsForWidth(List, Int32) Gets the index position from the list based on the width . Declaration public static int GetMaxColsForWidth(List lines, int width) Parameters Type Name Description System.Collections.Generic.List < NStack.ustring > lines The lines. System.Int32 width The width. Returns Type Description System.Int32 The index of the list that fit the width. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. Events | Improve this Doc View Source 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 | Improve this Doc View Source Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. | Improve this Doc View Source HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > | Improve this Doc View Source NeedsFormat Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute, Rect, Boolean) 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 | Improve this Doc View Source PreserveTrailingSpaces Gets or sets a flag that determines whether Text will have trailing spaces preserved or not when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is enabled. If `true` any trailing spaces will be trimmed when either the Text property is changed or when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is set to `true`. The default is `false`. Declaration public bool PreserveTrailingSpaces { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Draw(Rect, Attribute, Attribute, Rect, Boolean) 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), bool fillRemaining = true) 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. System.Boolean fillRemaining Determines if the bounds width will be used (default) or only the text width will be used. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source GetMaxColsForWidth(List, Int32) Gets the index position from the list based on the width . Declaration public static int GetMaxColsForWidth(List lines, int width) Parameters Type Name Description System.Collections.Generic.List < NStack.ustring > lines The lines. System.Int32 width The width. Returns Type Description System.Int32 The index of the list that fit the width. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source MaxWidthLine(ustring) Determines the line with the highest width in the text if it contains newlines. Declaration public static int MaxWidthLine(ustring text) Parameters Type Name Description NStack.ustring text Text, may contain newlines. Returns Type Description System.Int32 The highest line width. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source SplitNewLine(ustring) Splits all newlines in the text into a list and supports both CRLF and LF, preserving the ending newline. Declaration public static List SplitNewLine(ustring text) Parameters Type Name Description NStack.ustring text The text. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of text without the newline characters. | Improve this Doc View Source 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. Events | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() | Improve this Doc View Source 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 | Improve this Doc View Source IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Provider Provider Declaration public ITextValidateProvider Provider { get; set; } Property Value Type Description ITextValidateProvider | Improve this Doc View Source Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() | Improve this Doc View Source 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 | Improve this Doc View Source IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Provider Provider Declaration public ITextValidateProvider Provider { get; set; } Property Value Type Description ITextValidateProvider | Improve this Doc View Source Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source 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", @@ -647,7 +647,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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() | Improve this Doc View Source 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 Properties | Improve this Doc View Source 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 | Improve this Doc View Source AllowsTab Gets or sets whether the TextView inserts a tab character into the text or ignores tab input. If set to `false` and the user presses the tab key (or shift-tab) the focus will move to the next view (or previous with shift-tab). The default is `true`; if the user presses the tab key, a tab character will be inserted into the text. Declaration public bool AllowsTab { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus | Improve this Doc View Source ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu | Improve this Doc View Source CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. | Improve this Doc View Source CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 | Improve this Doc View Source CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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) | Improve this Doc View Source 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 | Improve this Doc View Source SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() | Improve this Doc View Source 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. | Improve this Doc View Source 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() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() | Improve this Doc View Source Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() | Improve this Doc View Source DeleteAll() Deletes all text. Declaration public void DeleteAll() | Improve this Doc View Source DeleteCharLeft() Deletes all the selected or a single character at left from the position of the cursor. Declaration public void DeleteCharLeft() | Improve this Doc View Source DeleteCharRight() Deletes all the selected or a single character at right from the position of the cursor. Declaration public void DeleteCharRight() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() | Improve this Doc View Source 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 > | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() | Improve this Doc View Source MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() | Improve this Doc View Source PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source SelectAll() Select all text. Declaration public void SelectAll() Events | Improve this Doc View Source 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 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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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.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 Constructors | Improve this Doc View Source TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() | Improve this Doc View Source 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 Properties | Improve this Doc View Source 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 | Improve this Doc View Source AllowsTab Gets or sets whether the TextView inserts a tab character into the text or ignores tab input. If set to `false` and the user presses the tab key (or shift-tab) the focus will move to the next view (or previous with shift-tab). The default is `true`; if the user presses the tab key, a tab character will be inserted into the text. Declaration public bool AllowsTab { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus | Improve this Doc View Source ContextMenu Get the ContextMenu for this view. Declaration public ContextMenu ContextMenu { get; } Property Value Type Description ContextMenu | Improve this Doc View Source CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. | Improve this Doc View Source CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 | Improve this Doc View Source CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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) | Improve this Doc View Source 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 | Improve this Doc View Source SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods | Improve this Doc View Source ClearHistoryChanges() Allows clearing the Terminal.Gui.HistoryText.HistoryTextItem items updating the original text. Declaration public void ClearHistoryChanges() | Improve this Doc View Source 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. | Improve this Doc View Source Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() | Improve this Doc View Source Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() | Improve this Doc View Source DeleteAll() Deletes all text. Declaration public void DeleteAll() | Improve this Doc View Source DeleteCharLeft() Deletes all the selected or a single character at left from the position of the cursor. Declaration public void DeleteCharLeft() | Improve this Doc View Source DeleteCharRight() Deletes all the selected or a single character at right from the position of the cursor. Declaration public void DeleteCharRight() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() | Improve this Doc View Source 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 > | Improve this Doc View Source GetNormalColor() Declaration public override Attribute GetNormalColor() Returns Type Description Attribute Overrides View.GetNormalColor() | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() | Improve this Doc View Source MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) | Improve this Doc View Source OnUnwrappedCursorPosition(Nullable, Nullable) Invoke the UnwrappedCursorPosition event with the unwrapped CursorPosition . Declaration public virtual void OnUnwrappedCursorPosition(int? cRow = null, int? cCol = null) Parameters Type Name Description System.Nullable < System.Int32 > cRow System.Nullable < System.Int32 > cCol | Improve this Doc View Source Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() | Improve this Doc View Source PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source SelectAll() Select all text. Declaration public void SelectAll() | Improve this Doc View Source SetNormalColor() Sets the driver to the default color for the control where no text is being rendered. Defaults to Normal . Declaration protected virtual void SetNormalColor() | Improve this Doc View Source SetNormalColor(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 SetNormalColor(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx | Improve this Doc View Source SetReadOnlyColor(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 SetReadOnlyColor(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx | Improve this Doc View Source SetSelectionColor(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 SetSelectionColor(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx | Improve this Doc View Source SetUsedColor(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 SetUsedColor(List line, int idx) Parameters Type Name Description System.Collections.Generic.List < System.Rune > line System.Int32 idx Events | Improve this Doc View Source TextChanged Raised when the Text of the TextView changes. Declaration public event Action TextChanged Event Type Type Description System.Action | Improve this Doc View Source UnwrappedCursorPosition Invoked with the unwrapped CursorPosition . Declaration public event Action UnwrappedCursorPosition Event Type Type Description System.Action < Point > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html", @@ -662,12 +662,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 Remarks The TimeField View provides time editing functionality with mouse support. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition | Improve this Doc View Source 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 | Improve this Doc View Source Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Methods | Improve this Doc View Source DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) | Improve this Doc View Source DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> 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 Remarks The TimeField View provides time editing functionality with mouse support. 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.GetNormalColor() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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.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 Constructors | Improve this Doc View Source TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source CursorPosition Declaration public override int CursorPosition { get; set; } Property Value Type Description System.Int32 Overrides TextField.CursorPosition | Improve this Doc View Source 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 | Improve this Doc View Source Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Methods | Improve this Doc View Source DeleteCharLeft(Boolean) Declaration public override void DeleteCharLeft(bool useOldCursorPos = true) Parameters Type Name Description System.Boolean useOldCursorPos Overrides TextField.DeleteCharLeft(Boolean) | Improve this Doc View Source DeleteCharRight() Declaration public override void DeleteCharRight() Overrides TextField.DeleteCharRight() | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> 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. They are used for both an application's main view (filling the entire screeN and for pop-up views such as Dialog , MessageBox , and Wizard . Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source IsMdiChild Gets or sets if this Toplevel is a Mdi child. Declaration public bool IsMdiChild { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsMdiContainer Gets or sets if this Toplevel is a Mdi container. Declaration public bool IsMdiContainer { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source MenuBar Gets or sets the menu for this Toplevel. Declaration public virtual MenuBar MenuBar { get; set; } Property Value Type Description MenuBar | Improve this Doc View Source Modal Determines whether the Toplevel is modal or not. If set to false (the default): ProcessKey(KeyEvent) events will propagate keys upwards. The Toplevel will act as an embedded view (not a modal/pop-up). If set to true : ProcessKey(KeyEvent) events will NOT propogate keys upwards. The Toplevel will and look like a modal (pop-up) (e.g. see Dialog . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source StatusBar Gets or sets the status bar for this Toplevel. Declaration public virtual StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) | Improve this Doc View Source Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The created Toplevel. | Improve this Doc View Source GetTopMdiChild(Type, String[]) Gets the current visible Toplevel Mdi child that matches 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. | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveNext() Move to the next Mdi child from the MdiTop . Declaration public virtual void MoveNext() | Improve this Doc View Source MovePrevious() Move to the previous Mdi child from the MdiTop . Declaration public virtual void MovePrevious() | Improve this Doc View Source OnAlternateBackwardKeyChanged(Key) Virtual method to invoke the AlternateBackwardKeyChanged event. Declaration public virtual void OnAlternateBackwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source OnAlternateForwardKeyChanged(Key) Virtual method to invoke the AlternateForwardKeyChanged event. Declaration public virtual void OnAlternateForwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLoaded() Called from Begin(Toplevel) before the Toplevel redraws for the first time. Declaration public virtual void OnLoaded() | Improve this Doc View Source OnQuitKeyChanged(Key) Virtual method to invoke the QuitKeyChanged event. Declaration public virtual void OnQuitKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source PositionToplevel(Toplevel) Virtual method enabling implementation of specific positions for inherited Toplevel views. Declaration public virtual void PositionToplevel(Toplevel top) Parameters Type Name Description Toplevel top The toplevel. | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) | Improve this Doc View Source RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() | Improve this Doc View Source RequestStop() Stops and closes this Toplevel . If this Toplevel is the top-most Toplevel, RequestStop(Toplevel) will be called, causing the application to exit. Declaration public virtual void RequestStop() | Improve this Doc View Source RequestStop(Toplevel) Stops and closes the Toplevel specified by top . If top is the top-most Toplevel, RequestStop(Toplevel) will be called, causing the application to exit. Declaration public virtual void RequestStop(Toplevel top) Parameters Type Name Description Toplevel top The toplevel to request stop. | Improve this Doc View Source ShowChild(Toplevel) Shows the Mdi child indicated by top , setting it 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 shown or false if not. | Improve this Doc View Source WillPresent() Invoked by Begin(Toplevel) as part of 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 | Improve this Doc View Source Activate Invoked when the Toplevel Application.RunState becomes the Current Toplevel. Declaration public event Action Activate Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source AllChildClosed Invoked when the last child of the Toplevel Application.RunState is closed from by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action AllChildClosed Event Type Type Description System.Action | Improve this Doc View Source AlternateBackwardKeyChanged Invoked when the AlternateBackwardKey is changed. Declaration public event Action AlternateBackwardKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source AlternateForwardKeyChanged Invoked when the AlternateForwardKey is changed. Declaration public event Action AlternateForwardKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source ChildClosed Invoked when a child of the Toplevel Application.RunState is closed by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action ChildClosed Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source ChildLoaded Invoked when a child Toplevel's Application.RunState has been loaded. Declaration public event Action ChildLoaded Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source ChildUnloaded Invoked when a cjhild Toplevel's Application.RunState has been unloaded. Declaration public event Action ChildUnloaded Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Closed Invoked when the Toplevel's Application.RunState is closed by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action Closed Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Closing Invoked when the Toplevel's Application.RunState is being closed by RequestStop(Toplevel) . Declaration public event Action Closing Event Type Type Description System.Action < ToplevelClosingEventArgs > | Improve this Doc View Source Deactivate Invoked when the Toplevel Application.RunState ceases to be the Current Toplevel. Declaration public event Action Deactivate Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Loaded Invoked when the Toplevel 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 | Improve this Doc View Source QuitKeyChanged Invoked when the QuitKey is changed. Declaration public event Action QuitKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source Ready Invoked when the Toplevel 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) on this Toplevel. Declaration public event Action Ready Event Type Type Description System.Action | Improve this Doc View Source Resized Invoked when the terminal has been resized. The new Size of the terminal is provided. Declaration public event Action Resized Event Type Type Description System.Action < Size > | Improve this Doc View Source Unloaded Invoked when the Toplevel Application.RunState has been unloaded. A Unloaded event handler is a good place to dispose objects 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. They are used for both an application's main view (filling the entire screeN and for pop-up views such as Dialog , MessageBox , and Wizard . Inheritance System.Object Responder View Toplevel Border.ToplevelContainer Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.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. 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source IsMdiChild Gets or sets if this Toplevel is a Mdi child. Declaration public bool IsMdiChild { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsMdiContainer Gets or sets if this Toplevel is a Mdi container. Declaration public bool IsMdiContainer { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source MenuBar Gets or sets the menu for this Toplevel. Declaration public virtual MenuBar MenuBar { get; set; } Property Value Type Description MenuBar | Improve this Doc View Source Modal Determines whether the Toplevel is modal or not. If set to false (the default): ProcessKey(KeyEvent) events will propagate keys upwards. The Toplevel will act as an embedded view (not a modal/pop-up). If set to true : ProcessKey(KeyEvent) events will NOT propogate keys upwards. The Toplevel will and look like a modal (pop-up) (e.g. see Dialog . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source StatusBar Gets or sets the status bar for this Toplevel. Declaration public virtual StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) | Improve this Doc View Source Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The created Toplevel. | Improve this Doc View Source GetTopMdiChild(Type, String[]) Gets the current visible Toplevel Mdi child that matches 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. | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source MoveNext() Move to the next Mdi child from the MdiTop . Declaration public virtual void MoveNext() | Improve this Doc View Source MovePrevious() Move to the previous Mdi child from the MdiTop . Declaration public virtual void MovePrevious() | Improve this Doc View Source OnAlternateBackwardKeyChanged(Key) Virtual method to invoke the AlternateBackwardKeyChanged event. Declaration public virtual void OnAlternateBackwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source OnAlternateForwardKeyChanged(Key) Virtual method to invoke the AlternateForwardKeyChanged event. Declaration public virtual void OnAlternateForwardKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLoaded() Called from Begin(Toplevel) before the Toplevel redraws for the first time. Declaration public virtual void OnLoaded() | Improve this Doc View Source OnQuitKeyChanged(Key) Virtual method to invoke the QuitKeyChanged event. Declaration public virtual void OnQuitKeyChanged(Key oldKey) Parameters Type Name Description Key oldKey | Improve this Doc View Source PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source PositionToplevel(Toplevel) Virtual method enabling implementation of specific positions for inherited Toplevel views. Declaration public virtual void PositionToplevel(Toplevel top) Parameters Type Name Description Toplevel top The toplevel. | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) | Improve this Doc View Source RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() | Improve this Doc View Source RequestStop() Stops and closes this Toplevel . If this Toplevel is the top-most Toplevel, RequestStop(Toplevel) will be called, causing the application to exit. Declaration public virtual void RequestStop() | Improve this Doc View Source RequestStop(Toplevel) Stops and closes the Toplevel specified by top . If top is the top-most Toplevel, RequestStop(Toplevel) will be called, causing the application to exit. Declaration public virtual void RequestStop(Toplevel top) Parameters Type Name Description Toplevel top The toplevel to request stop. | Improve this Doc View Source ShowChild(Toplevel) Shows the Mdi child indicated by top , setting it 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 shown or false if not. | Improve this Doc View Source WillPresent() Invoked by Begin(Toplevel) as part of 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 | Improve this Doc View Source Activate Invoked when the Toplevel Application.RunState becomes the Current Toplevel. Declaration public event Action Activate Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source AllChildClosed Invoked when the last child of the Toplevel Application.RunState is closed from by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action AllChildClosed Event Type Type Description System.Action | Improve this Doc View Source AlternateBackwardKeyChanged Invoked when the AlternateBackwardKey is changed. Declaration public event Action AlternateBackwardKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source AlternateForwardKeyChanged Invoked when the AlternateForwardKey is changed. Declaration public event Action AlternateForwardKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source ChildClosed Invoked when a child of the Toplevel Application.RunState is closed by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action ChildClosed Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source ChildLoaded Invoked when a child Toplevel's Application.RunState has been loaded. Declaration public event Action ChildLoaded Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source ChildUnloaded Invoked when a cjhild Toplevel's Application.RunState has been unloaded. Declaration public event Action ChildUnloaded Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Closed Invoked when the Toplevel's Application.RunState is closed by Terminal.Gui.Application.End(Terminal.Gui.View) . Declaration public event Action Closed Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Closing Invoked when the Toplevel's Application.RunState is being closed by RequestStop(Toplevel) . Declaration public event Action Closing Event Type Type Description System.Action < ToplevelClosingEventArgs > | Improve this Doc View Source Deactivate Invoked when the Toplevel Application.RunState ceases to be the Current Toplevel. Declaration public event Action Deactivate Event Type Type Description System.Action < Toplevel > | Improve this Doc View Source Loaded Invoked when the Toplevel 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 | Improve this Doc View Source QuitKeyChanged Invoked when the QuitKey is changed. Declaration public event Action QuitKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source Ready Invoked when the Toplevel 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) on this Toplevel. Declaration public event Action Ready Event Type Type Description System.Action | Improve this Doc View Source Resized Invoked when the terminal has been resized. The new Size of the terminal is provided. Declaration public event Action Resized Event Type Type Description System.Action < Size > | Improve this Doc View Source Unloaded Invoked when the Toplevel Application.RunState has been unloaded. A Unloaded event handler is a good place to dispose objects 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", @@ -742,12 +742,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.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.GetObjectRow(ITreeNode) TreeView.AdjustSelectionToNextItemBeginningWith(Char, StringComparison) TreeView.MovePageUp(Boolean) TreeView.MovePageDown(Boolean) TreeView.ScrollDown() TreeView.ScrollUp() TreeView.OnObjectActivated(ObjectActivatedEventArgs) TreeView.GetObjectOnRow(Int32) 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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.GetObjectRow(ITreeNode) TreeView.AdjustSelectionToNextItemBeginningWith(Char, StringComparison) TreeView.MovePageUp(Boolean) TreeView.MovePageDown(Boolean) TreeView.ScrollDown() TreeView.ScrollUp() TreeView.OnObjectActivated(ObjectActivatedEventArgs) TreeView.GetObjectOnRow(Int32) 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the tree is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 > | Improve this Doc View Source ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle | Improve this Doc View Source 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 | Improve this Doc View Source ActivateSelectedObjectIfAny() Triggers the ObjectActivated event with the SelectedObject . This method also ensures that the selected object is visible Declaration public void ActivateSelectedObjectIfAny() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() | Improve this Doc View Source AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() | Improve this Doc View Source Collapse() Collapses the SelectedObject Declaration public void Collapse() | Improve this Doc View Source 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 | Improve this Doc View Source CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Expand() Expands the currently SelectedObject Declaration public void Expand() | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source GetObjectOnRow(Int32) Returns the object in the tree list that is currently visible at the provided row. Returns null if no object is at that location. If you have screen coordinates then use ScreenToView(Int32, Int32) to translate these into the client area of the TreeView . Declaration public T GetObjectOnRow(int row) Parameters Type Name Description System.Int32 row The row of the Bounds of the TreeView Returns Type Description T The object currently displayed on this row or null | Improve this Doc View Source GetObjectRow(T) Returns the Y coordinate within the Bounds of the tree at which toFind would be displayed or null if it is not currently exposed (e.g. its parent is collapsed). Note that the returned value can be negative if the TreeView is scrolled down and the toFind object is off the top of the view. Declaration public int? GetObjectRow(T toFind) Parameters Type Name Description T toFind Returns Type Description System.Nullable < System.Int32 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() | Improve this Doc View Source GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() | Improve this Doc View Source InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e | Improve this Doc View Source OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e | Improve this Doc View Source PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source 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() | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o | Improve this Doc View Source ScrollDown() Scrolls the view area down a single line without changing the current selection Declaration public void ScrollDown() | Improve this Doc View Source ScrollUp() Scrolls the view area up a single line without changing the current selection Declaration public void ScrollUp() | Improve this Doc View Source SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 | Improve this Doc View Source DesiredCursorVisibility Get / Set the wished cursor when the tree is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility | Improve this Doc View Source MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 > | Improve this Doc View Source ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle | Improve this Doc View Source 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 | Improve this Doc View Source ActivateSelectedObjectIfAny() Triggers the ObjectActivated event with the SelectedObject . This method also ensures that the selected object is visible Declaration public void ActivateSelectedObjectIfAny() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() | Improve this Doc View Source AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() | Improve this Doc View Source Collapse() Collapses the SelectedObject Declaration public void Collapse() | Improve this Doc View Source 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 | Improve this Doc View Source CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Expand() Expands the currently SelectedObject Declaration public void Expand() | Improve this Doc View Source 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 | Improve this Doc View Source 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() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source GetObjectOnRow(Int32) Returns the object in the tree list that is currently visible at the provided row. Returns null if no object is at that location. If you have screen coordinates then use ScreenToView(Int32, Int32) to translate these into the client area of the TreeView . Declaration public T GetObjectOnRow(int row) Parameters Type Name Description System.Int32 row The row of the Bounds of the TreeView Returns Type Description T The object currently displayed on this row or null | Improve this Doc View Source GetObjectRow(T) Returns the Y coordinate within the Bounds of the tree at which toFind would be displayed or null if it is not currently exposed (e.g. its parent is collapsed). Note that the returned value can be negative if the TreeView is scrolled down and the toFind object is off the top of the view. Declaration public int? GetObjectRow(T toFind) Parameters Type Name Description T toFind Returns Type Description System.Nullable < System.Int32 > | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() | Improve this Doc View Source GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() | Improve this Doc View Source InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) | Improve this Doc View Source OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e | Improve this Doc View Source OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e | Improve this Doc View Source PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) | Improve this Doc View Source 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() | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) | Improve this Doc View Source 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 | Improve this Doc View Source Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o | Improve this Doc View Source ScrollDown() Scrolls the view area down a single line without changing the current selection Declaration public void ScrollDown() | Improve this Doc View Source ScrollUp() Scrolls the view area up a single line without changing the current selection Declaration public void ScrollUp() | Improve this Doc View Source SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events | Improve this Doc View Source 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 > | Improve this Doc View Source 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", @@ -762,7 +762,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 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 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 . 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 Constructors | Improve this Doc View Source View() Initializes a new instance of View using Computed layout. Declaration public View() | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 . Properties | Improve this Doc View Source AutoSize Gets or sets a flag that determines whether the View will be automatically resized to fit the Text . The default is `false`. Set to `true` to turn on AutoSize. If AutoSize is `true` the Width and Height will always be used if the text size is lower. If the text size is higher the bounds will be resized to fit it. In addition, if ForceValidatePosDim is `true` the new values of Width and Height must be of the same types of the existing one to avoid breaking the Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source Border Declaration public virtual Border Border { get; set; } Property Value Type Description Border | Improve this Doc View Source 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. | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides Responder.CanFocus | Improve this Doc View Source 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 | Improve this Doc View Source Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object | Improve this Doc View Source 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 | Improve this Doc View Source Enabled Declaration public override bool Enabled { get; set; } Property Value Type Description System.Boolean Overrides Responder.Enabled | Improve this Doc View Source 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. | Improve this Doc View Source ForceValidatePosDim Forces validation with Computed layout to avoid breaking the Pos and Dim settings. Declaration public bool ForceValidatePosDim { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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. | Improve this Doc View Source HasFocus Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean Overrides Responder.HasFocus | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. | Improve this Doc View Source IsAdded Gets information if the view was already added to the SuperView . Declaration public bool IsAdded { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source PreserveTrailingSpaces Gets or sets a flag that determines whether Text will have trailing spaces preserved or not when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is enabled. If `true` any trailing spaces will be trimmed when either the Text property is changed or when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is set to `true`. The default is `false`. Declaration public virtual bool PreserveTrailingSpaces { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action | Improve this Doc View Source ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source Visible Declaration public override bool Visible { get; set; } Property Value Type Description System.Boolean Overrides Responder.Visible | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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). Methods | Improve this Doc View Source Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view | Improve this Doc View Source 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). | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Clear() Clears the view region with the current color. Declaration public void Clear() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source ClearKeybinding(Key) Clears the existing keybinding (if any) for the given key Declaration public void ClearKeybinding(Key key) Parameters Type Name Description Key key | Improve this Doc View Source ClearKeybindings() Removes all bound keys from the View making including the default key combinations such as cursor navigation, scrolling etc Declaration public void ClearKeybindings() | Improve this Doc View Source ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() | Improve this Doc View Source ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() | Improve this Doc View Source 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 ). | Improve this Doc View Source 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. | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() | Improve this Doc View Source 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() | Improve this Doc View Source FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() | Improve this Doc View Source FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() | Improve this Doc View Source FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. | Improve this Doc View Source FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. | Improve this Doc View Source GetAutoSize() Gets the size to fit all text if AutoSize is true. Declaration public Size GetAutoSize() Returns Type Description Size The Size | Improve this Doc View Source GetBoundsTextFormatterSize() Gets the text formatter size from a Bounds size. Declaration public Size GetBoundsTextFormatterSize() Returns Type Description Size The text formatter size more the HotKeySpecifier length. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source GetHotKeySpecifierLength(Boolean) Get the width or height of the HotKeySpecifier length. Declaration public int GetHotKeySpecifierLength(bool isWidth = true) Parameters Type Name Description System.Boolean isWidth true if is the width (default) false if is the height. Returns Type Description System.Int32 The length of the HotKeySpecifier . | Improve this Doc View Source 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 | Improve this Doc View Source GetMinWidthHeight(out Size) Verifies if the minimum width or height can be sets in the view. Declaration public bool GetMinWidthHeight(out Size size) Parameters Type Name Description Size size The size. Returns Type Description System.Boolean true if the size can be set, false otherwise. | Improve this Doc View Source 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 | Improve this Doc View Source GetSupportedCommands() Returns all commands that are supported by this View Declaration public IEnumerable GetSupportedCommands() Returns Type Description System.Collections.Generic.IEnumerable < Command > | Improve this Doc View Source GetTextFormatterBoundsSize() Gets the bounds size from a Size . Declaration public Size GetTextFormatterBoundsSize() Returns Type Description Size The bounds size minus the HotKeySpecifier length. | Improve this Doc View Source GetTopSuperView() Get the top superview of a given View . Declaration public View GetTopSuperView() Returns Type Description View The superview view. | Improve this Doc View Source 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 > | Improve this Doc View Source 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() | Improve this Doc View Source 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). | Improve this Doc View Source 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. | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides Responder.OnCanFocusChanged() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OnEnabledChanged() Declaration public override void OnEnabledChanged() Overrides Responder.OnEnabledChanged() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnEnter(View) | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnLeave(View) | Improve this Doc View Source 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 | Improve this Doc View Source OnMouseEnter(MouseEvent) Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseEnter(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnMouseLeave(MouseEvent) Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseLeave(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnVisibleChanged() Declaration public override void OnVisibleChanged() Overrides Responder.OnVisibleChanged() | Improve this Doc View Source PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) | Improve this Doc View Source ProcessResizeView() Can be overridden if the view resize behavior is different than the default. Declaration protected virtual void ProcessResizeView() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() | Improve this Doc View Source 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. | Improve this Doc View Source SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() | Improve this Doc View Source 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. | Improve this Doc View Source SetMinWidthHeight() Sets the minimum width or height if the view can be resized. Declaration public bool SetMinWidthHeight() Returns Type Description System.Boolean true if the size can be set, false otherwise. | Improve this Doc View Source SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() | Improve this Doc View Source UpdateTextFormatterText() Can be overridden if the Text has different format than the default. Declaration protected virtual void UpdateTextFormatterText() Events | Improve this Doc View Source Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > | Improve this Doc View Source CanFocusChanged Event fired when the CanFocus value is being changed. Declaration public event Action CanFocusChanged Event Type Type Description System.Action | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source EnabledChanged Event fired when the Enabled value is being changed. Declaration public event Action EnabledChanged Event Type Type Description System.Action | Improve this Doc View Source Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > | Improve this Doc View Source HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source 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 | Improve this Doc View Source KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > | Improve this Doc View Source 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 > | Improve this Doc View Source KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > | Improve this Doc View Source LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > | Improve this Doc View Source LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > | Improve this Doc View Source Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > | Improve this Doc View Source MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > | Improve this Doc View Source 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 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 . 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 Constructors | Improve this Doc View Source View() Initializes a new instance of View using Computed layout. Declaration public View() | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 . Properties | Improve this Doc View Source AutoSize Gets or sets a flag that determines whether the View will be automatically resized to fit the Text . The default is `false`. Set to `true` to turn on AutoSize. If AutoSize is `true` the Width and Height will always be used if the text size is lower. If the text size is higher the bounds will be resized to fit it. In addition, if ForceValidatePosDim is `true` the new values of Width and Height must be of the same types of the existing one to avoid breaking the Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source Border Declaration public virtual Border Border { get; set; } Property Value Type Description Border | Improve this Doc View Source 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. | Improve this Doc View Source CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides Responder.CanFocus | Improve this Doc View Source 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 | Improve this Doc View Source Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object | Improve this Doc View Source 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 | Improve this Doc View Source Enabled Declaration public override bool Enabled { get; set; } Property Value Type Description System.Boolean Overrides Responder.Enabled | Improve this Doc View Source 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. | Improve this Doc View Source ForceValidatePosDim Forces validation with Computed layout to avoid breaking the Pos and Dim settings. Declaration public bool ForceValidatePosDim { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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. | Improve this Doc View Source HasFocus Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean Overrides Responder.HasFocus | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. | Improve this Doc View Source IsAdded Gets information if the view was already added to the SuperView . Declaration public bool IsAdded { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source PreserveTrailingSpaces Gets or sets a flag that determines whether Text will have trailing spaces preserved or not when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is enabled. If `true` any trailing spaces will be trimmed when either the Text property is changed or when WordWrap(ustring, Int32, Boolean, Int32, TextDirection) is set to `true`. The default is `false`. Declaration public virtual bool PreserveTrailingSpaces { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action | Improve this Doc View Source ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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. | Improve this Doc View Source Visible Declaration public override bool Visible { get; set; } Property Value Type Description System.Boolean Overrides Responder.Visible | Improve this Doc View Source 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 | Improve this Doc View Source 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 . | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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). Methods | Improve this Doc View Source Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view | Improve this Doc View Source 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). | Improve this Doc View Source 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. | Improve this Doc View Source 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 Commands are only ever applied to the current View (i.e. this feature cannot be used to switch focus to another view and perform multiple commands there) Declaration public void AddKeyBinding(Key key, params Command[] command) Parameters Type Name Description Key key Command [] command The command(s) to run on the View when key is pressed. When specifying multiple, all commands will be applied in sequence. The bound key strike will be consumed if any took effect. | Improve this Doc View Source 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. | Improve this Doc View Source BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source Clear() Clears the view region with the current color. Declaration public void Clear() | Improve this Doc View Source 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. | Improve this Doc View Source 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(params Command[] command) Parameters Type Name Description Command [] command | Improve this Doc View Source ClearKeybinding(Key) Clears the existing keybinding (if any) for the given key Declaration public void ClearKeybinding(Key key) Parameters Type Name Description Key key | Improve this Doc View Source ClearKeybindings() Removes all bound keys from the View making including the default key combinations such as cursor navigation, scrolling etc Declaration public void ClearKeybindings() | Improve this Doc View Source ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() | Improve this Doc View Source ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() | Improve this Doc View Source 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 ). | Improve this Doc View Source 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. | Improve this Doc View Source Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() | Improve this Doc View Source 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() | Improve this Doc View Source FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() | Improve this Doc View Source FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() | Improve this Doc View Source FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. | Improve this Doc View Source FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. | Improve this Doc View Source GetAutoSize() Gets the size to fit all text if AutoSize is true. Declaration public Size GetAutoSize() Returns Type Description Size The Size | Improve this Doc View Source GetBoundsTextFormatterSize() Gets the text formatter size from a Bounds size. Declaration public Size GetBoundsTextFormatterSize() Returns Type Description Size The text formatter size more the HotKeySpecifier length. | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source GetHotKeySpecifierLength(Boolean) Get the width or height of the HotKeySpecifier length. Declaration public int GetHotKeySpecifierLength(bool isWidth = true) Parameters Type Name Description System.Boolean isWidth true if is the width (default) false if is the height. Returns Type Description System.Int32 The length of the HotKeySpecifier . | Improve this Doc View Source GetKeyFromCommand(Command[]) Gets the key used by a command. Declaration public Key GetKeyFromCommand(params Command[] command) Parameters Type Name Description Command [] command The command to search. Returns Type Description Key The Key used by a Command | Improve this Doc View Source GetMinWidthHeight(out Size) Verifies if the minimum width or height can be sets in the view. Declaration public bool GetMinWidthHeight(out Size size) Parameters Type Name Description Size size The size. Returns Type Description System.Boolean true if the size can be set, false otherwise. | Improve this Doc View Source GetNormalColor() Determines the current ColorScheme based on the Enabled value. Declaration public virtual Attribute GetNormalColor() Returns Type Description Attribute Normal if Enabled is true or Disabled if Enabled is false . If it's overridden can return other values. | Improve this Doc View Source GetSupportedCommands() Returns all commands that are supported by this View Declaration public IEnumerable GetSupportedCommands() Returns Type Description System.Collections.Generic.IEnumerable < Command > | Improve this Doc View Source GetTextFormatterBoundsSize() Gets the bounds size from a Size . Declaration public Size GetTextFormatterBoundsSize() Returns Type Description Size The bounds size minus the HotKeySpecifier length. | Improve this Doc View Source GetTopSuperView() Get the top superview of a given View . Declaration public View GetTopSuperView() Returns Type Description View The superview view. | Improve this Doc View Source 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 > | Improve this Doc View Source 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() | Improve this Doc View Source 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). | Improve this Doc View Source 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. | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides Responder.OnCanFocusChanged() | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source OnEnabledChanged() Declaration public override void OnEnabledChanged() Overrides Responder.OnEnabledChanged() | Improve this Doc View Source OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnEnter(View) | Improve this Doc View Source OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) | Improve this Doc View Source OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) | Improve this Doc View Source OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnLeave(View) | Improve this Doc View Source 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 | Improve this Doc View Source OnMouseEnter(MouseEvent) Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseEnter(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnMouseLeave(MouseEvent) Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseLeave(MouseEvent) | Improve this Doc View Source 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. | Improve this Doc View Source OnVisibleChanged() Declaration public override void OnVisibleChanged() Overrides Responder.OnVisibleChanged() | Improve this Doc View Source PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() | Improve this Doc View Source ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) | Improve this Doc View Source ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) | Improve this Doc View Source ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) | Improve this Doc View Source ProcessResizeView() Can be overridden if the view resize behavior is different than the default. Declaration protected virtual void ProcessResizeView() | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() | Improve this Doc View Source 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. | Improve this Doc View Source SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() | Improve this Doc View Source 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. | Improve this Doc View Source SetMinWidthHeight() Sets the minimum width or height if the view can be resized. Declaration public bool SetMinWidthHeight() Returns Type Description System.Boolean true if the size can be set, false otherwise. | Improve this Doc View Source SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() | Improve this Doc View Source 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. | Improve this Doc View Source 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. | Improve this Doc View Source ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() | Improve this Doc View Source UpdateTextFormatterText() Can be overridden if the Text has different format than the default. Declaration protected virtual void UpdateTextFormatterText() Events | Improve this Doc View Source Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > | Improve this Doc View Source CanFocusChanged Event fired when the CanFocus value is being changed. Declaration public event Action CanFocusChanged Event Type Type Description System.Action | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source EnabledChanged Event fired when the Enabled value is being changed. Declaration public event Action EnabledChanged Event Type Type Description System.Action | Improve this Doc View Source Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > | Improve this Doc View Source HotKeyChanged Event invoked when the HotKey is changed. Declaration public event Action HotKeyChanged Event Type Type Description System.Action < Key > | Improve this Doc View Source 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 | Improve this Doc View Source KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > | Improve this Doc View Source 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 > | Improve this Doc View Source KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > | Improve this Doc View Source LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > | Improve this Doc View Source LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > | Improve this Doc View Source Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > | Improve this Doc View Source MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > | Improve this Doc View Source 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 > | Improve this Doc View Source 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 > | Improve this Doc View Source Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > | Improve this Doc View Source 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", @@ -782,7 +782,7 @@ "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 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. 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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 . Properties | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text | Improve this Doc View Source 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 | Improve this Doc View Source Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source OnTitleChanged(ustring, ustring) Called when the Title has been changed. Invokes the TitleChanged event. Declaration public virtual void OnTitleChanged(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. | Improve this Doc View Source OnTitleChanging(ustring, ustring) Called before the Title changes. Invokes the TitleChanging event, which can be cancelled. Declaration public virtual bool OnTitleChanging(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. Returns Type Description System.Boolean `true` if an event handler cancelled the Title change. | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) | Improve this Doc View Source RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Events | Improve this Doc View Source TitleChanged Event fired after the Title has been changed. Declaration public event Action TitleChanged Event Type Type Description System.Action < Window.TitleEventArgs > | Improve this Doc View Source TitleChanging Event fired when the Title is changing. Set Cancel to `true` to cancel the Title change. Declaration public event Action TitleChanging Event Type Type Description System.Action < Window.TitleEventArgs > 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 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. 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Constructors | Improve this Doc View Source Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() | Improve this Doc View Source 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. | Improve this Doc View Source 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 . | Improve this Doc View Source 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 | Improve this Doc View Source 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 . Properties | Improve this Doc View Source Border Declaration public override Border Border { get; set; } Property Value Type Description Border Overrides View.Border | Improve this Doc View Source Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text | Improve this Doc View Source 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 | Improve this Doc View Source Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods | Improve this Doc View Source Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) | Improve this Doc View Source OnCanFocusChanged() Declaration public override void OnCanFocusChanged() Overrides View.OnCanFocusChanged() | Improve this Doc View Source OnTitleChanged(ustring, ustring) Called when the Title has been changed. Invokes the TitleChanged event. Declaration public virtual void OnTitleChanged(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. | Improve this Doc View Source OnTitleChanging(ustring, ustring) Called before the Title changes. Invokes the TitleChanging event, which can be cancelled. Declaration public virtual bool OnTitleChanging(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. Returns Type Description System.Boolean `true` if an event handler cancelled the Title change. | Improve this Doc View Source Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) | Improve this Doc View Source Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) | Improve this Doc View Source RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Events | Improve this Doc View Source TitleChanged Event fired after the Title has been changed. Declaration public event Action TitleChanged Event Type Type Description System.Action < Window.TitleEventArgs > | Improve this Doc View Source TitleChanging Event fired when the Title is changing. Set Cancel to `true` to cancel the Title change. Declaration public event Action TitleChanging Event Type Type Description System.Action < Window.TitleEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html", @@ -792,7 +792,7 @@ "api/Terminal.Gui/Terminal.Gui.Wizard.html": { "href": "api/Terminal.Gui/Terminal.Gui.Wizard.html", "title": "Class Wizard", - "keywords": "Class Wizard Provides navigation and a user interface (UI) to collect related data across multiple steps. Each step ( Wizard.WizardStep ) can host arbitrary View s, much like a Dialog . Each step also has a pane for help text. Along the bottom of the Wizard view are customizable buttons enabling the user to navigate forward and backward through the Wizard. Inheritance System.Object Responder View Toplevel Window Dialog Wizard Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks The Wizard can be displayed either as a modal (pop-up) Window (like Dialog ) or as an embedded View . By default, Modal is true . In this case launch the Wizard with Application.Run(wizard) . See Modal for more details. Examples using Terminal.Gui; using NStack; Application.Init(); var wizard = new Wizard ($\"Setup Wizard\"); // Add 1st step var firstStep = new Wizard.WizardStep (\"End User License Agreement\"); wizard.AddStep(firstStep); firstStep.NextButtonText = \"Accept!\"; firstStep.HelpText = \"This is the End User License Agreement.\"; // Add 2nd step var secondStep = new Wizard.WizardStep (\"Second Step\"); wizard.AddStep(secondStep); secondStep.HelpText = \"This is the help text for the Second Step.\"; var lbl = new Label (\"Name:\") { AutoSize = true }; secondStep.Add(lbl); var name = new TextField () { X = Pos.Right (lbl) + 1, Width = Dim.Fill () - 1 }; secondStep.Add(name); wizard.Finished += (args) => { MessageBox.Query(\"Wizard\", $\"Finished. The Name entered is '{name.Text}'\", \"Ok\"); Application.RequestStop(); }; Application.Top.Add (wizard); Application.Run (); Application.Shutdown (); Inherited Members Dialog.AddButton(Button) Dialog.ButtonAlignment Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Wizard : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors | Improve this Doc View Source Wizard() Initializes a new instance of the Wizard class using Computed positioning. Declaration public Wizard() | Improve this Doc View Source Wizard(ustring) Initializes a new instance of the Wizard class using Computed positioning. Declaration public Wizard(ustring title) Parameters Type Name Description NStack.ustring title Sets the Title for the Wizard. Properties | Improve this Doc View Source BackButton If the CurrentStep is not the first step in the wizard, this button causes the MovingBack event to be fired and the wizard moves to the previous step. Declaration public Button BackButton { get; } Property Value Type Description Button | Improve this Doc View Source CurrentStep Gets or sets the currently active Wizard.WizardStep . Declaration public Wizard.WizardStep CurrentStep { get; set; } Property Value Type Description Wizard.WizardStep | Improve this Doc View Source Modal Determines whether the Wizard is displayed as modal pop-up or not. The default is true . The Wizard will be shown with a frame with Title and will behave like any Toplevel window. If set to false the Wizard will have no frame and will behave like any embedded View . To use Wizard as an embedded View Set Modal to false . Add the Wizard to a containing view with Add(View) . If a non-Modal Wizard is added to the application after Run(Func) has been called the first step must be explicitly set by setting CurrentStep to GetNextStep() : wizard.CurrentStep = wizard.GetNextStep(); Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source NextFinishButton If the CurrentStep is the last step in the wizard, this button causes the Finished event to be fired and the wizard to close. If the step is not the last step, the MovingNext event will be fired and the wizard will move next step. Declaration public Button NextFinishButton { get; } Property Value Type Description Button | Improve this Doc View Source Title The title of the Wizard, shown at the top of the Wizard with \" - currentStep.Title\" appended. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source AddStep(Wizard.WizardStep) Adds a step to the wizard. The Next and Back buttons navigate through the added steps in the order they were added. Declaration public void AddStep(Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep newStep | Improve this Doc View Source GetFirstStep() Returns the first enabled step in the Wizard Declaration public Wizard.WizardStep GetFirstStep() Returns Type Description Wizard.WizardStep The last enabled step | Improve this Doc View Source GetLastStep() Returns the last enabled step in the Wizard Declaration public Wizard.WizardStep GetLastStep() Returns Type Description Wizard.WizardStep The last enabled step | Improve this Doc View Source GetNextStep() Returns the next enabled Wizard.WizardStep after the current step. Takes into account steps which are disabled. If CurrentStep is null returns the first enabled step. Declaration public Wizard.WizardStep GetNextStep() Returns Type Description Wizard.WizardStep The next step after the current step, if there is one; otherwise returns null , which indicates either there are no enabled steps or the current step is the last enabled step. | Improve this Doc View Source GetPreviousStep() Returns the first enabled Wizard.WizardStep before the current step. Takes into account steps which are disabled. If CurrentStep is null returns the last enabled step. Declaration public Wizard.WizardStep GetPreviousStep() Returns Type Description Wizard.WizardStep The first step ahead of the current step, if there is one; otherwise returns null , which indicates either there are no enabled steps or the current step is the first enabled step. | Improve this Doc View Source GoBack() Causes the wizad to move to the previous enabled step (or first step if CurrentStep is not set). If there is no previous step, does nothing. Declaration public void GoBack() | Improve this Doc View Source GoNext() Causes the wizad to move to the next enabled step (or last step if CurrentStep is not set). If there is no previous step, does nothing. Declaration public void GoNext() | Improve this Doc View Source GoToStep(Wizard.WizardStep) Changes to the specified Wizard.WizardStep . Declaration public bool GoToStep(Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep newStep The step to go to. Returns Type Description System.Boolean True if the transition to the step succeeded. False if the step was not found or the operation was cancelled. | Improve this Doc View Source OnStepChanged(Wizard.WizardStep, Wizard.WizardStep) Called when the Wizard has completed transition to a new Wizard.WizardStep . Fires the StepChanged event. Declaration public virtual bool OnStepChanged(Wizard.WizardStep oldStep, Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep oldStep The step the Wizard changed from Wizard.WizardStep newStep The step the Wizard has changed to Returns Type Description System.Boolean True if the change is to be cancelled. | Improve this Doc View Source OnStepChanging(Wizard.WizardStep, Wizard.WizardStep) Called when the Wizard is about to transition to another Wizard.WizardStep . Fires the StepChanging event. Declaration public virtual bool OnStepChanging(Wizard.WizardStep oldStep, Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep oldStep The step the Wizard is about to change from Wizard.WizardStep newStep The step the Wizard is about to change to Returns Type Description System.Boolean True if the change is to be cancelled. | Improve this Doc View Source ProcessKey(KeyEvent) Wizard is derived from Dialog and Dialog causes Esc to call RequestStop(Toplevel) , closing the Dialog. Wizard overrides ProcessKey(KeyEvent) to instead fire the Cancelled event when Wizard is being used as a non-modal (see Modal . See ProcessKey(KeyEvent) for more. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Dialog.ProcessKey(KeyEvent) Events | Improve this Doc View Source Cancelled Raised when the user has cancelled the Wizard by pressin the Esc key. To prevent a modal ( Modal is true ) Wizard from closing, cancel the event by setting Cancel to true before returning from the event handler. Declaration public event Action Cancelled Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source Finished Raised when the Next/Finish button in the Wizard is clicked. The Next/Finish button is always the last button in the array of Buttons passed to the Wizard constructor, if any. This event is only raised if the CurrentStep is the last Step in the Wizard flow (otherwise the Finished event is raised). Declaration public event Action Finished Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source MovingBack Raised when the Back button in the Wizard is clicked. The Back button is always the first button in the array of Buttons passed to the Wizard constructor, if any. Declaration public event Action MovingBack Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source MovingNext Raised when the Next/Finish button in the Wizard is clicked (or the user presses Enter). The Next/Finish button is always the last button in the array of Buttons passed to the Wizard constructor, if any. This event is only raised if the CurrentStep is the last Step in the Wizard flow (otherwise the Finished event is raised). Declaration public event Action MovingNext Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source StepChanged This event is raised after the Wizard has changed the CurrentStep . Declaration public event Action StepChanged Event Type Type Description System.Action < Wizard.StepChangeEventArgs > | Improve this Doc View Source StepChanging This event is raised when the current CurrentStep ) is about to change. Use Cancel to abort the transition. Declaration public event Action StepChanging Event Type Type Description System.Action < Wizard.StepChangeEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Wizard Provides navigation and a user interface (UI) to collect related data across multiple steps. Each step ( Wizard.WizardStep ) can host arbitrary View s, much like a Dialog . Each step also has a pane for help text. Along the bottom of the Wizard view are customizable buttons enabling the user to navigate forward and backward through the Wizard. Inheritance System.Object Responder View Toplevel Window Dialog Wizard Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks The Wizard can be displayed either as a modal (pop-up) Window (like Dialog ) or as an embedded View . By default, Modal is true . In this case launch the Wizard with Application.Run(wizard) . See Modal for more details. Examples using Terminal.Gui; using NStack; Application.Init(); var wizard = new Wizard ($\"Setup Wizard\"); // Add 1st step var firstStep = new Wizard.WizardStep (\"End User License Agreement\"); wizard.AddStep(firstStep); firstStep.NextButtonText = \"Accept!\"; firstStep.HelpText = \"This is the End User License Agreement.\"; // Add 2nd step var secondStep = new Wizard.WizardStep (\"Second Step\"); wizard.AddStep(secondStep); secondStep.HelpText = \"This is the help text for the Second Step.\"; var lbl = new Label (\"Name:\") { AutoSize = true }; secondStep.Add(lbl); var name = new TextField () { X = Pos.Right (lbl) + 1, Width = Dim.Fill () - 1 }; secondStep.Add(name); wizard.Finished += (args) => { MessageBox.Query(\"Wizard\", $\"Finished. The Name entered is '{name.Text}'\", \"Ok\"); Application.RequestStop(); }; Application.Top.Add (wizard); Application.Run (); Application.Shutdown (); Inherited Members Dialog.AddButton(Button) Dialog.ButtonAlignment Window.Border Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.OnCanFocusChanged() Window.Text Window.TextAlignment Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() Toplevel.AlternateForwardKeyChanged Toplevel.OnAlternateForwardKeyChanged(Key) Toplevel.AlternateBackwardKeyChanged Toplevel.OnAlternateBackwardKeyChanged(Key) Toplevel.QuitKeyChanged Toplevel.OnQuitKeyChanged(Key) Toplevel.Create() Toplevel.CanFocus 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 Wizard : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors | Improve this Doc View Source Wizard() Initializes a new instance of the Wizard class using Computed positioning. Declaration public Wizard() | Improve this Doc View Source Wizard(ustring) Initializes a new instance of the Wizard class using Computed positioning. Declaration public Wizard(ustring title) Parameters Type Name Description NStack.ustring title Sets the Title for the Wizard. Properties | Improve this Doc View Source BackButton If the CurrentStep is not the first step in the wizard, this button causes the MovingBack event to be fired and the wizard moves to the previous step. Declaration public Button BackButton { get; } Property Value Type Description Button | Improve this Doc View Source CurrentStep Gets or sets the currently active Wizard.WizardStep . Declaration public Wizard.WizardStep CurrentStep { get; set; } Property Value Type Description Wizard.WizardStep | Improve this Doc View Source Modal Determines whether the Wizard is displayed as modal pop-up or not. The default is true . The Wizard will be shown with a frame with Title and will behave like any Toplevel window. If set to false the Wizard will have no frame and will behave like any embedded View . To use Wizard as an embedded View Set Modal to false . Add the Wizard to a containing view with Add(View) . If a non-Modal Wizard is added to the application after Run(Func) has been called the first step must be explicitly set by setting CurrentStep to GetNextStep() : wizard.CurrentStep = wizard.GetNextStep(); Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source NextFinishButton If the CurrentStep is the last step in the wizard, this button causes the Finished event to be fired and the wizard to close. If the step is not the last step, the MovingNext event will be fired and the wizard will move next step. Declaration public Button NextFinishButton { get; } Property Value Type Description Button | Improve this Doc View Source Title The title of the Wizard, shown at the top of the Wizard with \" - currentStep.Title\" appended. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source AddStep(Wizard.WizardStep) Adds a step to the wizard. The Next and Back buttons navigate through the added steps in the order they were added. Declaration public void AddStep(Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep newStep | Improve this Doc View Source GetFirstStep() Returns the first enabled step in the Wizard Declaration public Wizard.WizardStep GetFirstStep() Returns Type Description Wizard.WizardStep The last enabled step | Improve this Doc View Source GetLastStep() Returns the last enabled step in the Wizard Declaration public Wizard.WizardStep GetLastStep() Returns Type Description Wizard.WizardStep The last enabled step | Improve this Doc View Source GetNextStep() Returns the next enabled Wizard.WizardStep after the current step. Takes into account steps which are disabled. If CurrentStep is null returns the first enabled step. Declaration public Wizard.WizardStep GetNextStep() Returns Type Description Wizard.WizardStep The next step after the current step, if there is one; otherwise returns null , which indicates either there are no enabled steps or the current step is the last enabled step. | Improve this Doc View Source GetPreviousStep() Returns the first enabled Wizard.WizardStep before the current step. Takes into account steps which are disabled. If CurrentStep is null returns the last enabled step. Declaration public Wizard.WizardStep GetPreviousStep() Returns Type Description Wizard.WizardStep The first step ahead of the current step, if there is one; otherwise returns null , which indicates either there are no enabled steps or the current step is the first enabled step. | Improve this Doc View Source GoBack() Causes the wizad to move to the previous enabled step (or first step if CurrentStep is not set). If there is no previous step, does nothing. Declaration public void GoBack() | Improve this Doc View Source GoNext() Causes the wizad to move to the next enabled step (or last step if CurrentStep is not set). If there is no previous step, does nothing. Declaration public void GoNext() | Improve this Doc View Source GoToStep(Wizard.WizardStep) Changes to the specified Wizard.WizardStep . Declaration public bool GoToStep(Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep newStep The step to go to. Returns Type Description System.Boolean True if the transition to the step succeeded. False if the step was not found or the operation was cancelled. | Improve this Doc View Source OnStepChanged(Wizard.WizardStep, Wizard.WizardStep) Called when the Wizard has completed transition to a new Wizard.WizardStep . Fires the StepChanged event. Declaration public virtual bool OnStepChanged(Wizard.WizardStep oldStep, Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep oldStep The step the Wizard changed from Wizard.WizardStep newStep The step the Wizard has changed to Returns Type Description System.Boolean True if the change is to be cancelled. | Improve this Doc View Source OnStepChanging(Wizard.WizardStep, Wizard.WizardStep) Called when the Wizard is about to transition to another Wizard.WizardStep . Fires the StepChanging event. Declaration public virtual bool OnStepChanging(Wizard.WizardStep oldStep, Wizard.WizardStep newStep) Parameters Type Name Description Wizard.WizardStep oldStep The step the Wizard is about to change from Wizard.WizardStep newStep The step the Wizard is about to change to Returns Type Description System.Boolean True if the change is to be cancelled. | Improve this Doc View Source ProcessKey(KeyEvent) Wizard is derived from Dialog and Dialog causes Esc to call RequestStop(Toplevel) , closing the Dialog. Wizard overrides ProcessKey(KeyEvent) to instead fire the Cancelled event when Wizard is being used as a non-modal (see Modal . See ProcessKey(KeyEvent) for more. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Dialog.ProcessKey(KeyEvent) Events | Improve this Doc View Source Cancelled Raised when the user has cancelled the Wizard by pressin the Esc key. To prevent a modal ( Modal is true ) Wizard from closing, cancel the event by setting Cancel to true before returning from the event handler. Declaration public event Action Cancelled Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source Finished Raised when the Next/Finish button in the Wizard is clicked. The Next/Finish button is always the last button in the array of Buttons passed to the Wizard constructor, if any. This event is only raised if the CurrentStep is the last Step in the Wizard flow (otherwise the Finished event is raised). Declaration public event Action Finished Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source MovingBack Raised when the Back button in the Wizard is clicked. The Back button is always the first button in the array of Buttons passed to the Wizard constructor, if any. Declaration public event Action MovingBack Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source MovingNext Raised when the Next/Finish button in the Wizard is clicked (or the user presses Enter). The Next/Finish button is always the last button in the array of Buttons passed to the Wizard constructor, if any. This event is only raised if the CurrentStep is the last Step in the Wizard flow (otherwise the Finished event is raised). Declaration public event Action MovingNext Event Type Type Description System.Action < Wizard.WizardButtonEventArgs > | Improve this Doc View Source StepChanged This event is raised after the Wizard has changed the CurrentStep . Declaration public event Action StepChanged Event Type Type Description System.Action < Wizard.StepChangeEventArgs > | Improve this Doc View Source StepChanging This event is raised when the current CurrentStep ) is about to change. Use Cancel to abort the transition. Declaration public event Action StepChanging Event Type Type Description System.Action < Wizard.StepChangeEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html", @@ -807,7 +807,7 @@ "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html": { "href": "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html", "title": "Class Wizard.WizardStep", - "keywords": "Class Wizard.WizardStep Represents a basic step that is displayed in a Wizard . The Wizard.WizardStep view is divided horizontally in two. On the left is the content view where View s can be added, On the right is the help for the step. Set HelpText to set the help text. If the help text is empty the help pane will not be shown. If there are no Views added to the WizardStep the HelpText (if not empty) will fill the wizard step. Inheritance System.Object Responder View FrameView Wizard.WizardStep Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks If Button s are added, do not set IsDefault to true as this will conflict with the Next button of the Wizard. Subscribe to the VisibleChanged event to be notified when the step is active; see also: StepChanged . To enable or disable a step from being shown to the user, set Enabled . Inherited Members FrameView.Border 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 WizardStep : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors | Improve this Doc View Source WizardStep(ustring) Initializes a new instance of the Wizard class using Computed positioning. Declaration public WizardStep(ustring title) Parameters Type Name Description NStack.ustring title Title for the Step. Will be appended to the containing Wizard's title as \"Wizard Title - Wizard Step Title\" when this step is active. Properties | Improve this Doc View Source BackButtonText Sets or gets the text for the back button. The back button will only be visible on steps after the first step. Declaration public ustring BackButtonText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source HelpText Sets or gets help text for the Wizard.WizardStep .If HelpText is empty the help pane will not be visible and the content will fill the entire WizardStep. Declaration public ustring HelpText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source NextButtonText Sets or gets the text for the next/finish button. Declaration public ustring NextButtonText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source Title The title of the Wizard.WizardStep . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source Add(View) Add the specified View to the Wizard.WizardStep . Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides FrameView.Add(View) | Improve this Doc View Source OnTitleChanged(ustring, ustring) Called when the Title has been changed. Invokes the TitleChanged event. Declaration public virtual void OnTitleChanged(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. | Improve this Doc View Source OnTitleChanging(ustring, ustring) Called before the Title changes. Invokes the TitleChanging event, which can be cancelled. Declaration public virtual bool OnTitleChanging(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. Returns Type Description System.Boolean true if an event handler cancelled the Title change. | Improve this Doc View Source Remove(View) Removes a View from Wizard.WizardStep . Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides FrameView.Remove(View) | Improve this Doc View Source RemoveAll() Removes all View s from the Wizard.WizardStep . Declaration public override void RemoveAll() Overrides FrameView.RemoveAll() Events | Improve this Doc View Source TitleChanged Event fired after the Title has been changed. Declaration public event Action TitleChanged Event Type Type Description System.Action < Wizard.WizardStep.TitleEventArgs > | Improve this Doc View Source TitleChanging Event fired when the Title is changing. Set Cancel to true to cancel the Title change. Declaration public event Action TitleChanging Event Type Type Description System.Action < Wizard.WizardStep.TitleEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Wizard.WizardStep Represents a basic step that is displayed in a Wizard . The Wizard.WizardStep view is divided horizontally in two. On the left is the content view where View s can be added, On the right is the help for the step. Set HelpText to set the help text. If the help text is empty the help pane will not be shown. If there are no Views added to the WizardStep the HelpText (if not empty) will fill the wizard step. Inheritance System.Object Responder View FrameView Wizard.WizardStep Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Remarks If Button s are added, do not set IsDefault to true as this will conflict with the Next button of the Wizard. Subscribe to the VisibleChanged event to be notified when the step is active; see also: StepChanged . To enable or disable a step from being shown to the user, set Enabled . Inherited Members FrameView.Border 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 WizardStep : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors | Improve this Doc View Source WizardStep(ustring) Initializes a new instance of the Wizard class using Computed positioning. Declaration public WizardStep(ustring title) Parameters Type Name Description NStack.ustring title Title for the Step. Will be appended to the containing Wizard's title as \"Wizard Title - Wizard Step Title\" when this step is active. Properties | Improve this Doc View Source BackButtonText Sets or gets the text for the back button. The back button will only be visible on steps after the first step. Declaration public ustring BackButtonText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source HelpText Sets or gets help text for the Wizard.WizardStep .If HelpText is empty the help pane will not be visible and the content will fill the entire WizardStep. Declaration public ustring HelpText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source NextButtonText Sets or gets the text for the next/finish button. Declaration public ustring NextButtonText { get; set; } Property Value Type Description NStack.ustring | Improve this Doc View Source Title The title of the Wizard.WizardStep . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring Methods | Improve this Doc View Source Add(View) Add the specified View to the Wizard.WizardStep . Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides FrameView.Add(View) | Improve this Doc View Source OnTitleChanged(ustring, ustring) Called when the Title has been changed. Invokes the TitleChanged event. Declaration public virtual void OnTitleChanged(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. | Improve this Doc View Source OnTitleChanging(ustring, ustring) Called before the Title changes. Invokes the TitleChanging event, which can be cancelled. Declaration public virtual bool OnTitleChanging(ustring oldTitle, ustring newTitle) Parameters Type Name Description NStack.ustring oldTitle The Title that is/has been replaced. NStack.ustring newTitle The new Title to be replaced. Returns Type Description System.Boolean true if an event handler cancelled the Title change. | Improve this Doc View Source Remove(View) Removes a View from Wizard.WizardStep . Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides FrameView.Remove(View) | Improve this Doc View Source RemoveAll() Removes all View s from the Wizard.WizardStep . Declaration public override void RemoveAll() Overrides FrameView.RemoveAll() Events | Improve this Doc View Source TitleChanged Event fired after the Title has been changed. Declaration public event Action TitleChanged Event Type Type Description System.Action < Wizard.WizardStep.TitleEventArgs > | Improve this Doc View Source TitleChanging Event fired when the Title is changing. Set Cancel to true to cancel the Title change. Declaration public event Action TitleChanging Event Type Type Description System.Action < Wizard.WizardStep.TitleEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html", @@ -822,7 +822,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 | Improve this Doc View Source A_BLINK Declaration public const int A_BLINK = 524288 Field Value Type Description System.Int32 | Improve this Doc View Source A_BOLD Declaration public const int A_BOLD = 2097152 Field Value Type Description System.Int32 | Improve this Doc View Source A_DIM Declaration public const int A_DIM = 1048576 Field Value Type Description System.Int32 | Improve this Doc View Source A_INVIS Declaration public const int A_INVIS = 8388608 Field Value Type Description System.Int32 | Improve this Doc View Source A_NORMAL Declaration public const int A_NORMAL = 0 Field Value Type Description System.Int32 | Improve this Doc View Source A_PROTECT Declaration public const int A_PROTECT = 16777216 Field Value Type Description System.Int32 | Improve this Doc View Source A_REVERSE Declaration public const int A_REVERSE = 262144 Field Value Type Description System.Int32 | Improve this Doc View Source A_STANDOUT Declaration public const int A_STANDOUT = 65536 Field Value Type Description System.Int32 | Improve this Doc View Source A_UNDERLINE Declaration public const int A_UNDERLINE = 131072 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BLOCK Declaration public const int ACS_BLOCK = 4194352 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BOARD Declaration public const int ACS_BOARD = 4194408 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BTEE Declaration public const int ACS_BTEE = 4194422 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BULLET Declaration public const int ACS_BULLET = 4194430 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_CKBOARD Declaration public const int ACS_CKBOARD = 4194401 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DARROW Declaration public const int ACS_DARROW = 4194350 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DEGREE Declaration public const int ACS_DEGREE = 4194406 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DIAMOND Declaration public const int ACS_DIAMOND = 4194400 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_HLINE Declaration public const int ACS_HLINE = 4194417 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LANTERN Declaration public const int ACS_LANTERN = 4194409 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LARROW Declaration public const int ACS_LARROW = 4194348 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LLCORNER Declaration public const int ACS_LLCORNER = 4194413 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LRCORNER Declaration public const int ACS_LRCORNER = 4194410 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LTEE Declaration public const int ACS_LTEE = 4194420 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_PLMINUS Declaration public const int ACS_PLMINUS = 4194407 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_PLUS Declaration public const int ACS_PLUS = 4194414 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_RARROW Declaration public const int ACS_RARROW = 4194347 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_RTEE Declaration public const int ACS_RTEE = 4194421 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_S1 Declaration public const int ACS_S1 = 4194415 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_S9 Declaration public const int ACS_S9 = 4194419 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_TTEE Declaration public const int ACS_TTEE = 4194423 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_UARROW Declaration public const int ACS_UARROW = 4194349 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_ULCORNER Declaration public const int ACS_ULCORNER = 4194412 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_URCORNER Declaration public const int ACS_URCORNER = 4194411 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_VLINE Declaration public const int ACS_VLINE = 4194424 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyEnd Declaration public const int AltCtrlKeyEnd = 532 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyHome Declaration public const int AltCtrlKeyHome = 537 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyNPage Declaration public const int AltCtrlKeyNPage = 552 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyPPage Declaration public const int AltCtrlKeyPPage = 557 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyDown Declaration public const int AltKeyDown = 523 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyEnd Declaration public const int AltKeyEnd = 528 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyHome Declaration public const int AltKeyHome = 533 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyLeft Declaration public const int AltKeyLeft = 543 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyNPage Declaration public const int AltKeyNPage = 548 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyPPage Declaration public const int AltKeyPPage = 553 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyRight Declaration public const int AltKeyRight = 558 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyUp Declaration public const int AltKeyUp = 564 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_BLACK Declaration public const int COLOR_BLACK = 0 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_BLUE Declaration public const int COLOR_BLUE = 4 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_CYAN Declaration public const int COLOR_CYAN = 6 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_GRAY Declaration public const int COLOR_GRAY = 8 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_GREEN Declaration public const int COLOR_GREEN = 2 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_MAGENTA Declaration public const int COLOR_MAGENTA = 5 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_RED Declaration public const int COLOR_RED = 1 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_WHITE Declaration public const int COLOR_WHITE = 7 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_YELLOW Declaration public const int COLOR_YELLOW = 3 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyDown Declaration public const int CtrlKeyDown = 525 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyEnd Declaration public const int CtrlKeyEnd = 530 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyHome Declaration public const int CtrlKeyHome = 535 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyLeft Declaration public const int CtrlKeyLeft = 545 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyNPage Declaration public const int CtrlKeyNPage = 550 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyPPage Declaration public const int CtrlKeyPPage = 555 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyRight Declaration public const int CtrlKeyRight = 560 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyUp Declaration public const int CtrlKeyUp = 566 Field Value Type Description System.Int32 | Improve this Doc View Source DownEnd Declaration public const int DownEnd = 0 Field Value Type Description System.Int32 | Improve this Doc View Source ERR Declaration public const int ERR = -1 Field Value Type Description System.Int32 | Improve this Doc View Source Home Declaration public const int Home = 0 Field Value Type Description System.Int32 | Improve this Doc View Source KEY_CODE_SEQ Declaration public const int KEY_CODE_SEQ = 91 Field Value Type Description System.Int32 | Improve this Doc View Source KEY_CODE_YES Declaration public const int KEY_CODE_YES = 256 Field Value Type Description System.Int32 | Improve this Doc View Source KeyAlt Declaration public const int KeyAlt = 8192 Field Value Type Description System.Int32 | Improve this Doc View Source KeyBackspace Declaration public const int KeyBackspace = 263 Field Value Type Description System.Int32 | Improve this Doc View Source KeyBackTab Declaration public const int KeyBackTab = 353 Field Value Type Description System.Int32 | Improve this Doc View Source KeyDeleteChar Declaration public const int KeyDeleteChar = 330 Field Value Type Description System.Int32 | Improve this Doc View Source KeyDown Declaration public const int KeyDown = 258 Field Value Type Description System.Int32 | Improve this Doc View Source KeyEnd Declaration public const int KeyEnd = 360 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF1 Declaration public const int KeyF1 = 265 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF10 Declaration public const int KeyF10 = 274 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF11 Declaration public const int KeyF11 = 275 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF12 Declaration public const int KeyF12 = 276 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF2 Declaration public const int KeyF2 = 266 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF3 Declaration public const int KeyF3 = 267 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF4 Declaration public const int KeyF4 = 268 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF5 Declaration public const int KeyF5 = 269 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF6 Declaration public const int KeyF6 = 270 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF7 Declaration public const int KeyF7 = 271 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF8 Declaration public const int KeyF8 = 272 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF9 Declaration public const int KeyF9 = 273 Field Value Type Description System.Int32 | Improve this Doc View Source KeyHome Declaration public const int KeyHome = 262 Field Value Type Description System.Int32 | Improve this Doc View Source KeyInsertChar Declaration public const int KeyInsertChar = 331 Field Value Type Description System.Int32 | Improve this Doc View Source KeyLeft Declaration public const int KeyLeft = 260 Field Value Type Description System.Int32 | Improve this Doc View Source KeyMouse Declaration public const int KeyMouse = 409 Field Value Type Description System.Int32 | Improve this Doc View Source KeyNPage Declaration public const int KeyNPage = 338 Field Value Type Description System.Int32 | Improve this Doc View Source KeyPPage Declaration public const int KeyPPage = 339 Field Value Type Description System.Int32 | Improve this Doc View Source KeyResize Declaration public const int KeyResize = 410 Field Value Type Description System.Int32 | Improve this Doc View Source KeyRight Declaration public const int KeyRight = 261 Field Value Type Description System.Int32 | Improve this Doc View Source KeyTab Declaration public const int KeyTab = 9 Field Value Type Description System.Int32 | Improve this Doc View Source KeyUp Declaration public const int KeyUp = 259 Field Value Type Description System.Int32 | Improve this Doc View Source LeftRightUpNPagePPage Declaration public const int LeftRightUpNPagePPage = 0 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyDown Declaration public const int ShiftAltKeyDown = 524 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyEnd Declaration public const int ShiftAltKeyEnd = 529 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyHome Declaration public const int ShiftAltKeyHome = 534 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyLeft Declaration public const int ShiftAltKeyLeft = 544 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyNPage Declaration public const int ShiftAltKeyNPage = 549 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyPPage Declaration public const int ShiftAltKeyPPage = 554 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyRight Declaration public const int ShiftAltKeyRight = 559 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyUp Declaration public const int ShiftAltKeyUp = 565 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyDown Declaration public const int ShiftCtrlKeyDown = 526 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyEnd Declaration public const int ShiftCtrlKeyEnd = 531 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyHome Declaration public const int ShiftCtrlKeyHome = 536 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyLeft Declaration public const int ShiftCtrlKeyLeft = 546 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyNPage Declaration public const int ShiftCtrlKeyNPage = 551 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyPPage Declaration public const int ShiftCtrlKeyPPage = 556 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyRight Declaration public const int ShiftCtrlKeyRight = 561 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyUp Declaration public const int ShiftCtrlKeyUp = 567 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyDown Declaration public const int ShiftKeyDown = 336 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyEnd Declaration public const int ShiftKeyEnd = 386 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyHome Declaration public const int ShiftKeyHome = 391 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyLeft Declaration public const int ShiftKeyLeft = 393 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyNPage Declaration public const int ShiftKeyNPage = 396 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyPPage Declaration public const int ShiftKeyPPage = 398 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyRight Declaration public const int ShiftKeyRight = 402 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyUp Declaration public const int ShiftKeyUp = 337 Field Value Type Description System.Int32 | Improve this Doc View Source TIOCGWINSZ Declaration public const int TIOCGWINSZ = 21523 Field Value Type Description System.Int32 | Improve this Doc View Source TIOCGWINSZ_MAC Declaration public const int TIOCGWINSZ_MAC = 1074295912 Field Value Type Description System.Int32 Properties | Improve this Doc View Source ColorPairs Declaration public static int ColorPairs { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Cols Declaration public static int Cols { get; } Property Value Type Description System.Int32 | Improve this Doc View Source HasColors Declaration public static bool HasColors { get; } Property Value Type Description System.Boolean | Improve this Doc View Source LC_ALL Declaration public static int LC_ALL { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Lines Declaration public static int Lines { get; } Property Value Type Description System.Int32 Methods | Improve this Doc View Source addch(Int32) Declaration public static int addch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source addwstr(String) Declaration public static int addwstr(string s) Parameters Type Name Description System.String s Returns Type Description System.Int32 | Improve this Doc View Source attroff(Int32) Declaration public static int attroff(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source attron(Int32) Declaration public static int attron(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source attrset(Int32) Declaration public static int attrset(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source cbreak() Declaration public static int cbreak() Returns Type Description System.Int32 | Improve this Doc View Source CheckWinChange() Declaration public static bool CheckWinChange() Returns Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source COLOR_PAIRS() Declaration public static int COLOR_PAIRS() Returns Type Description System.Int32 | Improve this Doc View Source ColorPair(Int32) Declaration public static int ColorPair(int n) Parameters Type Name Description System.Int32 n Returns Type Description System.Int32 | Improve this Doc View Source curs_set(Int32) Declaration public static int curs_set(int visibility) Parameters Type Name Description System.Int32 visibility Returns Type Description System.Int32 | Improve this Doc View Source def_prog_mode() Declaration public static int def_prog_mode() Returns Type Description System.Int32 | Improve this Doc View Source def_shell_mode() Declaration public static int def_shell_mode() Returns Type Description System.Int32 | Improve this Doc View Source doupdate() Declaration public static int doupdate() Returns Type Description System.Int32 | Improve this Doc View Source echo() Declaration public static int echo() Returns Type Description System.Int32 | Improve this Doc View Source endwin() Declaration public static int endwin() Returns Type Description System.Int32 | Improve this Doc View Source flushinp() Declaration public static int flushinp() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source getch() Declaration public static int getch() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source halfdelay(Int32) Declaration public static int halfdelay(int t) Parameters Type Name Description System.Int32 t Returns Type Description System.Int32 | Improve this Doc View Source has_colors() Declaration public static bool has_colors() Returns Type Description System.Boolean | Improve this Doc View Source idcok(IntPtr, Boolean) Declaration public static void idcok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf | Improve this Doc View Source 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 | Improve this Doc View Source immedok(IntPtr, Boolean) Declaration public static void immedok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source initscr() Declaration public static Curses.Window initscr() Returns Type Description Curses.Window | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source IsAlt(Int32) Declaration public static int IsAlt(int key) Parameters Type Name Description System.Int32 key Returns Type Description System.Int32 | Improve this Doc View Source isendwin() Declaration public static bool isendwin() Returns Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source mouseinterval(Int32) Declaration public static int mouseinterval(int interval) Parameters Type Name Description System.Int32 interval Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source nl() Declaration public static int nl() Returns Type Description System.Int32 | Improve this Doc View Source nocbreak() Declaration public static int nocbreak() Returns Type Description System.Int32 | Improve this Doc View Source noecho() Declaration public static int noecho() Returns Type Description System.Int32 | Improve this Doc View Source nonl() Declaration public static int nonl() Returns Type Description System.Int32 | Improve this Doc View Source noqiflush() Declaration public static void noqiflush() | Improve this Doc View Source noraw() Declaration public static int noraw() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source qiflush() Declaration public static void qiflush() | Improve this Doc View Source raw() Declaration public static int raw() Returns Type Description System.Int32 | Improve this Doc View Source redrawwin(IntPtr) Declaration public static int redrawwin(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source refresh() Declaration public static int refresh() Returns Type Description System.Int32 | Improve this Doc View Source reset_prog_mode() Declaration public static int reset_prog_mode() Returns Type Description System.Int32 | Improve this Doc View Source reset_shell_mode() Declaration public static int reset_shell_mode() Returns Type Description System.Int32 | Improve this Doc View Source resetty() Declaration public static int resetty() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source savetty() Declaration public static int savetty() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source start_color() Declaration public static int start_color() Returns Type Description System.Int32 | Improve this Doc View Source StartColor() Declaration public static int StartColor() Returns Type Description System.Int32 | Improve this Doc View Source timeout(Int32) Declaration public static int timeout(int delay) Parameters Type Name Description System.Int32 delay Returns Type Description System.Int32 | Improve this Doc View Source typeahead(IntPtr) Declaration public static int typeahead(IntPtr fd) Parameters Type Name Description System.IntPtr fd Returns Type Description System.Int32 | Improve this Doc View Source ungetch(Int32) Declaration public static int ungetch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source use_default_colors() Declaration public static int use_default_colors() Returns Type Description System.Int32 | Improve this Doc View Source use_env(Boolean) Declaration public static void use_env(bool f) Parameters Type Name Description System.Boolean f | Improve this Doc View Source UseDefaultColors() Declaration public static int UseDefaultColors() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source wnoutrefresh(IntPtr) Declaration public static int wnoutrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source wrefresh(IntPtr) Declaration public static int wrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source A_BLINK Declaration public const int A_BLINK = 524288 Field Value Type Description System.Int32 | Improve this Doc View Source A_BOLD Declaration public const int A_BOLD = 2097152 Field Value Type Description System.Int32 | Improve this Doc View Source A_DIM Declaration public const int A_DIM = 1048576 Field Value Type Description System.Int32 | Improve this Doc View Source A_INVIS Declaration public const int A_INVIS = 8388608 Field Value Type Description System.Int32 | Improve this Doc View Source A_NORMAL Declaration public const int A_NORMAL = 0 Field Value Type Description System.Int32 | Improve this Doc View Source A_PROTECT Declaration public const int A_PROTECT = 16777216 Field Value Type Description System.Int32 | Improve this Doc View Source A_REVERSE Declaration public const int A_REVERSE = 262144 Field Value Type Description System.Int32 | Improve this Doc View Source A_STANDOUT Declaration public const int A_STANDOUT = 65536 Field Value Type Description System.Int32 | Improve this Doc View Source A_UNDERLINE Declaration public const int A_UNDERLINE = 131072 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BLOCK Declaration public const int ACS_BLOCK = 4194352 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BOARD Declaration public const int ACS_BOARD = 4194408 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BTEE Declaration public const int ACS_BTEE = 4194422 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_BULLET Declaration public const int ACS_BULLET = 4194430 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_CKBOARD Declaration public const int ACS_CKBOARD = 4194401 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DARROW Declaration public const int ACS_DARROW = 4194350 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DEGREE Declaration public const int ACS_DEGREE = 4194406 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_DIAMOND Declaration public const int ACS_DIAMOND = 4194400 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_HLINE Declaration public const int ACS_HLINE = 4194417 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LANTERN Declaration public const int ACS_LANTERN = 4194409 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LARROW Declaration public const int ACS_LARROW = 4194348 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LLCORNER Declaration public const int ACS_LLCORNER = 4194413 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LRCORNER Declaration public const int ACS_LRCORNER = 4194410 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_LTEE Declaration public const int ACS_LTEE = 4194420 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_PLMINUS Declaration public const int ACS_PLMINUS = 4194407 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_PLUS Declaration public const int ACS_PLUS = 4194414 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_RARROW Declaration public const int ACS_RARROW = 4194347 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_RTEE Declaration public const int ACS_RTEE = 4194421 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_S1 Declaration public const int ACS_S1 = 4194415 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_S9 Declaration public const int ACS_S9 = 4194419 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_TTEE Declaration public const int ACS_TTEE = 4194423 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_UARROW Declaration public const int ACS_UARROW = 4194349 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_ULCORNER Declaration public const int ACS_ULCORNER = 4194412 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_URCORNER Declaration public const int ACS_URCORNER = 4194411 Field Value Type Description System.Int32 | Improve this Doc View Source ACS_VLINE Declaration public const int ACS_VLINE = 4194424 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyEnd Declaration public const int AltCtrlKeyEnd = 532 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyHome Declaration public const int AltCtrlKeyHome = 537 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyNPage Declaration public const int AltCtrlKeyNPage = 552 Field Value Type Description System.Int32 | Improve this Doc View Source AltCtrlKeyPPage Declaration public const int AltCtrlKeyPPage = 557 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyDown Declaration public const int AltKeyDown = 523 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyEnd Declaration public const int AltKeyEnd = 528 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyHome Declaration public const int AltKeyHome = 533 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyLeft Declaration public const int AltKeyLeft = 543 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyNPage Declaration public const int AltKeyNPage = 548 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyPPage Declaration public const int AltKeyPPage = 553 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyRight Declaration public const int AltKeyRight = 558 Field Value Type Description System.Int32 | Improve this Doc View Source AltKeyUp Declaration public const int AltKeyUp = 564 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_BLACK Declaration public const int COLOR_BLACK = 0 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_BLUE Declaration public const int COLOR_BLUE = 4 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_CYAN Declaration public const int COLOR_CYAN = 6 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_GRAY Declaration public const int COLOR_GRAY = 8 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_GREEN Declaration public const int COLOR_GREEN = 2 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_MAGENTA Declaration public const int COLOR_MAGENTA = 5 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_RED Declaration public const int COLOR_RED = 1 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_WHITE Declaration public const int COLOR_WHITE = 7 Field Value Type Description System.Int32 | Improve this Doc View Source COLOR_YELLOW Declaration public const int COLOR_YELLOW = 3 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyDown Declaration public const int CtrlKeyDown = 525 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyEnd Declaration public const int CtrlKeyEnd = 530 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyHome Declaration public const int CtrlKeyHome = 535 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyLeft Declaration public const int CtrlKeyLeft = 545 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyNPage Declaration public const int CtrlKeyNPage = 550 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyPPage Declaration public const int CtrlKeyPPage = 555 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyRight Declaration public const int CtrlKeyRight = 560 Field Value Type Description System.Int32 | Improve this Doc View Source CtrlKeyUp Declaration public const int CtrlKeyUp = 566 Field Value Type Description System.Int32 | Improve this Doc View Source DownEnd Declaration public const int DownEnd = 0 Field Value Type Description System.Int32 | Improve this Doc View Source ERR Declaration public const int ERR = -1 Field Value Type Description System.Int32 | Improve this Doc View Source Home Declaration public const int Home = 0 Field Value Type Description System.Int32 | Improve this Doc View Source KEY_CODE_SEQ Declaration public const int KEY_CODE_SEQ = 91 Field Value Type Description System.Int32 | Improve this Doc View Source KEY_CODE_YES Declaration public const int KEY_CODE_YES = 256 Field Value Type Description System.Int32 | Improve this Doc View Source KeyAlt Declaration public const int KeyAlt = 8192 Field Value Type Description System.Int32 | Improve this Doc View Source KeyBackspace Declaration public const int KeyBackspace = 263 Field Value Type Description System.Int32 | Improve this Doc View Source KeyBackTab Declaration public const int KeyBackTab = 353 Field Value Type Description System.Int32 | Improve this Doc View Source KeyDeleteChar Declaration public const int KeyDeleteChar = 330 Field Value Type Description System.Int32 | Improve this Doc View Source KeyDown Declaration public const int KeyDown = 258 Field Value Type Description System.Int32 | Improve this Doc View Source KeyEnd Declaration public const int KeyEnd = 360 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF1 Declaration public const int KeyF1 = 265 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF10 Declaration public const int KeyF10 = 274 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF11 Declaration public const int KeyF11 = 275 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF12 Declaration public const int KeyF12 = 276 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF2 Declaration public const int KeyF2 = 266 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF3 Declaration public const int KeyF3 = 267 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF4 Declaration public const int KeyF4 = 268 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF5 Declaration public const int KeyF5 = 269 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF6 Declaration public const int KeyF6 = 270 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF7 Declaration public const int KeyF7 = 271 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF8 Declaration public const int KeyF8 = 272 Field Value Type Description System.Int32 | Improve this Doc View Source KeyF9 Declaration public const int KeyF9 = 273 Field Value Type Description System.Int32 | Improve this Doc View Source KeyHome Declaration public const int KeyHome = 262 Field Value Type Description System.Int32 | Improve this Doc View Source KeyInsertChar Declaration public const int KeyInsertChar = 331 Field Value Type Description System.Int32 | Improve this Doc View Source KeyLeft Declaration public const int KeyLeft = 260 Field Value Type Description System.Int32 | Improve this Doc View Source KeyMouse Declaration public const int KeyMouse = 409 Field Value Type Description System.Int32 | Improve this Doc View Source KeyNPage Declaration public const int KeyNPage = 338 Field Value Type Description System.Int32 | Improve this Doc View Source KeyPPage Declaration public const int KeyPPage = 339 Field Value Type Description System.Int32 | Improve this Doc View Source KeyResize Declaration public const int KeyResize = 410 Field Value Type Description System.Int32 | Improve this Doc View Source KeyRight Declaration public const int KeyRight = 261 Field Value Type Description System.Int32 | Improve this Doc View Source KeyTab Declaration public const int KeyTab = 9 Field Value Type Description System.Int32 | Improve this Doc View Source KeyUp Declaration public const int KeyUp = 259 Field Value Type Description System.Int32 | Improve this Doc View Source LeftRightUpNPagePPage Declaration public const int LeftRightUpNPagePPage = 0 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyDown Declaration public const int ShiftAltKeyDown = 524 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyEnd Declaration public const int ShiftAltKeyEnd = 529 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyHome Declaration public const int ShiftAltKeyHome = 534 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyLeft Declaration public const int ShiftAltKeyLeft = 544 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyNPage Declaration public const int ShiftAltKeyNPage = 549 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyPPage Declaration public const int ShiftAltKeyPPage = 554 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyRight Declaration public const int ShiftAltKeyRight = 559 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftAltKeyUp Declaration public const int ShiftAltKeyUp = 565 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyDown Declaration public const int ShiftCtrlKeyDown = 526 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyEnd Declaration public const int ShiftCtrlKeyEnd = 531 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyHome Declaration public const int ShiftCtrlKeyHome = 536 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyLeft Declaration public const int ShiftCtrlKeyLeft = 546 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyNPage Declaration public const int ShiftCtrlKeyNPage = 551 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyPPage Declaration public const int ShiftCtrlKeyPPage = 556 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyRight Declaration public const int ShiftCtrlKeyRight = 561 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftCtrlKeyUp Declaration public const int ShiftCtrlKeyUp = 567 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyDown Declaration public const int ShiftKeyDown = 336 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyEnd Declaration public const int ShiftKeyEnd = 386 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyHome Declaration public const int ShiftKeyHome = 391 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyLeft Declaration public const int ShiftKeyLeft = 393 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyNPage Declaration public const int ShiftKeyNPage = 396 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyPPage Declaration public const int ShiftKeyPPage = 398 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyRight Declaration public const int ShiftKeyRight = 402 Field Value Type Description System.Int32 | Improve this Doc View Source ShiftKeyUp Declaration public const int ShiftKeyUp = 337 Field Value Type Description System.Int32 | Improve this Doc View Source TIOCGWINSZ Declaration public const int TIOCGWINSZ = 21523 Field Value Type Description System.Int32 | Improve this Doc View Source TIOCGWINSZ_MAC Declaration public const int TIOCGWINSZ_MAC = 1074295912 Field Value Type Description System.Int32 Properties | Improve this Doc View Source ColorPairs Declaration public static int ColorPairs { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Cols Declaration public static int Cols { get; } Property Value Type Description System.Int32 | Improve this Doc View Source HasColors Declaration public static bool HasColors { get; } Property Value Type Description System.Boolean | Improve this Doc View Source LC_ALL Declaration public static int LC_ALL { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Lines Declaration public static int Lines { get; } Property Value Type Description System.Int32 Methods | Improve this Doc View Source addch(Int32) Declaration public static int addch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source addwstr(String) Declaration public static int addwstr(string s) Parameters Type Name Description System.String s Returns Type Description System.Int32 | Improve this Doc View Source attroff(Int32) Declaration public static int attroff(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source attron(Int32) Declaration public static int attron(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source attrset(Int32) Declaration public static int attrset(int attrs) Parameters Type Name Description System.Int32 attrs Returns Type Description System.Int32 | Improve this Doc View Source cbreak() Declaration public static int cbreak() Returns Type Description System.Int32 | Improve this Doc View Source CheckWinChange() Declaration public static bool CheckWinChange() Returns Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source COLOR_PAIRS() Declaration public static int COLOR_PAIRS() Returns Type Description System.Int32 | Improve this Doc View Source ColorPair(Int32) Declaration public static int ColorPair(int n) Parameters Type Name Description System.Int32 n Returns Type Description System.Int32 | Improve this Doc View Source curs_set(Int32) Declaration public static int curs_set(int visibility) Parameters Type Name Description System.Int32 visibility Returns Type Description System.Int32 | Improve this Doc View Source def_prog_mode() Declaration public static int def_prog_mode() Returns Type Description System.Int32 | Improve this Doc View Source def_shell_mode() Declaration public static int def_shell_mode() Returns Type Description System.Int32 | Improve this Doc View Source doupdate() Declaration public static int doupdate() Returns Type Description System.Int32 | Improve this Doc View Source echo() Declaration public static int echo() Returns Type Description System.Int32 | Improve this Doc View Source endwin() Declaration public static int endwin() Returns Type Description System.Int32 | Improve this Doc View Source flushinp() Declaration public static int flushinp() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source getch() Declaration public static int getch() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source halfdelay(Int32) Declaration public static int halfdelay(int t) Parameters Type Name Description System.Int32 t Returns Type Description System.Int32 | Improve this Doc View Source has_colors() Declaration public static bool has_colors() Returns Type Description System.Boolean | Improve this Doc View Source idcok(IntPtr, Boolean) Declaration public static void idcok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf | Improve this Doc View Source 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 | Improve this Doc View Source immedok(IntPtr, Boolean) Declaration public static void immedok(IntPtr win, bool bf) Parameters Type Name Description System.IntPtr win System.Boolean bf | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source initscr() Declaration public static Curses.Window initscr() Returns Type Description Curses.Window | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source IsAlt(Int32) Declaration public static int IsAlt(int key) Parameters Type Name Description System.Int32 key Returns Type Description System.Int32 | Improve this Doc View Source isendwin() Declaration public static bool isendwin() Returns Type Description System.Boolean | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source mouseinterval(Int32) Declaration public static int mouseinterval(int interval) Parameters Type Name Description System.Int32 interval Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source nl() Declaration public static int nl() Returns Type Description System.Int32 | Improve this Doc View Source nocbreak() Declaration public static int nocbreak() Returns Type Description System.Int32 | Improve this Doc View Source noecho() Declaration public static int noecho() Returns Type Description System.Int32 | Improve this Doc View Source nonl() Declaration public static int nonl() Returns Type Description System.Int32 | Improve this Doc View Source noqiflush() Declaration public static void noqiflush() | Improve this Doc View Source noraw() Declaration public static int noraw() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source qiflush() Declaration public static void qiflush() | Improve this Doc View Source raw() Declaration public static int raw() Returns Type Description System.Int32 | Improve this Doc View Source redrawwin(IntPtr) Declaration public static int redrawwin(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source refresh() Declaration public static int refresh() Returns Type Description System.Int32 | Improve this Doc View Source reset_prog_mode() Declaration public static int reset_prog_mode() Returns Type Description System.Int32 | Improve this Doc View Source reset_shell_mode() Declaration public static int reset_shell_mode() Returns Type Description System.Int32 | Improve this Doc View Source resetty() Declaration public static int resetty() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source savetty() Declaration public static int savetty() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source set_escdelay(Int32) Declaration public static int set_escdelay(int size) Parameters Type Name Description System.Int32 size 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 | Improve this Doc View Source 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 | Improve this Doc View Source start_color() Declaration public static int start_color() Returns Type Description System.Int32 | Improve this Doc View Source StartColor() Declaration public static int StartColor() Returns Type Description System.Int32 | Improve this Doc View Source timeout(Int32) Declaration public static int timeout(int delay) Parameters Type Name Description System.Int32 delay Returns Type Description System.Int32 | Improve this Doc View Source typeahead(IntPtr) Declaration public static int typeahead(IntPtr fd) Parameters Type Name Description System.IntPtr fd Returns Type Description System.Int32 | Improve this Doc View Source ungetch(Int32) Declaration public static int ungetch(int ch) Parameters Type Name Description System.Int32 ch Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source use_default_colors() Declaration public static int use_default_colors() Returns Type Description System.Int32 | Improve this Doc View Source use_env(Boolean) Declaration public static void use_env(bool f) Parameters Type Name Description System.Boolean f | Improve this Doc View Source UseDefaultColors() Declaration public static int UseDefaultColors() Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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 | Improve this Doc View Source wnoutrefresh(IntPtr) Declaration public static int wnoutrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source wrefresh(IntPtr) Declaration public static int wrefresh(IntPtr win) Parameters Type Name Description System.IntPtr win Returns Type Description System.Int32 | Improve this Doc View Source 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 | Improve this Doc View Source 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", @@ -967,12 +967,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicMenuBarDetails(ustring) Declaration public DynamicMenuBarDetails(ustring title) Parameters Type Name Description NStack.ustring title | Improve this Doc View Source DynamicMenuBarDetails(MenuItem, Boolean) Declaration public DynamicMenuBarDetails(MenuItem menuItem = null, bool hasParent = false) Parameters Type Name Description MenuItem menuItem System.Boolean hasParent Fields | Improve this Doc View Source _ckbIsTopLevel Declaration public CheckBox _ckbIsTopLevel Field Value Type Description CheckBox | Improve this Doc View Source _ckbSubMenu Declaration public CheckBox _ckbSubMenu Field Value Type Description CheckBox | Improve this Doc View Source _menuItem Declaration public MenuItem _menuItem Field Value Type Description MenuItem | Improve this Doc View Source _rbChkStyle Declaration public RadioGroup _rbChkStyle Field Value Type Description RadioGroup | Improve this Doc View Source _txtAction Declaration public TextView _txtAction Field Value Type Description TextView | Improve this Doc View Source _txtHelp Declaration public TextField _txtHelp Field Value Type Description TextField | Improve this Doc View Source _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField | Improve this Doc View Source _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods | Improve this Doc View Source 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 | Improve this Doc View Source EditMenuBarItem(MenuItem) Declaration public void EditMenuBarItem(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem | Improve this Doc View Source EnterMenuItem() Declaration public DynamicMenuBar.DynamicMenuItem EnterMenuItem() Returns Type Description DynamicMenuBar.DynamicMenuItem | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicMenuBarDetails(ustring) Declaration public DynamicMenuBarDetails(ustring title) Parameters Type Name Description NStack.ustring title | Improve this Doc View Source DynamicMenuBarDetails(MenuItem, Boolean) Declaration public DynamicMenuBarDetails(MenuItem menuItem = null, bool hasParent = false) Parameters Type Name Description MenuItem menuItem System.Boolean hasParent Fields | Improve this Doc View Source _ckbIsTopLevel Declaration public CheckBox _ckbIsTopLevel Field Value Type Description CheckBox | Improve this Doc View Source _ckbSubMenu Declaration public CheckBox _ckbSubMenu Field Value Type Description CheckBox | Improve this Doc View Source _menuItem Declaration public MenuItem _menuItem Field Value Type Description MenuItem | Improve this Doc View Source _rbChkStyle Declaration public RadioGroup _rbChkStyle Field Value Type Description RadioGroup | Improve this Doc View Source _txtAction Declaration public TextView _txtAction Field Value Type Description TextView | Improve this Doc View Source _txtHelp Declaration public TextField _txtHelp Field Value Type Description TextField | Improve this Doc View Source _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField | Improve this Doc View Source _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods | Improve this Doc View Source 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 | Improve this Doc View Source EditMenuBarItem(MenuItem) Declaration public void EditMenuBarItem(MenuItem menuItem) Parameters Type Name Description MenuItem menuItem | Improve this Doc View Source EnterMenuItem() Declaration public DynamicMenuBar.DynamicMenuItem EnterMenuItem() Returns Type Description DynamicMenuBar.DynamicMenuItem | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicMenuBarSample(ustring) Declaration public DynamicMenuBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicMenuBarSample(ustring) Declaration public DynamicMenuBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties | Improve this Doc View Source 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", @@ -1017,12 +1017,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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicStatusBarDetails(ustring) Declaration public DynamicStatusBarDetails(ustring title) Parameters Type Name Description NStack.ustring title | Improve this Doc View Source DynamicStatusBarDetails(StatusItem) Declaration public DynamicStatusBarDetails(StatusItem statusItem = null) Parameters Type Name Description StatusItem statusItem Fields | Improve this Doc View Source _statusItem Declaration public StatusItem _statusItem Field Value Type Description StatusItem | Improve this Doc View Source _txtAction Declaration public TextView _txtAction Field Value Type Description TextView | Improve this Doc View Source _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField | Improve this Doc View Source _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods | Improve this Doc View Source CreateAction(DynamicStatusBar.DynamicStatusItem) Declaration public Action CreateAction(DynamicStatusBar.DynamicStatusItem item) Parameters Type Name Description DynamicStatusBar.DynamicStatusItem item Returns Type Description System.Action | Improve this Doc View Source EditStatusItem(StatusItem) Declaration public void EditStatusItem(StatusItem statusItem) Parameters Type Name Description StatusItem statusItem | Improve this Doc View Source 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicStatusBarDetails(ustring) Declaration public DynamicStatusBarDetails(ustring title) Parameters Type Name Description NStack.ustring title | Improve this Doc View Source DynamicStatusBarDetails(StatusItem) Declaration public DynamicStatusBarDetails(StatusItem statusItem = null) Parameters Type Name Description StatusItem statusItem Fields | Improve this Doc View Source _statusItem Declaration public StatusItem _statusItem Field Value Type Description StatusItem | Improve this Doc View Source _txtAction Declaration public TextView _txtAction Field Value Type Description TextView | Improve this Doc View Source _txtShortcut Declaration public TextField _txtShortcut Field Value Type Description TextField | Improve this Doc View Source _txtTitle Declaration public TextField _txtTitle Field Value Type Description TextField Methods | Improve this Doc View Source CreateAction(DynamicStatusBar.DynamicStatusItem) Declaration public Action CreateAction(DynamicStatusBar.DynamicStatusItem item) Parameters Type Name Description DynamicStatusBar.DynamicStatusItem item Returns Type Description System.Action | Improve this Doc View Source EditStatusItem(StatusItem) Declaration public void EditStatusItem(StatusItem statusItem) Parameters Type Name Description StatusItem statusItem | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicStatusBarSample(ustring) Declaration public DynamicStatusBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties | Improve this Doc View Source DataContext Declaration public DynamicStatusBar.DynamicStatusItemModel DataContext { get; set; } Property Value Type Description DynamicStatusBar.DynamicStatusItemModel Methods | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source DynamicStatusBarSample(ustring) Declaration public DynamicStatusBarSample(ustring title) Parameters Type Name Description NStack.ustring title Properties | Improve this Doc View Source DataContext Declaration public DynamicStatusBar.DynamicStatusItemModel DataContext { get; set; } Property Value Type Description DynamicStatusBar.DynamicStatusItemModel Methods | Improve this Doc View Source 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", @@ -1172,12 +1172,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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.Border View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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 Window.OnTitleChanging(ustring, ustring) Window.TitleChanging Window.OnTitleChanged(ustring, ustring) Window.TitleChanged 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.OnLoaded() 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.ForceValidatePosDim View.GetMinWidthHeight(Size) View.SetMinWidthHeight() View.TextFormatter View.SuperView View.UpdateTextFormatterText() View.ProcessResizeView() 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.PreserveTrailingSpaces View.VerticalTextAlignment View.TextDirection View.IsInitialized View.IsAdded View.Enabled View.Visible View.ToString() View.GetAutoSize() View.GetHotKeySpecifierLength(Boolean) View.GetTextFormatterBoundsSize() View.GetBoundsTextFormatterSize() 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 | Improve this Doc View Source 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 | Improve this Doc View Source 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", diff --git a/docs/manifest.json b/docs/manifest.json index e519708617..5d71915e8e 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -30,7 +30,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.ResizedEventArgs.html", - "hash": "s6AmFf9GnM0TRNuLueg6XtCBpteoUWrEDtIAb73vdDM=" + "hash": "P1BTuaTb+4c2dyXqRAMT16RarSPDD9+X1BE+ttQ+t+U=" } }, "is_incremental": false, @@ -42,7 +42,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.RunState.html", - "hash": "eATc1MZ0/Yq4nqvzhY2BnVk7nz2YFWvRr3wfvNtfAHo=" + "hash": "QrsjclhV3RTDAkBdcGj4B9dZALHs98e080Q2fJlXOB8=" } }, "is_incremental": false, @@ -54,7 +54,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.html", - "hash": "LFRDLKpMFB3NS+ms6Y272SCbHoBxQ7UrPRCmvRVtipc=" + "hash": "tpsM3liCj7NZ8RVUxpSHmunoGCMS6n3qVF0PH/eL3TQ=" } }, "is_incremental": false, @@ -66,7 +66,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Attribute.html", - "hash": "br+6ipR//3ZKGW73rTt05Frle8RF1wJsUpoHdwWY/f0=" + "hash": "1AQ8kW9xUuxIItROqcbXgIj0p9pS3qeOPmUNl/D7KvM=" } }, "is_incremental": false, @@ -78,7 +78,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Autocomplete.html", - "hash": "jjhdv6nXqor9CSHerq4Ilwx0d+pCmiGluP+v2NebFbA=" + "hash": "9y8dPD0xgvNlixWKdHHPsbkUTurZR4oDN9LQ/v9djj8=" } }, "is_incremental": false, @@ -90,7 +90,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Border.ToplevelContainer.html", - "hash": "y2lRjE1As/az2zXEZVK0KNVTNijM9iDG2wl5oDEGNLw=" + "hash": "hGc138LrZfm3icEpjH1kNNuZjm1Hm/U7IcI13n5MYsY=" } }, "is_incremental": false, @@ -102,7 +102,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Border.html", - "hash": "ls7oZNk6yvdjf4VQBRQmmVVHNFdgLyvbR2FM2XYtJpU=" + "hash": "+/KD1X6USPMc8PY2jdJBh5+2pN9mVdiNH4cIFltzWY8=" } }, "is_incremental": false, @@ -114,7 +114,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.BorderStyle.html", - "hash": "+MLzKJQuWpzv0NAhE+M/owj4AfSIASIXIiRth8B3CYE=" + "hash": "G8hFR0RUFgh3OAtMo10CeVUylw9qhqAzNX9o+/398Is=" } }, "is_incremental": false, @@ -126,7 +126,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Button.html", - "hash": "Olc0v3SgL27ThB+4Pa8BPAHB/GRhL+ykKdKxaDtGWe0=" + "hash": "iENEShpHcG5QRVu9+QVoiSUM7yWCzKtrBNyhW3SgsjE=" } }, "is_incremental": false, @@ -138,7 +138,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.CheckBox.html", - "hash": "wiD1u3Q4jDeKfVzyqu88g/4Yd3uo3wL6gvZkI8mrj9o=" + "hash": "UEtBs6gvhNToBQQJk/zL2yPGDJpFUYDvlB7/g9rDwBE=" } }, "is_incremental": false, @@ -150,7 +150,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Clipboard.html", - "hash": "SuzMerwdDDJ31WDRbinSVQgcz5vPzdMkhkHBW+BtA68=" + "hash": "0NvIOK3A156d5Lcy2ageJu65aLfZxNKNMPWawgIyre8=" } }, "is_incremental": false, @@ -162,7 +162,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ClipboardBase.html", - "hash": "3+roSsyw4uWcUvkj/DZsRrXffsluuyD7Rc04Mp3694I=" + "hash": "2DeMvYCwn9pg1MNy9K4d7GsQ1mQ2R1FRnRSPs5uwzzw=" } }, "is_incremental": false, @@ -174,7 +174,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Color.html", - "hash": "QqmhFfxtGXcnDgtNHEOWSGyYSmDgxs52R4edntzETKQ=" + "hash": "kIWGStpa3rbskf0YaAdxJcAx55nCXyKuuYh7szPRqE8=" } }, "is_incremental": false, @@ -186,7 +186,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ColorPicker.html", - "hash": "l3fpQAsT9ihmuGomj2n/7+KbPk05vHjOZt0qWStokhE=" + "hash": "gb0GLaJmXxVuD3WqpWZFK0wOSHc1HJ3CeFNmMDeY8Ko=" } }, "is_incremental": false, @@ -198,7 +198,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ColorScheme.html", - "hash": "yhe7Z03NPuFWHn8AdS75e6WOYVssReD4AxKnNL4A+sw=" + "hash": "4IBYCq5482P1krkyhX3T7S2A5MFjGqudichld3RNMOk=" } }, "is_incremental": false, @@ -210,7 +210,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Colors.html", - "hash": "25ldvHlFvSnWMoINaAGOfnO26OeF9hJBCCi+ESqS3P8=" + "hash": "fR7wv63YvNIQU/E25KcmyegEuBwBHvanoFnuv7+b4eI=" } }, "is_incremental": false, @@ -222,7 +222,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", - "hash": "2KBFGgeeAaRB1K8qBrw0lnsTVTPdNmS0B4z3sdEAAeU=" + "hash": "alNhcfmDw9rBhTsg+CpTg9Z2bEMv+x0gRBykf/m9B+4=" } }, "is_incremental": false, @@ -234,7 +234,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Command.html", - "hash": "l0Dep3cPsyA1JRoMiQ8QYpqBV+u1c1DrYRAOwBwuc1s=" + "hash": "gSAqK/2LxCkgiX5IQVAM2Rkz8JYvsN4TFY4KUChyttY=" } }, "is_incremental": false, @@ -246,7 +246,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html", - "hash": "UMlOAr8pjhmRJE+kQPf+eMTeeYzk34D2tcFvwQKgNys=" + "hash": "JZMnm+fRHNb0lTFGlyWuqrAUHgevCxupZgJzbCNi8ew=" } }, "is_incremental": false, @@ -258,7 +258,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html", - "hash": "gdgEwV8lerAIoocON0YtGytdyfjpR4x8YOCuRzNNkKQ=" + "hash": "3oAa1r3oMrY3cvHBACsv56P/leUbkqiNwRxR+sutz3Y=" } }, "is_incremental": false, @@ -270,7 +270,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ContextMenu.html", - "hash": "shXGKPIO3THv5Nwhd0XYKIzX9cPyA/BYdnlzDQL9fwg=" + "hash": "vGucL20EMaOMSyE3Zdg2KQm/uVHpsOsXfVt3O07BJIE=" } }, "is_incremental": false, @@ -282,7 +282,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html", - "hash": "Ifv5Ad94++nGO0LU8qNKl5WRz7a5EcK/hnIFUW399Zw=" + "hash": "FzknzvDcAbf6LFxKpppMIxxCOE5q5aoXCl0Rxk/M0FU=" } }, "is_incremental": false, @@ -294,7 +294,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DateField.html", - "hash": "R28mG0BpQi4Wy53iUjjw4Rntydt4y1u4EbWHmZuTaPw=" + "hash": "+IrqG635wS3+onPiVr8KcX9BaZXsJ/gUKeska+YxfLc=" } }, "is_incremental": false, @@ -306,7 +306,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html", - "hash": "ZIjBRkoYjh1vMgQjWDrVRYn9ugBtbrdjccHKY0u/kPM=" + "hash": "QwtBrAv4dRpW2K+qj96q4JAcARgfjBzAfZhwjlB8JY4=" } }, "is_incremental": false, @@ -318,7 +318,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dialog.ButtonAlignments.html", - "hash": "5pM6c+Erx9yGDTfrGuoUEu+oF5Kj/TJSD00MdLD2mOI=" + "hash": "c+ZhrJ+SiE/0rWJ3ncjBHaGyzMMyNn8zLEC0AGDmCtQ=" } }, "is_incremental": false, @@ -330,7 +330,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dialog.html", - "hash": "FxCbNyDO8Qx5pnvo0wFyxbAvjiUZPY/bacmfPYRr71Y=" + "hash": "hXi7//0HZivxWrPKLcHjMDKOcjAxpwyXP4Y5KKzYwxU=" } }, "is_incremental": false, @@ -342,7 +342,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dim.html", - "hash": "ab++6zcEB41DA/iNRlpRH1k5LCLy9C/SZD8Riu3x3OQ=" + "hash": "1fMzS00wHze+gPXTD72+wXAal4aopAI9cYg6ANYlG90=" } }, "is_incremental": false, @@ -354,7 +354,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DisplayModeLayout.html", - "hash": "DpW9XMsqyPH+VV/ij5a+yltCwoycu+2rTZ4GqDpkxNM=" + "hash": "OY3aNf5JdigAUag1wEBSK+xSVUivJjELorG7tc5kxok=" } }, "is_incremental": false, @@ -366,7 +366,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeConsole.html", - "hash": "leJz8Myd82I6h7OogMd9XjmlXFI2jL1oBRyBQSLXN7E=" + "hash": "yOTYmtyNCKqXSS3A+K+0XHHRgVmuOiKRkr+naPFR+18=" } }, "is_incremental": false, @@ -378,7 +378,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeDriver.html", - "hash": "+ey2PP66hq1aJiPb752gJmVvkGC0MBFKherRX6pz/uY=" + "hash": "67qPeU8EQQqL27uvSuGSQO9Lgj1BxE1nxFr8rGzlvZ0=" } }, "is_incremental": false, @@ -390,7 +390,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html", - "hash": "PZVhFt4cOwd7ecRvDMGOTe1htyTcyXZlzWxzP7CK75s=" + "hash": "1Rr0V68hhPVHwUNjpD7OrjislZA+OOdWMseaRglRjgo=" } }, "is_incremental": false, @@ -402,7 +402,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FileDialog.html", - "hash": "vCC+1DGIVhZqPW9yNHt5oHlnZfxGJHpyYcj1GTQqke0=" + "hash": "/dETamxlsL4SJgu63n1GJwQEEo8y7QzBToML4RNC+BI=" } }, "is_incremental": false, @@ -414,7 +414,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FrameView.html", - "hash": "LAJTyIJPKgii4JfkHYsa6ztztIla8PGDOiiwYfyWyRI=" + "hash": "UlYpyVQezZr8tgiaCMyBdsryFCkjv6AMn8GIu0AYUAg=" } }, "is_incremental": false, @@ -426,7 +426,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.GraphView.html", - "hash": "9DNGutWir9rBcxSPXxP7G/j3qXbKT36F4PWN4S7Qkko=" + "hash": "Nv+gYkgJ+QiYWI2pV3HXgfZsb1S+vGp9oCtTMU4x9Gk=" } }, "is_incremental": false, @@ -438,7 +438,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html", - "hash": "qcJ/7O7bMIJPYEpBR2xrY+3y3Ciocn4AjYH5F4UwBYk=" + "hash": "QLPxvNgvk9OmEEpXgJ1edlpH5ZtQgsCbflZl77Kdejg=" } }, "is_incremental": false, @@ -450,7 +450,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html", - "hash": "gv7BPSitRZJISbtAhUQvrlYXW7MOVYKFHVYTUPArFKs=" + "hash": "2g5A8JEvHrB4ZhTZHTBY5dsgkH/uaove+Ab+qgIFeE4=" } }, "is_incremental": false, @@ -462,7 +462,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html", - "hash": "iTzvHvZEnCiv0l7iB8d7KgzArdrprL8rtz9P78wytFY=" + "hash": "c3bthfii0D3558Rbhs03ar5yiQzl94TL61dmIFm/BCk=" } }, "is_incremental": false, @@ -474,7 +474,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html", - "hash": "tpEQfv72ius0wpqyrCjyMulNKwR5kvSvruyNLxx6dFA=" + "hash": "63aj7hAuFw6MwMSfJJ79slM1etmEVs8tQ5mgp0cvI44=" } }, "is_incremental": false, @@ -486,7 +486,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html", - "hash": "ku2vEelCSvIEiax4FnYtVkZbMg1YjXDuFmtQgFsb5ZM=" + "hash": "Wr7CSPxinkDbWv/zJ6e/uJUvXcoTnPc6C2toU4C1rfg=" } }, "is_incremental": false, @@ -498,7 +498,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html", - "hash": "HK78jidU8CTQJcuPmnUIEiyJbq0hmX1tWaqMjhCwbT4=" + "hash": "Vob5fZ9uQq5Xs8lQYIwg6g2dMcier+m0WS4qBtafQEs=" } }, "is_incremental": false, @@ -510,7 +510,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html", - "hash": "KUZKIjD6NsWjprRUtDKr9ILIT3wxxG5H0TxeBtKEGFo=" + "hash": "EjDtZYVF0h/dpMAi67dQXiGjYYzcHNXecu7vWFOVuPY=" } }, "is_incremental": false, @@ -522,7 +522,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html", - "hash": "JIltQq1fL1tJbv87J8pmw3P9vzEnuT/4t9WLSLKw9WA=" + "hash": "BBGWXmL6bnJtkePlXQ0k7n8unkJLjv49XZijolNLcek=" } }, "is_incremental": false, @@ -534,7 +534,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html", - "hash": "ADNpIjxgZ8BC+POyqjDOn/Buq/rptqn5uS3+K5KKoSo=" + "hash": "WBtLTQmPB1kL95jHVeyFEsm/Q+zYZ3f/xyBP8mAb/SM=" } }, "is_incremental": false, @@ -546,7 +546,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html", - "hash": "QOt3Qebxwl2YGgUduKwefTdjtMihd8NR6hi/W3XZNFA=" + "hash": "3bDJYkrfv6T+nHonUjHCjxwad0p8llPggzs55G1cDx8=" } }, "is_incremental": false, @@ -558,7 +558,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html", - "hash": "M3iviy38TT434D1zO2GlwzgMMRipM3q9twJTxUmJcgM=" + "hash": "ekvNBg1f8HKIfmg8oHhNNuMkcyhIfmQ9DGU2xyDFveo=" } }, "is_incremental": false, @@ -570,7 +570,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html", - "hash": "/1Rkz4BE3MLPcyek1xOsjqo1sHZqG2HIQ7v0XskfkoI=" + "hash": "i1gSYyxKWBv3DskuQuEBoLU3Xa31TwetSqwbjJ3iMFk=" } }, "is_incremental": false, @@ -582,7 +582,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html", - "hash": "Xde7CgqQRYgjKHGM9fum0prcyyTXS+GcHmpHw4BUfAs=" + "hash": "l6ivdVKv0fXc/v3wgPxMTee/rMBJzKXnK/YTGDiZUvU=" } }, "is_incremental": false, @@ -594,7 +594,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html", - "hash": "9t/9rf412VlJcXHg4wt28Ru/uvaX369YCyoTdsQtJ/M=" + "hash": "nyneWY6rQxfGZ+76hPTwJgkIG63jwwTLwaTLH8Bnl+Q=" } }, "is_incremental": false, @@ -606,7 +606,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html", - "hash": "fat7H8LRQ7jlEEMML23uzB8/1QWvqAGzFrmso26WWjs=" + "hash": "2+oLmvzY+LXQe/YZ8eXITuE9dYKhqk2hfEBInZYpr9I=" } }, "is_incremental": false, @@ -618,7 +618,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html", - "hash": "ALj9dYqXwlFIpXs3ZoCOoHv8P1ksh7P4gnn/UgWcJ8Y=" + "hash": "F4F9Pix9gMQErrmyOa4P2dENrEJkJRYuMIjI9no6kW4=" } }, "is_incremental": false, @@ -630,7 +630,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html", - "hash": "wEH3niq1GLjVgQhtOZKmqaReTt5LSpuYllqA96gKQaY=" + "hash": "7+h5WXD/mfzwvc5aKpJHmEgMFKRYreFykk4FGIDf65c=" } }, "is_incremental": false, @@ -654,7 +654,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.HexView.HexViewEventArgs.html", - "hash": "cWQ0rVQgl/vvpyvMzfTGrA8lPObn01TnX5WrwwZoLj0=" + "hash": "Ergwk+UZIcu7ZgnQjKB/21Dg/wquOyieMBW97TPdc0I=" } }, "is_incremental": false, @@ -666,7 +666,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.HexView.html", - "hash": "jE8/rVyHYzUpfZzM6n26Mvm9gaaNMQTeHHu5vHejfKA=" + "hash": "AykXx1GjMJB/bUEOxYL9fHJ1joxVWE84jRlEyPTV0oo=" } }, "is_incremental": false, @@ -678,7 +678,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IAutocomplete.html", - "hash": "ZadZDDDbxwIx669dkzGpaRKI+tLmh05P9DWcgSaiZW0=" + "hash": "njb7mTbSrzUAdsJkJrBA3Md7yUx5zDyvfEDslsGBz48=" } }, "is_incremental": false, @@ -690,7 +690,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IClipboard.html", - "hash": "raZHqTYdhucETPic1VgGnzROEoCmVoV+PjyRyz0DVzg=" + "hash": "fRUqs1dzWHV7piluFMPfucCwjlxHyxpH0l2Z+QRgrjs=" } }, "is_incremental": false, @@ -702,7 +702,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IListDataSource.html", - "hash": "ShCKIFkGwoxuQ23pUpGff69kp3GGpj5Hjkk+Ze4EkcU=" + "hash": "f7iu2+9ldvpCweggEzwhajsn7zqAT1cU9KJpItxTaHw=" } }, "is_incremental": false, @@ -714,7 +714,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.IMainLoopDriver.html", - "hash": "dPfuppvCSWX+dmUk+Ta0G4elutukwC9SL660fa6d0aU=" + "hash": "Xjx2R9oWG46oy0nquKZ3No2W+GmFI5bi7NlGF2wvl1U=" } }, "is_incremental": false, @@ -726,7 +726,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ITreeView.html", - "hash": "lMe0uDOs/diS0hBvV+y4zmAZRyrr4yccee7ZYu7aP+k=" + "hash": "higDubE0vb9cXKykZs7WCAta0vXuHv3KtD1WFJoX0sw=" } }, "is_incremental": false, @@ -738,7 +738,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Key.html", - "hash": "S8Tvz7zvPVmNqU7jVyv3QCWaEMSZ4X1vuNIQpQzMKv0=" + "hash": "0+AvMSvNQzgEjUY9kJPRNLnCIeTVaZFyU1IPvS+rnss=" } }, "is_incremental": false, @@ -750,7 +750,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.KeyEvent.html", - "hash": "XcKcXTSTroor0fy12ved8qLqS013FtQI2ueRsjP+UeY=" + "hash": "GQpj9tkUD3TFUnwGZBtxXVQpg6zxFOvzzQ2vsqLuxfU=" } }, "is_incremental": false, @@ -762,7 +762,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.KeyModifiers.html", - "hash": "uZ2K0oUjHgOmYqkAfmJ1ZrJmIYjRICYXNnU2OL9ecrU=" + "hash": "AaQh6xuPe8KEmtRE0HW4S8qt0j77sZKKDMZgkTDYDZY=" } }, "is_incremental": false, @@ -774,7 +774,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Label.html", - "hash": "NZ+Pk57Cprj6soNlJ6mCux4qcwkTMrxLCZFYvni+PP0=" + "hash": "1DqrE4H18VroqjJzWH1NZ+VPrxJt3J03UgafsrvRUPU=" } }, "is_incremental": false, @@ -786,7 +786,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html", - "hash": "0tbchxKXoM11sNq8L3+r7Tpcr45v7JzxCMtYl1Bwi/I=" + "hash": "7YMp/TZE6Lmlb86tgoxS2MWv+oHG6i7++JMpUAN4nuM=" } }, "is_incremental": false, @@ -798,7 +798,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.LineView.html", - "hash": "biFeuYgtP/mjqkiQ1KB06LLvkpcT+JVUUxJ+SUBS7/A=" + "hash": "uZfyTXcszrZNeMIWOABkNkOwZGJ7qH8xYMfOEm1fTVM=" } }, "is_incremental": false, @@ -810,7 +810,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListView.html", - "hash": "stJRukjgsYgtU6MJoPgu3c5VWTO4A+Tg8GjVz4MAR+E=" + "hash": "bRFtsQsRUcCAa2zV/NioigosoeJt7iwhvLm3jZzw0TA=" } }, "is_incremental": false, @@ -822,7 +822,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListViewItemEventArgs.html", - "hash": "ripcqpIwhgewSgoupgE47gyjHP1x9MAsDtWo4zGQUTQ=" + "hash": "KCBNRVr1e+3yArKJ+APMWwR7/LADHgHbP9pr7r1/GsY=" } }, "is_incremental": false, @@ -834,7 +834,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListViewRowEventArgs.html", - "hash": "ijkzM44GFW2+B9973o00Juz1fLiDyE13hJHO1gdAt9E=" + "hash": "iw1WEgrXWxNLcIUp1He480d9kew6V6Wye31Eb6GsxNY=" } }, "is_incremental": false, @@ -846,7 +846,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListWrapper.html", - "hash": "I3fvz8IX14/cFD6taxmi+HcBAtdrcrzrDpuQroAkvbM=" + "hash": "2Lk4uEaRKES8ZfJ2t2/XEFppZCYcv5hlIWwJ/8DLvLY=" } }, "is_incremental": false, @@ -858,7 +858,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MainLoop.Timeout.html", - "hash": "1VxZqxuy39pu/qjFQhuu0My18QNantxssjHXH+s3U+w=" + "hash": "LH4gp2IkDOYWdMO6zydZp8J83X/+10gNipmaT1E+xPs=" } }, "is_incremental": false, @@ -870,7 +870,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MainLoop.html", - "hash": "FvU2bi3sueSxyl8GldpWqx1hU6DYQKqqOUYRd+4LnQk=" + "hash": "BXDbwqd1wLS1fq/5g3J+k8sqWVrEpKuF6Y2L4nh8608=" } }, "is_incremental": false, @@ -882,7 +882,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", - "hash": "QVKbPq9fUF3cECCi86GC6L6WBN75K17J2rVMnv53tlo=" + "hash": "fBsE3Ar1019Ehjc0oKRsG+//ntYO5PCYl8KG5XX3YXs=" } }, "is_incremental": false, @@ -894,7 +894,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html", - "hash": "p25n3uWWk+UGDydVIRgmQNlhJPJ/GzwDjtcFA8IZgs0=" + "hash": "Lj6a2VoIidtlWRkJ+5cNVQknySVvZuy6zUVXZ8tSxDo=" } }, "is_incremental": false, @@ -906,7 +906,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuClosingEventArgs.html", - "hash": "lfEF8cl9+bSzOGRlnIhnFZh+OjDHHYCmC/CO3FLRjSs=" + "hash": "BvJs4cE/7AAu3M0jhGaRh+mhV6K3hgVN939CmSzdnVw=" } }, "is_incremental": false, @@ -918,7 +918,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuItem.html", - "hash": "v0dXj1XkNGm0o3RumD2odcZyArhBlQXrZqoANYr5miY=" + "hash": "11qaKEbNkfFvViX4XbWjrAbB5Q3QOphG6xyNcwtWMVQ=" } }, "is_incremental": false, @@ -930,7 +930,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuItemCheckStyle.html", - "hash": "GIZmF5aNnWlY6Jy2OGYGPH4yYchjqmEiGP32h9YOfBQ=" + "hash": "NWi82fev8Zfnafn2Vz94wGkDzavgDK2rvtWan/603hI=" } }, "is_incremental": false, @@ -942,7 +942,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuOpeningEventArgs.html", - "hash": "TGfYHDnIF4pexE30PAQOowKykn+RGE+xloAty5dl6VA=" + "hash": "ZjXxmUB0EdDet3wirNCh91s8ugDQWmgrYNS9uIrS0oU=" } }, "is_incremental": false, @@ -954,7 +954,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MessageBox.html", - "hash": "Q3l0veydHtGB8fFxHV+pFtL1QTib3O0sjjK0VtgjmGo=" + "hash": "z+JpZ0l6ZFbB4nsNhvvOIb8ld3LZsub/xB2hqhaBKb8=" } }, "is_incremental": false, @@ -966,7 +966,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MouseEvent.html", - "hash": "WZZvoEv1uE45bQkvjaac4GDN/e0E8oHBlL6+nOjAvlg=" + "hash": "n0EDtHQdS9Dq9Zko/wS1bCslIIlGBT+DEYxVEsqeoNc=" } }, "is_incremental": false, @@ -978,7 +978,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MouseFlags.html", - "hash": "o/Cr02JgHpYr4+nGQj/Z1tRlYS9JCtmvduDpJ94uVi4=" + "hash": "WuXEGalpo2FxLeXErVqy9lh2o7KBZJFwen0k1Ug34CQ=" } }, "is_incremental": false, @@ -990,7 +990,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.OpenDialog.OpenMode.html", - "hash": "uW7IL5uJOGoHMoBzTmp1SaePGiPallYioMPRRdkt1Tc=" + "hash": "Vr5wxA41HeQORCFJW1/YJmphaovfIXQ0iW1nDijdN8E=" } }, "is_incremental": false, @@ -1002,7 +1002,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.OpenDialog.html", - "hash": "b5sL/NKUDD1suAeCCHXhsCClB4xSkNpzJKcvtLNXrYM=" + "hash": "Zfb4T2cMawVXNN+OUGYR5DGZQt93nfa54Q5fks6Q+ns=" } }, "is_incremental": false, @@ -1014,7 +1014,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.PanelView.html", - "hash": "JJprpivc//iEELoTC+zqH7kTiBV0uWRL5RVl0E6LKwM=" + "hash": "MavGVbXPEV1SaTn0ZHvNAezO+3wsc4g3ztcsJjI7xdA=" } }, "is_incremental": false, @@ -1026,7 +1026,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Point.html", - "hash": "9rWQcJ88A7SkunEFhwD/hwuAf9wj83I5UkO1+p9jB08=" + "hash": "pkVgLouuytYl/U9mFUNifC0AcrN3RDPPF7MHmBIVlYM=" } }, "is_incremental": false, @@ -1038,7 +1038,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.PointF.html", - "hash": "r3dXAOLTMnPO/O3x6KSdMn82DrWDOkWbt4TCFUjZYoc=" + "hash": "QXMej56W/cwaeUdH6RIfFlh9uWBebQXBSRuaFeGu1kA=" } }, "is_incremental": false, @@ -1050,7 +1050,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Pos.html", - "hash": "xDh6klzs+N1ExIU/dKz4M6l8usJFlAda67CaSFMcRBg=" + "hash": "bECzrJsFq/F1lX9+5hkO/aMkSDsLEG9TMv8BtF0ROjQ=" } }, "is_incremental": false, @@ -1062,7 +1062,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBar.html", - "hash": "CbNqKllcRb5Qh8smIYAfE9sIY9duOQgsNKuc0cWWW8g=" + "hash": "T2STUcR7x9zewPIJBCpbP5yR5Rdpsj0nOXb+StpdmYs=" } }, "is_incremental": false, @@ -1074,7 +1074,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBarFormat.html", - "hash": "DZwZcY4la2U1JVT9ujZ05IQ8XKyomDk7fUqkxwmyIqo=" + "hash": "Ub44I1SiPF0HwLOf/MuZrjXuQNxWEIbcZ5YyKGDYJbQ=" } }, "is_incremental": false, @@ -1086,7 +1086,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBarStyle.html", - "hash": "ZcyT0FmvOuUdrPfpOz4V2Anq0+W0BBnW79RxKvcfxzo=" + "hash": "4r4BVbBuJSpsgauNCVU0NlG0tGItNH7g6tmWCksKhAM=" } }, "is_incremental": false, @@ -1098,7 +1098,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", - "hash": "nudzyf9mcjR/yD9wO06xzLOri/yE5UlE5u3ayJSQ24w=" + "hash": "j7CWrmDo1z0hHBAkL9xbZhJN+4UJuaUX0Rl03BCtbjk=" } }, "is_incremental": false, @@ -1110,7 +1110,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Rect.html", - "hash": "R1ZC58eI8MTfQQ1RrCQeZIzMRlEFSq/MsYv5cktakxI=" + "hash": "vuJPMjmYtHd7tBSrtoHSbFjpwayLraZ6vAu2GzSivP0=" } }, "is_incremental": false, @@ -1122,7 +1122,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.RectangleF.html", - "hash": "LPSW5RJLa8Q5DG0CE+iJI/OdDi7DzQXEg/zyqkIxoGc=" + "hash": "nDFW7wO0Ztu8TjwG8aSp9UTOdv8YiPrcqxr2PomGR1E=" } }, "is_incremental": false, @@ -1134,7 +1134,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Responder.html", - "hash": "jgQcV8cU/0wDGs6XC6/7yPCZyOcMpfuJe23ZYQM9rto=" + "hash": "7p89VkswGp0ql74YnaVkbtUZBnyBHUeGQ4sxOP0brpQ=" } }, "is_incremental": false, @@ -1146,7 +1146,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SaveDialog.html", - "hash": "j8qNaPRoOIdBRUvW3OJAUz31gy4BZfmqnRcvjZZ6XeA=" + "hash": "LQxmBJ0zTGUQW+yYnG4kMomaj3RC0zvN7cRLhVALSYc=" } }, "is_incremental": false, @@ -1158,7 +1158,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html", - "hash": "DAbUbUT2URCTF3UQVnLMfIMWDJZTd+qgSdA6JgIQGEY=" + "hash": "0eC9XagI9ZdR8VVl49GWUMUfPB22h7ex4VsmFEh4XK8=" } }, "is_incremental": false, @@ -1170,7 +1170,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollView.html", - "hash": "0nkV0zp7Q0ZPdFBYFZASuLi2HtHndrzyWjTneUYNyNA=" + "hash": "K5v5qEGYnOt0lWOScvyyavYyIUfMEMaOdlzbnRJxJ+U=" } }, "is_incremental": false, @@ -1182,7 +1182,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SelectedItemChangedArgs.html", - "hash": "nsriEQxvkuctOSlrU9q5ACaYwHDHNovA0PHGpPfheGU=" + "hash": "wXdP4G5F/ng0jEqkwIvQRatYfAgO0qPC2lIK1vDNgIk=" } }, "is_incremental": false, @@ -1194,7 +1194,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html", - "hash": "cc0sE0FUDHd01/LJV4VR+FWGhHu2Un+YsMkyqn7UoDk=" + "hash": "DKyTDIL15/Ha0S6add1yckcW4qj67cvvREqltLD9vyM=" } }, "is_incremental": false, @@ -1206,7 +1206,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Size.html", - "hash": "hkszMvMUOGCYjSTHCaPzipNVnLGru9jaKhUPwrs7Z94=" + "hash": "XHXsCVz7SdTUxu3rWrGVNW5+wUB0rNl2zvWftPS3qSI=" } }, "is_incremental": false, @@ -1218,7 +1218,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.SizeF.html", - "hash": "cjhGMZi2lIhkhDdvGQ8UsU5xzU5xcbV/fVUsvfQgC80=" + "hash": "W9Vm+ge04KNONOAuhiMzXrPGsOubCEsyaM8HV6fMvZk=" } }, "is_incremental": false, @@ -1230,7 +1230,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StackExtensions.html", - "hash": "HtxjFyYra4Ipvh3b7B/Duu/+IPSkmM6So9klq//ceT0=" + "hash": "AC9R1A9AcP+1/2FJENuZB/B/J2D+KCq1nb99SwEDYAU=" } }, "is_incremental": false, @@ -1242,7 +1242,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StatusBar.html", - "hash": "RCBAzrYlguXeaAT0Pgy+yqQCRW7O/Saezv3EJJZzpx0=" + "hash": "k3upKQ4JPeeHDle7Pl2AxHahrKOrW4HThucJ8vqZzU8=" } }, "is_incremental": false, @@ -1254,7 +1254,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StatusItem.html", - "hash": "wPvCig+KjACVGdzHNw1oyy5vpLkMxCUUMYR6uqhRjPE=" + "hash": "iY6/Q2QbiIo2Zxgs8y1OtS+4Q79WCADSmNSUDNuXi3A=" } }, "is_incremental": false, @@ -1266,7 +1266,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html", - "hash": "FXdsP4bbOJCSkWqZv+M57DsNc/7TcG50OxVK10VwIkk=" + "hash": "2z7DHhrjpluchOxRtDcN58Y2Qnw+18WiCR8e35QO3Z4=" } }, "is_incremental": false, @@ -1278,7 +1278,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.TabChangedEventArgs.html", - "hash": "vpTCnylZSYGHdLw9GhGrBm+BNwlCl1FYxyS2dU09MZk=" + "hash": "5x08a8MFq6sVrAYiNZPqMFkcsWnWtS0izqj6EZAawlQ=" } }, "is_incremental": false, @@ -1290,7 +1290,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.TabStyle.html", - "hash": "0pxvVAj3jfwXNcArHjkPGEumBtjIjVZ2e1Hijo1tPaA=" + "hash": "xerElX4d5mkHP6OVVJeGhDFJj05p9DRGu10Tr4kVH/s=" } }, "is_incremental": false, @@ -1302,7 +1302,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.html", - "hash": "v/hodQOYUV/Qn1HG23OQKhU+ls9hIhTjWfGwn9cKVao=" + "hash": "lzOgtERtc4BaMssGF1YXdRu8XcAPYR1uk4apChiB15I=" } }, "is_incremental": false, @@ -1314,7 +1314,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellActivatedEventArgs.html", - "hash": "4hahAnF9K5qjFUAkNLy0T6HVtSgH+MPrvpDXYSMJnM0=" + "hash": "edPCIktnHg35tSMyrEcYPvr+v91yUAAYZTHaL06vdEs=" } }, "is_incremental": false, @@ -1326,7 +1326,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterArgs.html", - "hash": "LY9ZU9cPCoUq67TYkogzlUSFQBrbMbeErIKIqoXsMNI=" + "hash": "Fj8J1HgQljLOkyEGgj5hpKWkJ6hawHhB/opWTpN25WY=" } }, "is_incremental": false, @@ -1338,7 +1338,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.CellColorGetterDelegate.html", - "hash": "Fwq0wupe7i/Zg0/iiWPFJ0CTSQQN+QyO8cOuqa+E7o4=" + "hash": "XdE1Pj6EXPybmmmQ4zq6ezujAK3MTC/rvkYQjK/sgGk=" } }, "is_incremental": false, @@ -1350,7 +1350,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.ColumnStyle.html", - "hash": "1DqJw0QBEdA1OW1qF0PZNCzjv4YRJz/j5AJ6Zt5N9To=" + "hash": "cEu/PKPu2nmPBRJRQrDkB1EOtdRflw6aT/weiS84HHQ=" } }, "is_incremental": false, @@ -1362,7 +1362,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterArgs.html", - "hash": "6OR+EQVTceE2L0tJhxuBRMpGCPC/ruypcxjAXrfYLqE=" + "hash": "v5IOMiz5QNIqbXP97OvmZrWY2PaOxY/D+wVQq6rp7rU=" } }, "is_incremental": false, @@ -1374,7 +1374,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.RowColorGetterDelegate.html", - "hash": "2ULJKNn0mNB3sNUehav5YW/bmF00VTHbxeAiAFQJz0k=" + "hash": "kNHTS/MsypY5wu4QOKzJpC5hk7vGaCBm/HJEmVcQHXk=" } }, "is_incremental": false, @@ -1386,7 +1386,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html", - "hash": "4y8Mwdmg4EOZJS86d1Pqulmt6oSAgQZG/j1vdLNJE7w=" + "hash": "j0NElsevmaqqa3JghuX+61sgPGW1rtv4qIq1e9NJYhA=" } }, "is_incremental": false, @@ -1398,7 +1398,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.TableSelection.html", - "hash": "cZGzQ/dY5hsvoDAJhYBcMyOLAsJoX8Yx1oGsapoyYEA=" + "hash": "AWcTQAGlmxVXGMrRkfEp9/nDScl99lx0I2DS70A/jfM=" } }, "is_incremental": false, @@ -1410,7 +1410,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.TableStyle.html", - "hash": "TMSJ6lO5RsNvdXAQa7WMWQK0Nhi/JY5u2pjzHROzhjU=" + "hash": "0Vz2yoiRC8hQtdsE0Irr4mSzBG1wtqpqwpzsVCCsY/Q=" } }, "is_incremental": false, @@ -1422,7 +1422,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.html", - "hash": "rNLlnYkyeEn1g36TEjvy9SuSe860ghz8LG2TMQJ8LnU=" + "hash": "4T4Q1NiBo8TfbRKWImA5NaA5vWYWNXCwog8QwuVQLfM=" } }, "is_incremental": false, @@ -1434,7 +1434,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextAlignment.html", - "hash": "nAdHSkyo558KrHnEOtwRC66p1s4dZlZJCRS0vRnU86M=" + "hash": "qo9BwevQL7fumLWmx7pNh9Lk7bcqa9GR04Df/K4oe/Y=" } }, "is_incremental": false, @@ -1446,7 +1446,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextChangingEventArgs.html", - "hash": "b30wfI2n6sT6OKg03IjWQRQtcL7SW5/3vNmAFSmLpBQ=" + "hash": "XqD5LM4iQ4FTRr6o2Ci+RhCalP9aqClirMPGz44lMUc=" } }, "is_incremental": false, @@ -1458,7 +1458,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextDirection.html", - "hash": "i9rE3mONuEBjkNkuMgQifm7n0Rquv1nRA0CxuAjjKpU=" + "hash": "EPsu/BmNWPohqn8qv2+Z4dp7s75xJ4Uj66LBDi9oD2Q=" } }, "is_incremental": false, @@ -1470,7 +1470,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextField.html", - "hash": "S1OBdnm6BRJGSzrKhx4keY8gBjA4gNSqtx2NlSR5cJI=" + "hash": "be4pef45yQKR3n0z+WwucVHY4CFIstuRnk/bhjk078k=" } }, "is_incremental": false, @@ -1482,7 +1482,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextFieldAutocomplete.html", - "hash": "3VGHANFO18nWyamAbEVT7gLWbkXZf2XoiTV0vlihIqM=" + "hash": "gAm217T7k5Vf7PXgULa3UrOIoHW5opaTubnlPIW9ShY=" } }, "is_incremental": false, @@ -1494,7 +1494,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextFormatter.html", - "hash": "UD6DS4FIpb+3lHUpcfc/XaLXZQqLHOcTphTda6ECq54=" + "hash": "mHsOyQCLekrfHUFuZ0yGWDIKblLR7TK42A4BatBfXNU=" } }, "is_incremental": false, @@ -1506,7 +1506,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField.html", - "hash": "GQazON9R8n5gs7oIn+cug2CxAdCRlWgGbT1CS7MaMC0=" + "hash": "b4saQtjf2w2J/q5j8ykLZyCj2VCtC+GrexilSdSuzEY=" } }, "is_incremental": false, @@ -1518,7 +1518,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html", - "hash": "vRV3sZw9n+iCWVQuo2eqz9QrXrTur4oi6ugLjYXU89I=" + "hash": "shyU69zDuu1APNQTkUDwCu7yrlv9i7GN9XH8VtBACtw=" } }, "is_incremental": false, @@ -1530,7 +1530,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html", - "hash": "6+ySX1s3hMPrZcQsPg1b3tC6mcAQqPfi5mTTnkFXmEo=" + "hash": "zRQpOMnHmyCZMH2JvpcK5Fn/rJouDZLuxWNHVV7d7B0=" } }, "is_incremental": false, @@ -1542,7 +1542,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html", - "hash": "pt1mPrbmRAtTcHYC48IX4c8t5TsQtgJIXF0HcCS5UWE=" + "hash": "OdsTjHyp6FayRp6Wn/sT0TZ6+VRSy8B0DYQjev2emOs=" } }, "is_incremental": false, @@ -1566,7 +1566,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextView.html", - "hash": "P40sP4LkE5rV81TlGF67ORl1qsOv8yPghkN0oVy85QA=" + "hash": "ndNOiGaWqDqQC8nTaZHD6fNhk2T67ZXC4mRSum0DkqI=" } }, "is_incremental": false, @@ -1578,7 +1578,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextViewAutocomplete.html", - "hash": "s/6ry6FyDw8G2irBPkOq8/VlQzRJza4oL/svKzsI5Es=" + "hash": "ph2DH4L8TgVbX3aX5W0Nl1EZxFCfw5Jk0uRJyC4wGow=" } }, "is_incremental": false, @@ -1590,7 +1590,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Thickness.html", - "hash": "6rkaEOmA5CKpWa4z4yRNRILCCP6CD8r537n4UHmNQnY=" + "hash": "9mLzJsMhIJOhK6sZXN06dqSfTi161GmTBYYGsJpT5sY=" } }, "is_incremental": false, @@ -1602,7 +1602,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TimeField.html", - "hash": "Dx+FFRln0ADklzIlerAwse4rr1IFk0X4kQE6VGxp9tc=" + "hash": "ciSPMl3gIm9i54MmKKF/GubrYQ2796D86+nW0cBp2fQ=" } }, "is_incremental": false, @@ -1614,7 +1614,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Toplevel.html", - "hash": "DGUU2YzerCIvIHxuEOA2RLOYLTFbm3ZTa1TPGZlvdJU=" + "hash": "fq9g58f0BLlz+KvcscMKDslKJCCslKxVlDPza8AG2rY=" } }, "is_incremental": false, @@ -1626,7 +1626,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelClosingEventArgs.html", - "hash": "S0HEwtH12NSbZf1+N+/2eQOkLYf+RTMSomoHM1z0sHM=" + "hash": "B4r+ddzzqpWAfD0x/UZH6lfwGqmIFhtdGdlid9zHMM0=" } }, "is_incremental": false, @@ -1638,7 +1638,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelComparer.html", - "hash": "TQbJ6JrS7oVwotx1xE4/j40YsmxdOHArc8ZLBs+L/K4=" + "hash": "6x8/z0pP3uKoSoBoYejiTYKPHGNigV0Q2CgNc6d+1KU=" } }, "is_incremental": false, @@ -1650,7 +1650,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ToplevelEqualityComparer.html", - "hash": "+CK6fMjIstzOPDIiBftc9KCyOda9dSC7DwLCNGdaRJI=" + "hash": "HyU5ljUQ0VKN2U2PeYrrB6+V57u6VZ1M6n7lSdB1ojE=" } }, "is_incremental": false, @@ -1662,7 +1662,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TreeView-1.html", - "hash": "er3mtuqgQIjVRCaJq1P8RfHEXhvi04K1I4Eo+jihh+Y=" + "hash": "a8mn75xvlg7p4LM6U/H17ufaumAOKYi21O4+9TMFrtQ=" } }, "is_incremental": false, @@ -1674,7 +1674,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TreeView.html", - "hash": "4vxkIS4L1seL69vYwrPxKPbxsz+HDbIhG9poMLMFn84=" + "hash": "UcW2MhHVWsSqxeKiOEgHfOPPoGdA6r7bJObPkd7TLsc=" } }, "is_incremental": false, @@ -1686,7 +1686,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html", - "hash": "bNXgaOVf07VLbgWxpT97LDybODBu7kaWNTZYxd7cTis=" + "hash": "9D50VE7VrYi+ZtobYRoUYZZT2qF2x0SkGv3i8Kwu9RY=" } }, "is_incremental": false, @@ -1698,7 +1698,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.DelegateTreeBuilder-1.html", - "hash": "MlV0JaVQGxL+5GRwZmITMkKJO0eDMTlbULVRRGjHSb0=" + "hash": "VOprw5XLEefy0lZWYJ7r+AG/d7/Fo63JPmHUiGUmtDc=" } }, "is_incremental": false, @@ -1710,7 +1710,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ITreeBuilder-1.html", - "hash": "gy4Lt7H4yquUYUBPLf1YNIFGVes+8UeHBCLsdoG+1Go=" + "hash": "Qg581B4LC4F4m5X7rT3sGoI3Xs7n0KAawx0eHfokFSI=" } }, "is_incremental": false, @@ -1722,7 +1722,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ITreeNode.html", - "hash": "qhJx74dc7WzSG8kgbKZICLms9+pQ6bQ72xpArTVSlGM=" + "hash": "cs/KswXUF+yyo7AHZw71M4pyX+0PQBcZ3yIbr+R4qL8=" } }, "is_incremental": false, @@ -1734,7 +1734,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html", - "hash": "7oS51pTyU8mj7+iA+Y24kOFJr/uJ44BlLlVVqxYwoT4=" + "hash": "TuFjTWcXIx2Bi13G7kreaqvrRwNlQ8gFneniCUx7+pA=" } }, "is_incremental": false, @@ -1746,7 +1746,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.SelectionChangedEventArgs-1.html", - "hash": "4YpSe0jqI4blYUT4HslQl1npEw4L7U50bEgQnEDouCs=" + "hash": "zEz2Kb/43vVwT+0x/8CMDXMknIHGkgSRtRp3YAHTAbk=" } }, "is_incremental": false, @@ -1758,7 +1758,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html", - "hash": "izfj4v1KAVz4UMX8wL8U0hyJ6/2NbJlbakdR62Qt67o=" + "hash": "vSwgUr/vmrWn5MGJVOK4SZj5LXjAYu8vn4cWX+8MrE4=" } }, "is_incremental": false, @@ -1770,7 +1770,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html", - "hash": "LuXlIWKE9s0j5cEHBjpxNvId8dfmYc7j95iyIgIx2II=" + "hash": "tJCtdDywpZHXevAq5UYhJLAs0wFxnzSgthUEf2NSlAU=" } }, "is_incremental": false, @@ -1782,7 +1782,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeNodeBuilder.html", - "hash": "5oDZoPNBBLW+HmDygzxIsh0SOszM1I4NRJ2KXHiAq5k=" + "hash": "sqUfPEO2ZD6d+kM2CXqsEqHsZwD9WsmfdHpjxJj5bFo=" } }, "is_incremental": false, @@ -1794,7 +1794,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeStyle.html", - "hash": "yhhzCrzWS21HFia8L0Uh8YWfPpb3faaMPZTqHgm3oxg=" + "hash": "Dw+jtsNkSsTdeauyWqFRCEwes2pwGJRolCCdlxQBwBI=" } }, "is_incremental": false, @@ -1818,7 +1818,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html", - "hash": "flQviMIb/0kJut51uMKdH1gQtHMsh8kvI0/cGHJQwhg=" + "hash": "oerbsueLGhRvdukbvNu6o4gBLR9XTbzRFdZdZcrrrOw=" } }, "is_incremental": false, @@ -1830,7 +1830,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.FocusEventArgs.html", - "hash": "uzRlyOXFYLWEh+uIk2k5AtL33iG630XGjg3U4EZF6cg=" + "hash": "pKB0WmRBKvK5XgsS8ohDaK8AcPWjjyt/6a2lzclbYjY=" } }, "is_incremental": false, @@ -1842,7 +1842,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.KeyEventEventArgs.html", - "hash": "91kb3uEsaegEscusCv/+ZN2nfXdt71OEiCRR17zJzcw=" + "hash": "JB4cgaQ5TKMwPNmdQu6TMGbUeQDeqMpF87HdyBV93fU=" } }, "is_incremental": false, @@ -1854,7 +1854,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.LayoutEventArgs.html", - "hash": "I5IgtEYAI/Pl6zW9Klm1RUSP9HCjWfW0jNHebkcBb2c=" + "hash": "zgugVFESgxSsmrPMzeFz0QF4cgYSyG5ghgdCGlN4988=" } }, "is_incremental": false, @@ -1866,7 +1866,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.MouseEventArgs.html", - "hash": "vjuz1xYZOqFTN1WGSsm0PHCoHTQFE1jkZ+UIN2yuKU4=" + "hash": "XV2+e+QA9UwDNslwPXKd9ekXZd8EyB2MlSO7IsRf1f8=" } }, "is_incremental": false, @@ -1878,7 +1878,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.html", - "hash": "eCjsnSGwA0TEsHhoiYRmKXl8gI27Sgv6WeBzt0HN4tk=" + "hash": "10J1OJEtbMYuI36sQR44j93cxTocZCYsMBFP+3nXKho=" } }, "is_incremental": false, @@ -1890,7 +1890,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Window.TitleEventArgs.html", - "hash": "0568VYartbdAu5AzZe6GeHbRuSjWR1j+ZC0v+eanz2s=" + "hash": "osmXvjrRpYLBTqOLOPJl1/fuogLPHS3tyven31s5gSE=" } }, "is_incremental": false, @@ -1902,7 +1902,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Window.html", - "hash": "UCoyIoBOYE7jxSrlKr9CGkGuLK07GepwoSqujA1J+4I=" + "hash": "YJQXkvygwKsSxZJmShvNMIYdHzvoR2LP6IPcf5id0VU=" } }, "is_incremental": false, @@ -1914,7 +1914,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Wizard.StepChangeEventArgs.html", - "hash": "dXdZSuyUCuVMtROymBpkh170EmZwP62AUbXVvUIbSF8=" + "hash": "58PSYvSleW0WsouHwsBq+XCMVQNXLg+2DNbZ2wZyXck=" } }, "is_incremental": false, @@ -1926,7 +1926,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Wizard.WizardButtonEventArgs.html", - "hash": "Z/9HTXwRk9iYM4N3SVfs0/oCrinc7LV9Gtq1wKm/TMY=" + "hash": "h82WpUaStSU1qAWFNk3Yp+6CzsOW07Acw8TPRCMRR9k=" } }, "is_incremental": false, @@ -1938,7 +1938,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.TitleEventArgs.html", - "hash": "wHxUoaM9zYwLANIJ7o+7Si26unNIybg/oZigOpcTTDg=" + "hash": "zd2KEqSWYU1Dy9QcMVgnuYqiwLaJ+sii3Rbtove6NZQ=" } }, "is_incremental": false, @@ -1950,7 +1950,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Wizard.WizardStep.html", - "hash": "OJzJCBIRxpMOjYwpzlJ0NOud6XTw2dtQtf0A0PC2LXc=" + "hash": "Ep9BL7qdp53v+8a7PjUxVRwlW9dDIM+2HdPSrE1NY0g=" } }, "is_incremental": false, @@ -1962,7 +1962,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Wizard.html", - "hash": "pCYAYoGgpPKsc2nP2bv1nHLSvSFUW9KkHM2T7EsHvTg=" + "hash": "zttNFrLH/Q0ic08KMBc5tR19LtncgIc0uyODsRqo13E=" } }, "is_incremental": false, @@ -1986,7 +1986,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.Event.html", - "hash": "xnxOpWM3/ulwwDWp0FeiQF/XE2NaqVzR2wSTUtbGgto=" + "hash": "vy01KK2WH+ItyHKAwmHB/7ip1h2VwcNB70Wntss2srg=" } }, "is_incremental": false, @@ -1998,7 +1998,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.MouseEvent.html", - "hash": "hug2h0di6nt5EE6PiVN/88DWslI6/3MDT5RAhpZhgzY=" + "hash": "+GyN3Ed4Em6/aCkKtDu0WQ0fcILrfGyz+QtydmavWN4=" } }, "is_incremental": false, @@ -2010,7 +2010,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.Window.html", - "hash": "/oxDo1Yapr2PuN/hEjsdpvVSyQW7RAeBiS+GKMyPnjo=" + "hash": "805/qQLMFf2urtJb9iSihkDiaYCTjiChKnEOYtLTY8I=" } }, "is_incremental": false, @@ -2022,7 +2022,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Unix.Terminal.Curses.html", - "hash": "EHMPIO57fM0HgA1fjPOSubq4aWMtukc6O05rN0jP2nE=" + "hash": "unRrKHQh/U8wsobiz0KPsItcZ1UzN1bnjsH9BAJy/1A=" } }, "is_incremental": false, @@ -2058,7 +2058,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.NumberToWords.html", - "hash": "lIkLfHkt8fhm0m6CA809fFoeFUxXkor0nkO/77lBJXY=" + "hash": "NBJ3knDxyxIFB2hqa7DSNGG/zDlZBFq7UVoBlJmdczw=" } }, "is_incremental": false, @@ -2070,7 +2070,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.ScenarioCategory.html", - "hash": "mqyc3YYoRfma28OaQQhFUx9mIGRwzFWP4F4d97uAWyQ=" + "hash": "C6Iz35zH0kILkfoXJ24v216rgpjIzZxqCoYZdrnIz1w=" } }, "is_incremental": false, @@ -2082,7 +2082,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.ScenarioMetadata.html", - "hash": "MCaqhyoSL/4D3aZkjvowAiaYbby4lwDj+cRiCZJVEVM=" + "hash": "GHIcm+iVrDdb2uN3QR+SqrGFWQVaicFTk71E1VpOnKI=" } }, "is_incremental": false, @@ -2094,7 +2094,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenario.html", - "hash": "r7zCHURffzHWy5ePNGxItnG4DrCwbUa4yI9fZd60rOA=" + "hash": "5Ctl8QkgNUm17CB+8AhyoiuQQbyTWHcH5sWAswPoneY=" } }, "is_incremental": false, @@ -2106,7 +2106,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.AllViewsTester.html", - "hash": "zqZVYVDJi8O8Nxf4CgQv3ncfkHoQFFzpurTOXmPWJFM=" + "hash": "2DfFd2TJIIMKXUt5455XfpC5lOCFLtk16jAbMCaBiZQ=" } }, "is_incremental": false, @@ -2118,7 +2118,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.AutoSizeAndDirectionText.html", - "hash": "kGI1zjnTKh5vaBPUO+nfTEJqljCOgcQsMFZ3sFgByPY=" + "hash": "k+CYwokqjxw1+RZRY2xyHacia1mjqFvMDNAE6K5gczs=" } }, "is_incremental": false, @@ -2130,7 +2130,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BackgroundWorkerCollection.html", - "hash": "Vzc/V89CeHY2WnfDvPqJA+XrWPjQUVI0a0I4hNPkKlE=" + "hash": "exuKhmmqia++WlEzO+N8U3ezClc0B9nzcBedODb0FEE=" } }, "is_incremental": false, @@ -2142,7 +2142,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BasicColors.html", - "hash": "4iyY5SlEaKlOnnMwhnoY1B5DRj1THuX5naGkLlDJuUg=" + "hash": "oENrEGYI8hWNal6Ik99rOM2acSW0jnhmx7oi4/QFiYw=" } }, "is_incremental": false, @@ -2154,7 +2154,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Borders.html", - "hash": "JDrn5hmSmoTRppuPiaSiTTFb/aZ3rWtkWQ8yuyYaHKc=" + "hash": "LTgYKUfS9A2N/p5JFPM8svmDsy9NbGz4vwxEoJ1Tnng=" } }, "is_incremental": false, @@ -2166,7 +2166,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersComparisons.html", - "hash": "1DKtPDMC+x9M+WycmBpONGQjZEDHk3eoTm/i6LhQoh0=" + "hash": "hkvO6pzZzP/iHyy4G8nVpkkxyNHgjjG4FLV/jksev6o=" } }, "is_incremental": false, @@ -2178,7 +2178,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnFrameView.html", - "hash": "+2wj2ZmfUYDgXQ1meAY9NmfcpZf3LB+DPR1N9ZlzQc8=" + "hash": "FroABhpvFi3SytzzbtaJGrDVgK+DOtj/5MzDlFo0rTg=" } }, "is_incremental": false, @@ -2190,7 +2190,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnToplevel.html", - "hash": "b/EvPteUqv/AfDtXOjansZCcTxpf3mq3HKLAmAg+xD8=" + "hash": "dAYHIEQAHjrTS6UobZhOkbWHnPXAca2B7uoy0fJ3orQ=" } }, "is_incremental": false, @@ -2202,7 +2202,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.BordersOnWindow.html", - "hash": "4E/cZeaofrmm+VGzm8HUz2T5XfwuK2mWNgItRzvqCh0=" + "hash": "LyhfuNpChsriexu+tnKogeyMiDhfQZnJiKbBefM/r9Y=" } }, "is_incremental": false, @@ -2214,7 +2214,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Buttons.html", - "hash": "qqpWaftnq23aRpEkbz8dsekvdmiuCynfOBeZWOYkhv4=" + "hash": "cqVocMwQLsNNdkjde0hokpyOnJNEeEZ56Q07TGB1bqk=" } }, "is_incremental": false, @@ -2226,7 +2226,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.CharacterMap.html", - "hash": "nr1GUI/1T1En983hd1ZqsnvkWvJcUK9QFXSYZyYA3u4=" + "hash": "8yJ5BIaFHHLR7mbSvxqcMcLsPv8HH9IXAfdUUW33h/4=" } }, "is_incremental": false, @@ -2238,7 +2238,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ClassExplorer.html", - "hash": "lJ2i3Znu07cXFGQz8qRAFqGP58SJm0RtnmIWDbKTkwI=" + "hash": "qqmud8c3RianK7WHrSRdOhH6NREWImaG5mDvHZT2Ofs=" } }, "is_incremental": false, @@ -2250,7 +2250,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Clipping.html", - "hash": "NU5GbdLbZiRqUImcAmkuHzBcL4Qx0VH7lH3IBTGSPKA=" + "hash": "36+2NyxHGudboC/v806xa0mun4s2ApB1pZlUn03XbcE=" } }, "is_incremental": false, @@ -2262,7 +2262,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ColorPickers.html", - "hash": "ZhsfxtiaQ7nZHj4oNQfgooYWwpMf58nVp0q1PHWCx8Q=" + "hash": "6gvZRRylZImLQ65UaNG8Poty2vdJJOn2xviwD9qWK88=" } }, "is_incremental": false, @@ -2274,7 +2274,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ComboBoxIteration.html", - "hash": "hl+pdLX+jG3mZ2/fL/pJuCMYgJVsJOCzA4ufZtaNfkI=" + "hash": "sQQOVMMCOTQwUND4FsJtg7fbVmBYfLEKmn37DbLkO60=" } }, "is_incremental": false, @@ -2286,7 +2286,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ComputedLayout.html", - "hash": "kr6ub4nwg4GzkCknEh8Og5yk/hMIWfpj0Pe1nVOesGc=" + "hash": "uUZXV7Woq0bi7rDOc0A2+7uUiBVFCV3r5CfOy1/ebkQ=" } }, "is_incremental": false, @@ -2298,7 +2298,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ContextMenus.html", - "hash": "LUGTBJclmmua6ZXQlIC+DuZYSQ/KjyBGQ46MbiNr9Lk=" + "hash": "+Y11y7kdQFOjVqzZq4G73mZVRJVVF1Fy+hqzuf99SQk=" } }, "is_incremental": false, @@ -2310,7 +2310,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.CsvEditor.html", - "hash": "HtJDfKZ8Kxv2OXmUOlYCSli9nHZYvXMqxJtuUAqFyMI=" + "hash": "ieVmzw3WeC6fJ/YYZQI+T9q0yamjOPNuoWIJ1EcGFkQ=" } }, "is_incremental": false, @@ -2322,7 +2322,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Dialogs.html", - "hash": "JwJhg3gZ4LVzEGdFfdOk/vK4QwJI8gzn+PfmD3dP8w4=" + "hash": "doifTpizN8+i/5wzQIkx/9i1FGKWNll7k7et3Gh561g=" } }, "is_incremental": false, @@ -2334,7 +2334,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.Binding.html", - "hash": "v9ZkKlATx2nLHNj3wd205K8il+/btTfjql7Jz871aPQ=" + "hash": "gFWGsyuV/Qi/eRF52N1tXT3bJZiOavQtyHYpjwJCL9s=" } }, "is_incremental": false, @@ -2346,7 +2346,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarDetails.html", - "hash": "V/XG9PErjl/GfIFUjx5J9FTGKDiryKCHJPX0K8bJ7N8=" + "hash": "VGIBtGRUN6onoPCFiXZivn+AGQYwSa26VL14GTEog6o=" } }, "is_incremental": false, @@ -2358,7 +2358,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuBarSample.html", - "hash": "ZFEoQunwmHaGH9/H6EaaN4PKfunhE/04+vLwVdFzT7M=" + "hash": "m95RbHAD2KhyXDRD+v5A8l+/BEdCcO/t+a0+DVNvkbI=" } }, "is_incremental": false, @@ -2370,7 +2370,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItem.html", - "hash": "dSrI4fbL83/4PD533TOTZgCwPR75wLTB3+ZUo87oCpw=" + "hash": "eeSvaBEfyKXmqVzxKpmuQ2ZrfzVWTOsur3vjIM0OKYE=" } }, "is_incremental": false, @@ -2382,7 +2382,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemList.html", - "hash": "ZgKLa46qyEp0SOZZfK62hqGOWi4Y8wgKIKlRtboh4T8=" + "hash": "H6BRsdqkSmhX1c7Ngmo86zOvzu3i0xrBSc/rLSz242s=" } }, "is_incremental": false, @@ -2394,7 +2394,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.DynamicMenuItemModel.html", - "hash": "WaU4Zr2m7s63CgbwKMDd5psH+o0CXS182wIWQBvMrQ0=" + "hash": "5T3z3b6e7hStZuwiYT4/4L3N01jbQhCrzkVrWF9I0Zc=" } }, "is_incremental": false, @@ -2406,7 +2406,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.IValueConverter.html", - "hash": "OAwxjlhwM1UnajMZ9ms/U91M9RcRTSlxdNvKQUC3Wf0=" + "hash": "28kioV/AMyzW2nheRnYKLoIe+uYkd+4JftKz6CV1gwk=" } }, "is_incremental": false, @@ -2418,7 +2418,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.ListWrapperConverter.html", - "hash": "rHDENgSEDfNeKJLq4E0Cgjclyhc/lunjc1RTc1W1als=" + "hash": "vzSXJwoEj4C3oSZf+ofqPSRL5USAl79pTMWzTSVRpYs=" } }, "is_incremental": false, @@ -2430,7 +2430,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.UStringValueConverter.html", - "hash": "z+HUKLiMTHonx3HVNY1X1VqqADpeDnvBbysXtXfPUwk=" + "hash": "otU+Cm66t9DSYzeYBZYXexV1dTTjY1K6c/8Q6iZ6rD0=" } }, "is_incremental": false, @@ -2442,7 +2442,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicMenuBar.html", - "hash": "G8ZBcPC7L2J4oH5R5VV9LwYaRd1sQMFLSe/wKZc9z0A=" + "hash": "Y3hUp1NuLizr2dp6IZidHea3IUh41Wkgh0rEy8wRiio=" } }, "is_incremental": false, @@ -2454,7 +2454,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.Binding.html", - "hash": "v6fECTUIqnBmokmQ7QmtBWxemy+4QbW0/NhTXXnqJ5g=" + "hash": "FQjns3Zt945HySnQmXtE8854F4rPaEIGoNo6bXOurng=" } }, "is_incremental": false, @@ -2466,7 +2466,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarDetails.html", - "hash": "eGfaoheprjjl0AzVxx2IfQnv3uoOaHONQk9Y5gAli+s=" + "hash": "RC4ER4EZj6xQJD93phr1+3ub02jf0uY7shUK0geMDmU=" } }, "is_incremental": false, @@ -2478,7 +2478,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusBarSample.html", - "hash": "qtLeqD5FXfEk7LJsAwUL12TsJ7XZuejlH6m/52gK3fc=" + "hash": "/S4ieHPZdgV9TDnaSIWw7Yavzk1XL2+4/JKi/1Jxtzc=" } }, "is_incremental": false, @@ -2490,7 +2490,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItem.html", - "hash": "3aN4Wkniq8CHeqwbo1F1itMVGKZYH1NHVzDf0UUJjzA=" + "hash": "5J1SWvjDU3O+wZn4AYqcQFTSBX7KxnWqm4EQytmwr78=" } }, "is_incremental": false, @@ -2502,7 +2502,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemList.html", - "hash": "dLNxh69KW/xo2A46MDT01xX2+kW0Hz8Y3MPapR0nF+c=" + "hash": "Toq0VNbWEo8Z3+qmqCbenc/rJ9xjxAdSpfzyHcvx/8Q=" } }, "is_incremental": false, @@ -2514,7 +2514,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.DynamicStatusItemModel.html", - "hash": "c+S731b4RmB7+OAyVpgbO+e2whc+rHq3K0Fhrbevk00=" + "hash": "GQdiItTkyOko4MubQeMQX2VCvNqR9bBLUoJk1ZNdn0M=" } }, "is_incremental": false, @@ -2526,7 +2526,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.IValueConverter.html", - "hash": "JMAkTCRxJQEh2GUb8aBWitMMxSxDa33tBl/lkJ2pj+Q=" + "hash": "ueRU18vM+dQHWgaOvV6Inn961hkfKnLU7x+S3wPCry8=" } }, "is_incremental": false, @@ -2538,7 +2538,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.ListWrapperConverter.html", - "hash": "n4GagUnZIj+Ra7HK1PJGEbl78kyB9KvdSJZIQDZwqks=" + "hash": "BiHpAKHTi25qMSbmJT7U2fZG1iHKh/WrriA/QEPJSBc=" } }, "is_incremental": false, @@ -2550,7 +2550,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.UStringValueConverter.html", - "hash": "e2Z83llKQeNMIvGJv8liqnDpOurOYx3GP4dgTPNEqvk=" + "hash": "05lgZnU0PowJaVsHml6gvtmYKOTM+ytv/JKDROio1F4=" } }, "is_incremental": false, @@ -2562,7 +2562,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.DynamicStatusBar.html", - "hash": "fyBn/keB1TN8A7HEwOfIvuYsVNWu3rIJQnhWrulhLds=" + "hash": "uqsE+4QjVUqr0xrDZdrbCHQbam/WHIkXLXOiki7e7HM=" } }, "is_incremental": false, @@ -2574,7 +2574,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Editor.html", - "hash": "XrxFJ+8hd7dZGo7K7XW+lKhIZFwL9mEv4B6Z5mO8zsU=" + "hash": "+oWaLvYF0vdOPfSx3RN4FUTpfBgggh5lJwhenz2vtxY=" } }, "is_incremental": false, @@ -2586,7 +2586,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.GraphViewExample.html", - "hash": "iy+s3yrWbIIT6jtAs4vLmBz2uSuK5duXU5b/x6uyiW0=" + "hash": "ht5dF4tVT1nhR+RQ+HQaFLxulDhmB2porc8eZc8rWdA=" } }, "is_incremental": false, @@ -2598,7 +2598,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.HexEditor.html", - "hash": "T7TZgHEBEiWNTEvQFWPheJpyM0zWrrsyyrkiw6nDP+w=" + "hash": "M6wlUPVc79NkrODfvcO53H83bdSNpigfldqpgevENcI=" } }, "is_incremental": false, @@ -2610,7 +2610,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.InteractiveTree.html", - "hash": "CGA7WgCq8eUou8Y7mUgGubJR1dvAFz+P1ZELWUY7M/Q=" + "hash": "vDz9vrEqJINlSaI4CE17XhbXJAHTNwZ5+tz1b7kjFpM=" } }, "is_incremental": false, @@ -2622,7 +2622,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.InvertColors.html", - "hash": "LQLACOuPOohe9T3CWfkcVx6I4N6rOacp6vJwOma2/LE=" + "hash": "lujQz9FS5/guFNzffpVe3lmzmMUpKoULXTslnzhSKCs=" } }, "is_incremental": false, @@ -2634,7 +2634,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Keys.html", - "hash": "lLJ9dnkX/MOP+uRZ+GTSWkkxfj1WNKaTyi6cN5pn5N4=" + "hash": "x3EASaxn/jetAPkJlwL4M4P7ygtDpblJlcJcRzxpQlw=" } }, "is_incremental": false, @@ -2646,7 +2646,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.LabelsAsLabels.html", - "hash": "j8VH361FZsK1qK3R3YqhiLc0oxivh1XLRFAFxJWDpMQ=" + "hash": "oPDG16P8ih35lHMpcwV3YizWZZX76BFvR6zLuN8Rg0E=" } }, "is_incremental": false, @@ -2658,7 +2658,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.LineViewExample.html", - "hash": "rC99XAJ7Xo76LJoKNgXpjFsdRzcfgvR00cRrbtUbepQ=" + "hash": "7q86CETVFhkYg9PhP9GHSsa1pqzcfyMez3cjPGj/qLk=" } }, "is_incremental": false, @@ -2670,7 +2670,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ListViewWithSelection.html", - "hash": "JVaTf9NVaVqp215Lid3xcUan0dSLwk6Ex0wCizX4M00=" + "hash": "k1Z49I5ALCOgKMZOi0g1KWe72CixZcZ9JaGMXkW/o1M=" } }, "is_incremental": false, @@ -2682,7 +2682,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ListsAndCombos.html", - "hash": "DjUo0rPafVXTE0uzklXYVvizpj+khAtFQjwlvsd0JjM=" + "hash": "Z6x3hBXjk9BwiwiUG8Gz8v0PTCJWysllQn/gOob/2wo=" } }, "is_incremental": false, @@ -2694,7 +2694,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MessageBoxes.html", - "hash": "MAw5vhtYwg6BaaAGnLF/V032jD4XDsHqEE9ICZZWUtQ=" + "hash": "BDKcv9XgJH3jPhySYNXFei2VzBZZX7CaQva1kfVgs2c=" } }, "is_incremental": false, @@ -2706,7 +2706,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Mouse.html", - "hash": "DPsd4eCAgmzDq4teL9vPE/ogic2zSP1QVjhYO8OFO5k=" + "hash": "nl9gd9pXMd8rGBIh9rn4okLQ1H99uFW0tpq5WmXrESY=" } }, "is_incremental": false, @@ -2718,7 +2718,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MultiColouredTable.html", - "hash": "9ePgmfObJ6i0UVExXYPmCpqCpoXQR8j4Hk+tifqOibE=" + "hash": "hiphIz/oVDANXyLzBbhlpSEwxxhPWu2n5Nol1amqqVA=" } }, "is_incremental": false, @@ -2730,7 +2730,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.MyScenario.html", - "hash": "HpttA4e0XFKmxf5mt07556Dsb2eB0Huh5un4fNxaFx0=" + "hash": "0+5OYfyUO2/nghpVNFfAIPAhE5ud1ouduq2kKPcbOUo=" } }, "is_incremental": false, @@ -2742,7 +2742,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Notepad.html", - "hash": "yfnbO/Zgzb/Z+dTlImhfh44puUMky2gJv9QqlB4Hpyc=" + "hash": "3xEcZLwOzJYhEYBUsdQeT/2wQdL7OFkwYTHY60hmbYU=" } }, "is_incremental": false, @@ -2754,7 +2754,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Progress.html", - "hash": "N/ftl1tOxldomDQm+YAesW+de3HezGbwJ9MR1PeNFVA=" + "hash": "19akxj57yX3NAop1imhm5ZAaOuzBxQhKKxhQvBpX48Q=" } }, "is_incremental": false, @@ -2766,7 +2766,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.ProgressBarStyles.html", - "hash": "6JQ51S83iV75y3UireFwfeGUE5ngiDyF2naa77M1C8I=" + "hash": "w6T5dMIWPPcxRuIOTys1GYxm7ZlZLWZXRiNpYSdIiA8=" } }, "is_incremental": false, @@ -2778,7 +2778,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.RuneWidthGreaterThanOne.html", - "hash": "61rhEOIUyi2ObRBDZ/AAiD9GORa9ScU6FdUnN91xbPM=" + "hash": "/FhLcBQfOhSXzmD/gzCDd1UxHHB4HvuTbKsylC9l9Iw=" } }, "is_incremental": false, @@ -2790,7 +2790,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Scrolling.html", - "hash": "FXP9oBpY/IL9lx0zKcRQnU2ugsjuXFZasH+89QFbyoA=" + "hash": "diAcbIyK1TGOdV+5di/qW20vZ8T6X+6hHj6GpAMSqdY=" } }, "is_incremental": false, @@ -2802,7 +2802,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SendKeys.html", - "hash": "+mmiEM76DQFPY9vUkgRVYgm1IsitCiILybTGQYaYdak=" + "hash": "WFiF2kAlQwHkFHKlCgaAWypxhxLctEO2xP70PU8bshw=" } }, "is_incremental": false, @@ -2814,7 +2814,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.MainApp.html", - "hash": "A6asBJK1M4Z5kgn3NCGFq6RfdYEtWTrsm+KnQdKzLjc=" + "hash": "DVzA7VCcomJ1NsgqAspoHNqXAUrnr912gsZJ+DUUSiw=" } }, "is_incremental": false, @@ -2826,7 +2826,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.StagingUIController.html", - "hash": "PVIgr1/cmTARgxkAvApIAbLx30tmZqa86b3R0lzv7PE=" + "hash": "hxXbeUi8i4xoiOww/Q5Tn/QBgpzFDh0es64NV1AavCM=" } }, "is_incremental": false, @@ -2838,7 +2838,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SingleBackgroundWorker.html", - "hash": "643N3e2swQeIjxuWz/qmjxzzGZCs5teLhJVD1VAX+as=" + "hash": "zLsA9SyT+HMj2j/EEhAyUP/alyi/8R7eIgTSPdfN1Zw=" } }, "is_incremental": false, @@ -2850,7 +2850,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.SyntaxHighlighting.html", - "hash": "KhqAuFlAZ6wertHJv+FSHreBmB7CehJQeRcmyr1LbTI=" + "hash": "L9AGFLcny8PNkno5en82ybMQf6mRir9JG58S7NvlDN4=" } }, "is_incremental": false, @@ -2862,7 +2862,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TabViewExample.html", - "hash": "H1EO4esf70L3wxLarCkcOJqI+PZ3WyZlDb/su1Z+bp0=" + "hash": "RdWdiQFjcG2/OYu5ngCIT93nRpl2vV7yOVYmcpKtT24=" } }, "is_incremental": false, @@ -2874,7 +2874,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TableEditor.html", - "hash": "HU+rOZ9KgSDkfL2PKBg99EsB1U1In+B/s2JPWJbtUn0=" + "hash": "+O8TsOrXcRfrfV4UQpBh07+SRzLEeDQQQqGFGC4oajM=" } }, "is_incremental": false, @@ -2886,7 +2886,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Text.html", - "hash": "Fin7NFrGbnWsiQ6kvt2ss6Nt9dsk5HAgp6HsIOo8YjY=" + "hash": "YVP8NWoE6+JB4a3wTXwG2NskPZK+WZpOsM3RMWeOoq4=" } }, "is_incremental": false, @@ -2898,7 +2898,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextAlignments.html", - "hash": "mcRrUkknTfb7JuN7M7AP+Lb+fXtfUpPdxFaOaE58zIo=" + "hash": "75Jis5Gvb+Lr60aLiiypGjdBWXfcxuIFSPEXHA0wN0M=" } }, "is_incremental": false, @@ -2910,7 +2910,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextAlignmentsAndDirections.html", - "hash": "S0A7ECRvU56ySZuXtLnnW4Rw47CZ3wkw56pJubEZ0yM=" + "hash": "08g2ngcejw4ZD6XN+/pmiZO59pT4ElFRFZ6e6cEUIeU=" } }, "is_incremental": false, @@ -2922,7 +2922,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextFormatterDemo.html", - "hash": "S4ruWSF7rWTWigZv58J/67mHZqCrN1G7fy3Wg9UObD4=" + "hash": "Fz/ORQX1RCU5vmyn+T6vEzeUVHmDxsGhPnTYYVvWPM4=" } }, "is_incremental": false, @@ -2934,7 +2934,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TextViewAutocompletePopup.html", - "hash": "Ged8ZDSmQpah4xFqpZhE0pLiD2HQYQkE9LUPbIsoBns=" + "hash": "mw12JjH+Kymwp8VuRfiR3OXPrCjtwfcyMiOYualZ8lE=" } }, "is_incremental": false, @@ -2946,7 +2946,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Threading.html", - "hash": "ZKpyIYsTUpAjujJNJT1jmta696EPZwWwoLuHTLjbTnE=" + "hash": "8UvMJz4BNmhwKzSs2MUK3uIa01EUVqm/pWndyRQjtJg=" } }, "is_incremental": false, @@ -2958,7 +2958,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TimeAndDate.html", - "hash": "bBv7CLM2hQeWx/3oc/gYtNb3FnQ4dKQExLFkllu5wr8=" + "hash": "pBL/UxEq+tmyltFB/m16ps3ENqY322dMaQc0sdWSdHc=" } }, "is_incremental": false, @@ -2970,7 +2970,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TreeUseCases.html", - "hash": "JYmCyYqh9vnjgmeKRYIcTJYbXo6gTrmangCjA5lADcU=" + "hash": "t+1Yg0OvXdm0F2H7miY3XWpkJA0Of3fWneAGCIHeGy8=" } }, "is_incremental": false, @@ -2982,7 +2982,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.TreeViewFileSystem.html", - "hash": "o49L5KY4uuNUy9F0Qnuhldbli5W4tE4XeigsdTZaYEI=" + "hash": "s+pSXZoUWFH4sODtQTGMRc+F1NI3EU3ADK4P6WLf0lk=" } }, "is_incremental": false, @@ -2994,7 +2994,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.UnicodeInMenu.html", - "hash": "sTCmyJfyTyENFH3L5MnfjfSjqH9RGfYIeA8o6LidgYI=" + "hash": "CRe2M+BXNQzB/FaArsHcUBoyXLfUllbepvHiL6neGek=" } }, "is_incremental": false, @@ -3006,7 +3006,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.WindowsAndFrameViews.html", - "hash": "JduOI8ApGX1KcfnOuAH5hbBUCaTCpd4pEB7semTagjg=" + "hash": "gIi8XioadAjp16vyrTVSghMDWj27NordMDJCJ9Bcq0k=" } }, "is_incremental": false, @@ -3018,7 +3018,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.WizardAsView.html", - "hash": "jcRiFZjKu9d2Y15WgKtciItlh8f1L8lzVZ0uz/cHRdI=" + "hash": "j6VldsRspgnBMU92x2VvCVGiH3Hpdpd78CCGlwadMxo=" } }, "is_incremental": false, @@ -3030,7 +3030,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.Scenarios.Wizards.html", - "hash": "+pyRCB9ac6wDUfHXCcgskXUgINDpNKOASGu2trb52GQ=" + "hash": "s7Am4vbODhFyOcrNVfBoHGDvSCNWyZI/NYantJroUIw=" } }, "is_incremental": false, @@ -3054,7 +3054,7 @@ "output": { ".html": { "relative_path": "api/UICatalog/UICatalog.UICatalogApp.html", - "hash": "+Q8D6IjblwWbSef2+Xmbvq2F2R+zaDezlnz9Jf8mbLU=" + "hash": "eox01NzEbOQWKirzQHGzAxLB26c9PPmJMjLI6CszjIA=" } }, "is_incremental": false, diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index 4dc1259076..5558aeb476 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -2478,6 +2478,12 @@ references: commentId: M:Terminal.Gui.ComboBox.#ctor(NStack.ustring) fullName: Terminal.Gui.ComboBox.ComboBox(NStack.ustring) nameWithType: ComboBox.ComboBox(ustring) +- uid: Terminal.Gui.ComboBox.#ctor(System.Collections.IList) + name: ComboBox(IList) + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox__ctor_System_Collections_IList_ + commentId: M:Terminal.Gui.ComboBox.#ctor(System.Collections.IList) + fullName: Terminal.Gui.ComboBox.ComboBox(System.Collections.IList) + nameWithType: ComboBox.ComboBox(IList) - uid: Terminal.Gui.ComboBox.#ctor(Terminal.Gui.Rect,System.Collections.IList) name: ComboBox(Rect, IList) href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox__ctor_Terminal_Gui_Rect_System_Collections_IList_ @@ -2504,6 +2510,12 @@ references: isSpec: "True" fullName: Terminal.Gui.ComboBox.Collapse nameWithType: ComboBox.Collapse +- uid: Terminal.Gui.ComboBox.Collapsed + name: Collapsed + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Collapsed + commentId: E:Terminal.Gui.ComboBox.Collapsed + fullName: Terminal.Gui.ComboBox.Collapsed + nameWithType: ComboBox.Collapsed - uid: Terminal.Gui.ComboBox.ColorScheme name: ColorScheme href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_ColorScheme @@ -2530,6 +2542,25 @@ references: isSpec: "True" fullName: Terminal.Gui.ComboBox.Expand nameWithType: ComboBox.Expand +- uid: Terminal.Gui.ComboBox.Expanded + name: Expanded + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Expanded + commentId: E:Terminal.Gui.ComboBox.Expanded + fullName: Terminal.Gui.ComboBox.Expanded + nameWithType: ComboBox.Expanded +- uid: Terminal.Gui.ComboBox.HideDropdownListOnClick + name: HideDropdownListOnClick + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_HideDropdownListOnClick + commentId: P:Terminal.Gui.ComboBox.HideDropdownListOnClick + fullName: Terminal.Gui.ComboBox.HideDropdownListOnClick + nameWithType: ComboBox.HideDropdownListOnClick +- uid: Terminal.Gui.ComboBox.HideDropdownListOnClick* + name: HideDropdownListOnClick + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_HideDropdownListOnClick_ + commentId: Overload:Terminal.Gui.ComboBox.HideDropdownListOnClick + isSpec: "True" + fullName: Terminal.Gui.ComboBox.HideDropdownListOnClick + nameWithType: ComboBox.HideDropdownListOnClick - uid: Terminal.Gui.ComboBox.IsShow name: IsShow href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_IsShow @@ -2556,6 +2587,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ComboBox.MouseEvent nameWithType: ComboBox.MouseEvent +- uid: Terminal.Gui.ComboBox.OnCollapsed + name: OnCollapsed() + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnCollapsed + commentId: M:Terminal.Gui.ComboBox.OnCollapsed + fullName: Terminal.Gui.ComboBox.OnCollapsed() + nameWithType: ComboBox.OnCollapsed() +- uid: Terminal.Gui.ComboBox.OnCollapsed* + name: OnCollapsed + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnCollapsed_ + commentId: Overload:Terminal.Gui.ComboBox.OnCollapsed + isSpec: "True" + fullName: Terminal.Gui.ComboBox.OnCollapsed + nameWithType: ComboBox.OnCollapsed - uid: Terminal.Gui.ComboBox.OnEnter(Terminal.Gui.View) name: OnEnter(View) href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnEnter_Terminal_Gui_View_ @@ -2569,6 +2613,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ComboBox.OnEnter nameWithType: ComboBox.OnEnter +- uid: Terminal.Gui.ComboBox.OnExpanded + name: OnExpanded() + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnExpanded + commentId: M:Terminal.Gui.ComboBox.OnExpanded + fullName: Terminal.Gui.ComboBox.OnExpanded() + nameWithType: ComboBox.OnExpanded() +- uid: Terminal.Gui.ComboBox.OnExpanded* + name: OnExpanded + href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnExpanded_ + commentId: Overload:Terminal.Gui.ComboBox.OnExpanded + isSpec: "True" + fullName: Terminal.Gui.ComboBox.OnExpanded + nameWithType: ComboBox.OnExpanded - uid: Terminal.Gui.ComboBox.OnLeave(Terminal.Gui.View) name: OnLeave(View) href: api/Terminal.Gui/Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_OnLeave_Terminal_Gui_View_ @@ -3288,6 +3345,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ConsoleDriver.CookMouse nameWithType: ConsoleDriver.CookMouse +- uid: Terminal.Gui.ConsoleDriver.CreateColors(System.Boolean) + name: CreateColors(Boolean) + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CreateColors_System_Boolean_ + commentId: M:Terminal.Gui.ConsoleDriver.CreateColors(System.Boolean) + fullName: Terminal.Gui.ConsoleDriver.CreateColors(System.Boolean) + nameWithType: ConsoleDriver.CreateColors(Boolean) +- uid: Terminal.Gui.ConsoleDriver.CreateColors* + name: CreateColors + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CreateColors_ + commentId: Overload:Terminal.Gui.ConsoleDriver.CreateColors + isSpec: "True" + fullName: Terminal.Gui.ConsoleDriver.CreateColors + nameWithType: ConsoleDriver.CreateColors - uid: Terminal.Gui.ConsoleDriver.DiagnosticFlags name: ConsoleDriver.DiagnosticFlags href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html @@ -3590,6 +3660,19 @@ references: isSpec: "True" fullName: Terminal.Gui.ConsoleDriver.MakeAttribute nameWithType: ConsoleDriver.MakeAttribute +- uid: Terminal.Gui.ConsoleDriver.MakeColor(Terminal.Gui.Color,Terminal.Gui.Color) + name: MakeColor(Color, Color) + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakeColor_Terminal_Gui_Color_Terminal_Gui_Color_ + commentId: M:Terminal.Gui.ConsoleDriver.MakeColor(Terminal.Gui.Color,Terminal.Gui.Color) + fullName: Terminal.Gui.ConsoleDriver.MakeColor(Terminal.Gui.Color, Terminal.Gui.Color) + nameWithType: ConsoleDriver.MakeColor(Color, Color) +- uid: Terminal.Gui.ConsoleDriver.MakeColor* + name: MakeColor + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakeColor_ + commentId: Overload:Terminal.Gui.ConsoleDriver.MakeColor + isSpec: "True" + fullName: Terminal.Gui.ConsoleDriver.MakeColor + nameWithType: ConsoleDriver.MakeColor - uid: Terminal.Gui.ConsoleDriver.MakePrintable(System.Rune) name: MakePrintable(Rune) href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakePrintable_System_Rune_ @@ -5828,6 +5911,19 @@ references: isSpec: "True" fullName: Terminal.Gui.FakeDriver.MakeAttribute nameWithType: FakeDriver.MakeAttribute +- uid: Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color,Terminal.Gui.Color) + name: MakeColor(Color, Color) + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_MakeColor_Terminal_Gui_Color_Terminal_Gui_Color_ + commentId: M:Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color,Terminal.Gui.Color) + fullName: Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color, Terminal.Gui.Color) + nameWithType: FakeDriver.MakeColor(Color, Color) +- uid: Terminal.Gui.FakeDriver.MakeColor* + name: MakeColor + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_MakeColor_ + commentId: Overload:Terminal.Gui.FakeDriver.MakeColor + isSpec: "True" + fullName: Terminal.Gui.FakeDriver.MakeColor + nameWithType: FakeDriver.MakeColor - uid: Terminal.Gui.FakeDriver.Move(System.Int32,System.Int32) name: Move(Int32, Int32) href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_Move_System_Int32_System_Int32_ @@ -17373,6 +17469,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextField.Frame nameWithType: TextField.Frame +- uid: Terminal.Gui.TextField.GetNormalColor + name: GetNormalColor() + href: api/Terminal.Gui/Terminal.Gui.TextField.html#Terminal_Gui_TextField_GetNormalColor + commentId: M:Terminal.Gui.TextField.GetNormalColor + fullName: Terminal.Gui.TextField.GetNormalColor() + nameWithType: TextField.GetNormalColor() +- uid: Terminal.Gui.TextField.GetNormalColor* + name: GetNormalColor + href: api/Terminal.Gui/Terminal.Gui.TextField.html#Terminal_Gui_TextField_GetNormalColor_ + commentId: Overload:Terminal.Gui.TextField.GetNormalColor + isSpec: "True" + fullName: Terminal.Gui.TextField.GetNormalColor + nameWithType: TextField.GetNormalColor - uid: Terminal.Gui.TextField.HasHistoryChanges name: HasHistoryChanges href: api/Terminal.Gui/Terminal.Gui.TextField.html#Terminal_Gui_TextField_HasHistoryChanges @@ -17819,12 +17928,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,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(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute,Terminal.Gui.Rect,System.Boolean) + name: Draw(Rect, Attribute, Attribute, Rect, Boolean) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Draw_Terminal_Gui_Rect_Terminal_Gui_Attribute_Terminal_Gui_Attribute_Terminal_Gui_Rect_System_Boolean_ + commentId: M:Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect,Terminal.Gui.Attribute,Terminal.Gui.Attribute,Terminal.Gui.Rect,System.Boolean) + fullName: Terminal.Gui.TextFormatter.Draw(Terminal.Gui.Rect, Terminal.Gui.Attribute, Terminal.Gui.Attribute, Terminal.Gui.Rect, System.Boolean) + nameWithType: TextFormatter.Draw(Rect, Attribute, Attribute, Rect, Boolean) - uid: Terminal.Gui.TextFormatter.Draw* name: Draw href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Draw_ @@ -18102,6 +18211,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.MaxWidth nameWithType: TextFormatter.MaxWidth +- uid: Terminal.Gui.TextFormatter.MaxWidthLine(NStack.ustring) + name: MaxWidthLine(ustring) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_MaxWidthLine_NStack_ustring_ + commentId: M:Terminal.Gui.TextFormatter.MaxWidthLine(NStack.ustring) + fullName: Terminal.Gui.TextFormatter.MaxWidthLine(NStack.ustring) + nameWithType: TextFormatter.MaxWidthLine(ustring) +- uid: Terminal.Gui.TextFormatter.MaxWidthLine* + name: MaxWidthLine + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_MaxWidthLine_ + commentId: Overload:Terminal.Gui.TextFormatter.MaxWidthLine + isSpec: "True" + fullName: Terminal.Gui.TextFormatter.MaxWidthLine + nameWithType: TextFormatter.MaxWidthLine - uid: Terminal.Gui.TextFormatter.NeedsFormat name: NeedsFormat href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_NeedsFormat @@ -18167,6 +18289,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.Size nameWithType: TextFormatter.Size +- uid: Terminal.Gui.TextFormatter.SplitNewLine(NStack.ustring) + name: SplitNewLine(ustring) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_SplitNewLine_NStack_ustring_ + commentId: M:Terminal.Gui.TextFormatter.SplitNewLine(NStack.ustring) + fullName: Terminal.Gui.TextFormatter.SplitNewLine(NStack.ustring) + nameWithType: TextFormatter.SplitNewLine(ustring) +- uid: Terminal.Gui.TextFormatter.SplitNewLine* + name: SplitNewLine + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_SplitNewLine_ + commentId: Overload:Terminal.Gui.TextFormatter.SplitNewLine + isSpec: "True" + fullName: Terminal.Gui.TextFormatter.SplitNewLine + nameWithType: TextFormatter.SplitNewLine - uid: Terminal.Gui.TextFormatter.Text name: Text href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Text @@ -18956,60 +19091,6 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.CloseFile nameWithType: TextView.CloseFile -- uid: Terminal.Gui.TextView.ColorNormal - name: ColorNormal() - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorNormal - commentId: M:Terminal.Gui.TextView.ColorNormal - fullName: Terminal.Gui.TextView.ColorNormal() - nameWithType: TextView.ColorNormal() -- uid: Terminal.Gui.TextView.ColorNormal(System.Collections.Generic.List{System.Rune},System.Int32) - name: ColorNormal(List, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorNormal_System_Collections_Generic_List_System_Rune__System_Int32_ - commentId: M:Terminal.Gui.TextView.ColorNormal(System.Collections.Generic.List{System.Rune},System.Int32) - name.vb: ColorNormal(List(Of Rune), Int32) - fullName: Terminal.Gui.TextView.ColorNormal(System.Collections.Generic.List, System.Int32) - fullName.vb: Terminal.Gui.TextView.ColorNormal(System.Collections.Generic.List(Of System.Rune), System.Int32) - nameWithType: TextView.ColorNormal(List, Int32) - nameWithType.vb: TextView.ColorNormal(List(Of Rune), Int32) -- uid: Terminal.Gui.TextView.ColorNormal* - name: ColorNormal - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorNormal_ - commentId: Overload:Terminal.Gui.TextView.ColorNormal - isSpec: "True" - fullName: Terminal.Gui.TextView.ColorNormal - nameWithType: TextView.ColorNormal -- uid: Terminal.Gui.TextView.ColorSelection(System.Collections.Generic.List{System.Rune},System.Int32) - name: ColorSelection(List, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorSelection_System_Collections_Generic_List_System_Rune__System_Int32_ - commentId: M:Terminal.Gui.TextView.ColorSelection(System.Collections.Generic.List{System.Rune},System.Int32) - name.vb: ColorSelection(List(Of Rune), Int32) - fullName: Terminal.Gui.TextView.ColorSelection(System.Collections.Generic.List, System.Int32) - fullName.vb: Terminal.Gui.TextView.ColorSelection(System.Collections.Generic.List(Of System.Rune), System.Int32) - nameWithType: TextView.ColorSelection(List, Int32) - nameWithType.vb: TextView.ColorSelection(List(Of Rune), Int32) -- uid: Terminal.Gui.TextView.ColorSelection* - name: ColorSelection - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorSelection_ - commentId: Overload:Terminal.Gui.TextView.ColorSelection - isSpec: "True" - fullName: Terminal.Gui.TextView.ColorSelection - nameWithType: TextView.ColorSelection -- uid: Terminal.Gui.TextView.ColorUsed(System.Collections.Generic.List{System.Rune},System.Int32) - name: ColorUsed(List, Int32) - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorUsed_System_Collections_Generic_List_System_Rune__System_Int32_ - commentId: M:Terminal.Gui.TextView.ColorUsed(System.Collections.Generic.List{System.Rune},System.Int32) - name.vb: ColorUsed(List(Of Rune), Int32) - fullName: Terminal.Gui.TextView.ColorUsed(System.Collections.Generic.List, System.Int32) - fullName.vb: Terminal.Gui.TextView.ColorUsed(System.Collections.Generic.List(Of System.Rune), System.Int32) - nameWithType: TextView.ColorUsed(List, Int32) - nameWithType.vb: TextView.ColorUsed(List(Of Rune), Int32) -- uid: Terminal.Gui.TextView.ColorUsed* - name: ColorUsed - href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ColorUsed_ - commentId: Overload:Terminal.Gui.TextView.ColorUsed - isSpec: "True" - fullName: Terminal.Gui.TextView.ColorUsed - nameWithType: TextView.ColorUsed - uid: Terminal.Gui.TextView.ContextMenu name: ContextMenu href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_ContextMenu @@ -19211,6 +19292,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.GetCurrentLine nameWithType: TextView.GetCurrentLine +- uid: Terminal.Gui.TextView.GetNormalColor + name: GetNormalColor() + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_GetNormalColor + commentId: M:Terminal.Gui.TextView.GetNormalColor + fullName: Terminal.Gui.TextView.GetNormalColor() + nameWithType: TextView.GetNormalColor() +- uid: Terminal.Gui.TextView.GetNormalColor* + name: GetNormalColor + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_GetNormalColor_ + commentId: Overload:Terminal.Gui.TextView.GetNormalColor + isSpec: "True" + fullName: Terminal.Gui.TextView.GetNormalColor + nameWithType: TextView.GetNormalColor - uid: Terminal.Gui.TextView.HasHistoryChanges name: HasHistoryChanges href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_HasHistoryChanges @@ -19406,6 +19500,22 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.OnLeave nameWithType: TextView.OnLeave +- uid: Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable{System.Int32},System.Nullable{System.Int32}) + name: OnUnwrappedCursorPosition(Nullable, Nullable) + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_OnUnwrappedCursorPosition_System_Nullable_System_Int32__System_Nullable_System_Int32__ + commentId: M:Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable{System.Int32},System.Nullable{System.Int32}) + name.vb: OnUnwrappedCursorPosition(Nullable(Of Int32), Nullable(Of Int32)) + fullName: Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable, System.Nullable) + fullName.vb: Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable(Of System.Int32), System.Nullable(Of System.Int32)) + nameWithType: TextView.OnUnwrappedCursorPosition(Nullable, Nullable) + nameWithType.vb: TextView.OnUnwrappedCursorPosition(Nullable(Of Int32), Nullable(Of Int32)) +- uid: Terminal.Gui.TextView.OnUnwrappedCursorPosition* + name: OnUnwrappedCursorPosition + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_OnUnwrappedCursorPosition_ + commentId: Overload:Terminal.Gui.TextView.OnUnwrappedCursorPosition + isSpec: "True" + fullName: Terminal.Gui.TextView.OnUnwrappedCursorPosition + nameWithType: TextView.OnUnwrappedCursorPosition - uid: Terminal.Gui.TextView.Paste name: Paste() href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_Paste @@ -19588,6 +19698,76 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.SelectionStartRow nameWithType: TextView.SelectionStartRow +- uid: Terminal.Gui.TextView.SetNormalColor + name: SetNormalColor() + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetNormalColor + commentId: M:Terminal.Gui.TextView.SetNormalColor + fullName: Terminal.Gui.TextView.SetNormalColor() + nameWithType: TextView.SetNormalColor() +- uid: Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List{System.Rune},System.Int32) + name: SetNormalColor(List, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetNormalColor_System_Collections_Generic_List_System_Rune__System_Int32_ + commentId: M:Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List{System.Rune},System.Int32) + name.vb: SetNormalColor(List(Of Rune), Int32) + fullName: Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List, System.Int32) + fullName.vb: Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List(Of System.Rune), System.Int32) + nameWithType: TextView.SetNormalColor(List, Int32) + nameWithType.vb: TextView.SetNormalColor(List(Of Rune), Int32) +- uid: Terminal.Gui.TextView.SetNormalColor* + name: SetNormalColor + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetNormalColor_ + commentId: Overload:Terminal.Gui.TextView.SetNormalColor + isSpec: "True" + fullName: Terminal.Gui.TextView.SetNormalColor + nameWithType: TextView.SetNormalColor +- uid: Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List{System.Rune},System.Int32) + name: SetReadOnlyColor(List, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetReadOnlyColor_System_Collections_Generic_List_System_Rune__System_Int32_ + commentId: M:Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List{System.Rune},System.Int32) + name.vb: SetReadOnlyColor(List(Of Rune), Int32) + fullName: Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List, System.Int32) + fullName.vb: Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List(Of System.Rune), System.Int32) + nameWithType: TextView.SetReadOnlyColor(List, Int32) + nameWithType.vb: TextView.SetReadOnlyColor(List(Of Rune), Int32) +- uid: Terminal.Gui.TextView.SetReadOnlyColor* + name: SetReadOnlyColor + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetReadOnlyColor_ + commentId: Overload:Terminal.Gui.TextView.SetReadOnlyColor + isSpec: "True" + fullName: Terminal.Gui.TextView.SetReadOnlyColor + nameWithType: TextView.SetReadOnlyColor +- uid: Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List{System.Rune},System.Int32) + name: SetSelectionColor(List, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetSelectionColor_System_Collections_Generic_List_System_Rune__System_Int32_ + commentId: M:Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List{System.Rune},System.Int32) + name.vb: SetSelectionColor(List(Of Rune), Int32) + fullName: Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List, System.Int32) + fullName.vb: Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List(Of System.Rune), System.Int32) + nameWithType: TextView.SetSelectionColor(List, Int32) + nameWithType.vb: TextView.SetSelectionColor(List(Of Rune), Int32) +- uid: Terminal.Gui.TextView.SetSelectionColor* + name: SetSelectionColor + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetSelectionColor_ + commentId: Overload:Terminal.Gui.TextView.SetSelectionColor + isSpec: "True" + fullName: Terminal.Gui.TextView.SetSelectionColor + nameWithType: TextView.SetSelectionColor +- uid: Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List{System.Rune},System.Int32) + name: SetUsedColor(List, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetUsedColor_System_Collections_Generic_List_System_Rune__System_Int32_ + commentId: M:Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List{System.Rune},System.Int32) + name.vb: SetUsedColor(List(Of Rune), Int32) + fullName: Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List, System.Int32) + fullName.vb: Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List(Of System.Rune), System.Int32) + nameWithType: TextView.SetUsedColor(List, Int32) + nameWithType.vb: TextView.SetUsedColor(List(Of Rune), Int32) +- uid: Terminal.Gui.TextView.SetUsedColor* + name: SetUsedColor + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_SetUsedColor_ + commentId: Overload:Terminal.Gui.TextView.SetUsedColor + isSpec: "True" + fullName: Terminal.Gui.TextView.SetUsedColor + nameWithType: TextView.SetUsedColor - uid: Terminal.Gui.TextView.TabWidth name: TabWidth href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_TabWidth @@ -19633,6 +19813,12 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.TopRow nameWithType: TextView.TopRow +- uid: Terminal.Gui.TextView.UnwrappedCursorPosition + name: UnwrappedCursorPosition + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_UnwrappedCursorPosition + commentId: E:Terminal.Gui.TextView.UnwrappedCursorPosition + fullName: Terminal.Gui.TextView.UnwrappedCursorPosition + nameWithType: TextView.UnwrappedCursorPosition - uid: Terminal.Gui.TextView.Used name: Used href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_Used @@ -22322,12 +22508,15 @@ references: commentId: E:Terminal.Gui.View.Added fullName: Terminal.Gui.View.Added nameWithType: View.Added -- uid: Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key,Terminal.Gui.Command) - name: AddKeyBinding(Key, Command) - href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_ - commentId: M:Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key,Terminal.Gui.Command) - fullName: Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key, Terminal.Gui.Command) - nameWithType: View.AddKeyBinding(Key, Command) +- uid: Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key,Terminal.Gui.Command[]) + name: AddKeyBinding(Key, Command[]) + href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___ + commentId: M:Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key,Terminal.Gui.Command[]) + name.vb: AddKeyBinding(Key, Command()) + fullName: Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key, Terminal.Gui.Command[]) + fullName.vb: Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key, Terminal.Gui.Command()) + nameWithType: View.AddKeyBinding(Key, Command[]) + nameWithType.vb: View.AddKeyBinding(Key, Command()) - uid: Terminal.Gui.View.AddKeyBinding* name: AddKeyBinding href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_ @@ -22464,12 +22653,15 @@ references: isSpec: "True" fullName: Terminal.Gui.View.Clear nameWithType: View.Clear -- uid: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command) - name: ClearKeybinding(Command) - href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_ - commentId: M:Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command) - fullName: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command) - nameWithType: View.ClearKeybinding(Command) +- uid: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command[]) + name: ClearKeybinding(Command[]) + href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___ + commentId: M:Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command[]) + name.vb: ClearKeybinding(Command()) + fullName: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command[]) + fullName.vb: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command()) + nameWithType: View.ClearKeybinding(Command[]) + nameWithType.vb: View.ClearKeybinding(Command()) - uid: Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Key) name: ClearKeybinding(Key) href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_ @@ -22902,12 +23094,15 @@ references: isSpec: "True" fullName: Terminal.Gui.View.GetHotKeySpecifierLength nameWithType: View.GetHotKeySpecifierLength -- uid: Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command) - name: GetKeyFromCommand(Command) - href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_ - commentId: M:Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command) - fullName: Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command) - nameWithType: View.GetKeyFromCommand(Command) +- uid: Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command[]) + name: GetKeyFromCommand(Command[]) + href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___ + commentId: M:Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command[]) + name.vb: GetKeyFromCommand(Command()) + fullName: Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command[]) + fullName.vb: Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command()) + nameWithType: View.GetKeyFromCommand(Command[]) + nameWithType.vb: View.GetKeyFromCommand(Command()) - uid: Terminal.Gui.View.GetKeyFromCommand* name: GetKeyFromCommand href: api/Terminal.Gui/Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_ @@ -29278,6 +29473,19 @@ references: isSpec: "True" fullName: Unix.Terminal.Curses.scrollok nameWithType: Curses.scrollok +- uid: Unix.Terminal.Curses.set_escdelay(System.Int32) + name: set_escdelay(Int32) + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_set_escdelay_System_Int32_ + commentId: M:Unix.Terminal.Curses.set_escdelay(System.Int32) + fullName: Unix.Terminal.Curses.set_escdelay(System.Int32) + nameWithType: Curses.set_escdelay(Int32) +- uid: Unix.Terminal.Curses.set_escdelay* + name: set_escdelay + href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_set_escdelay_ + commentId: Overload:Unix.Terminal.Curses.set_escdelay + isSpec: "True" + fullName: Unix.Terminal.Curses.set_escdelay + nameWithType: Curses.set_escdelay - uid: Unix.Terminal.Curses.setlocale(System.Int32,System.String) name: setlocale(Int32, String) href: api/Terminal.Gui/Unix.Terminal.Curses.html#Unix_Terminal_Curses_setlocale_System_Int32_System_String_