diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index be9171011..f7ceb6342 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to Terminal.Gui -We welcome contributions from the community. See [Issues](https://github.com/migueldeicaza/gui.cs/issues) for a list of open [bugs](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and [enhancements](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement). Contributors looking for something fun to work on should look at issues taged as: +We welcome contributions from the community. See [Issues](https://github.com/migueldeicaza/gui.cs/issues) for a list of open [bugs](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and [enhancements](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement). Contributors looking for something fun to work on should look at issues tagged as: - [good first issue](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) - [up for grabs](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Aup-for-grabs) @@ -14,27 +14,27 @@ We welcome contributions from the community. See [Issues](https://github.com/mig **Terminal.Gui**, as a UI framework, heavily influences how console graphical user interfaces (GUIs) work. We use the following [tenets](https://ceklog.kindel.com/2020/02/10/tenets/) to guide us: -*NOTE: Like all tenets, these are up for debate. If you disagree, have questions, or suggestions about these tenets and guideliens submit an Issue using the [design](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Adesign) tag.* +*NOTE: Like all tenets, these are up for debate. If you disagree, have questions, or suggestions about these tenets and guidelines submit an Issue using the [design](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Adesign) tag.* -1. **Honor What's Come Before**. The Mac and Windows OS's have well established GUI idioms that are mostly consistent. We adhere to these versus inventing new ways for users to do things. For example, **Terminal.Gui** adopts the `ctrl/command-c`, `ctrl/command-v`, and `ctrl/command-x` keyboard shortcuts for cut, copy, and paste versus defining new shortcuts. -2. **Consistency Matters**. Common UI idioms should be consistent across the GUI framework. For example, `ctrl/command-q` quits/exits all modal views. See [Issue #456](https://github.com/migueldeicaza/gui.cs/issues/456) as a counter example that should be fixed. -3. **Honor the OS, but Work Everywhere**. **Terminal.Gui** is cross-platform, but we support taking advantage of a platform's unique advantages. For example the Windows Console API is richer than the Unix API in terms of keyboard handling. Thus, in Windows pressing the `alt` key in a **Terminal.Gui** app will activate the `MenuBar`, but in Unix the user has to press the full hotkey (e.g. `alt-f`) or `F9`. -4. **Keyboard first, Mouse also**. Users use consoles primarily with the keyboard; **Terminal.Gui** is optimized for getting stuff done without using the mouse. However, as a GUI framework, the mouse is essential, thus we strive to ensure that everything also works via the mouse. +1. **Honor What's Come Before**. The Mac and Windows OS's have well-established GUI idioms that are mostly consistent. We adhere to these versus inventing new ways for users to do things. For example, **Terminal.Gui** adopts the `ctrl/command-c`, `ctrl/command-v`, and `ctrl/command-x` keyboard shortcuts for cut, copy, and paste versus defining new shortcuts. +2. **Consistency Matters**. Common UI idioms should be consistent across the GUI framework. For example, `ctrl/command-q` quits/exits all modal views. See [Issue #456](https://github.com/migueldeicaza/gui.cs/issues/456) as a counter-example that should be fixed. +3. **Honor the OS, but Work Everywhere**. **Terminal.Gui** is cross-platform, but we support taking advantage of a platform's unique advantages. For example, the Windows Console API is richer than the Unix API in terms of keyboard handling. Thus, in Windows pressing the `alt` key in a **Terminal.Gui** app will activate the `MenuBar`, but in Unix, the user has to press the full hotkey (e.g. `alt-f`) or `F9`. +4. **Keyboard first, Mouse also**. Users use consoles primarily with the keyboard; **Terminal.Gui** is optimized for getting stuff done without using the Mouse. However, as a GUI framework, the Mouse is essential thus we strive to ensure that everything also works via the Mouse. ## Public API Tenets & Guidelines -**Terminal.Gui** provides an API that is used by many. As the project evolves contributors should follow these [tenets](https://ceklog.kindel.com/2020/02/10/tenets/) to ensure consistency and backwards compatabiltiy. +**Terminal.Gui** provides an API that is used by many. As the project evolves, contributors should follow these [tenets](https://ceklog.kindel.com/2020/02/10/tenets/) to ensure Consistency and backward compatibility. -*NOTE: Like all tenets, these are up for debate. If you disagree, have questions, or suggestions about these tenets and guideliens submit an Issue using the [design](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Adesign) tag.* +*NOTE: Like all tenets, these are up for debate. If you disagree, have questions, or suggestions about these tenets and guidelines submit an Issue using the [design](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Adesign) tag.* 1. **Stand on the shoulders of giants.** Follow the [Microsoft .NET Framework Design Guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/) where appropriate. -2. **Don't Break Existing Stuff.** Avoid breaking changes to user behavior or the public API; instead, figure out how to implement new functionality in a parallel way. If a breaking change can't be avoided, follow the guidelines below. +2. **Don't Break Existing Stuff.** Avoid breaking changes to user behavior or the public API; instead, figure out how to implement new functionality in a similar way. If a breaking change can't be avoided, follow the guidelines below. 3. **Fail-fast.** Fail-fast makes bugs and failures appear sooner, leading to a higher-quality framework and API. -4. **Standards Reduce Complexity**. We strive to adopt standard API idoms because doing so reduces complexity for users of the API. For example, see Tenet #1 above. A counter example is [Issue #447](https://github.com/migueldeicaza/gui.cs/issues/447). +4. **Standards Reduce Complexity**. We strive to adopt standard API idoms because doing so reduces complexity for users of the API. For example, see Tenet #1 above. A counterexample is [Issue #447](https://github.com/migueldeicaza/gui.cs/issues/447). ### Include API Documentation -Great care has been provided thus far in ensuring **Terminal.Gui** has great [API Documentation](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.html). Contributors have a responsibility for continuously improving the API Documentation. +Great care has been provided thus far in ensuring **Terminal.Gui** has great [API Documentation](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.html). Contributors have the responsibility of continuously improving the API Documentation. - All public APIs must have clear, concise, and complete documentation in the form of [XML Documentation](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/). - Keep the `` terse. @@ -45,7 +45,7 @@ Great care has been provided thus far in ensuring **Terminal.Gui** has great [AP ### Defining Events -The [Microsoft .NET Framework Design Guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/) provides these guideliens for defining events: +The [Microsoft .NET Framework Design Guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/) provides these guidelines for defining events: > Events always refer to some action, either one that is happening or one that has occurred. Therefore, as with methods, events are named with verbs, and verb tense is used to indicate the time when the event is raised. > @@ -76,7 +76,7 @@ See also: https://www.codeproject.com/Articles/20550/C-Event-Implementation-Fund ### Defining new `View` classes -- Support parameterless constructors (see [Issue 102](Parameterless constructors #102)). Do not require callers to use a parametrized constructor except when forcing `Absolute Layout`). +- Support parameterless constructors (see [Issue 102](Parameterless constructors #102)). Do not require callers to use a parameterized constructor except when forcing `Absolute Layout`). - Avoid doing initialization via constructors. Instead use a property so consumers can use object initialization (e.g. `var foo = new Foo() { a = b };`). - Ensure the `UICatalog` demo for the new class illustrates both `Absolutle Layout` and `Computed Layout`. @@ -85,10 +85,37 @@ See also: https://www.codeproject.com/Articles/20550/C-Event-Implementation-Fund - Tag all pull requests that cause breaking changes to user behavior or the public API with the [breaking-change](https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+label%3Abreaking-change) tag. This will help project maintainers track and document these. - Add a `` to the XML Documentation to the code describing the breaking change. These will get picked up in the [API Documentation](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.html). -## Examples & Tests +## Unit Tests -**Terminal.Gui** has an automated unit or regression test suite. See the [Testing wiki](https://github.com/migueldeicaza/gui.cs/wiki/Testing) +PRs should never cause code coverage to go down. Ideally, every PR will get the project closer to 100%. PRs that include new functionality (e.g. a new control) should have at least 70% code coverage for the new functionality. -In addition [UI Catalog](https://github.com/migueldeicaza/gui.cs/tree/master/UICatalog) is a great sample app for manual testing. +**Terminal.Gui** has an automated unit or regression test suite. See the [Testing wiki](https://github.com/migueldeicaza/gui.cs/wiki/Testing). + +We analyze unit tests and code coverage on each PR push. + +The code coverage of the latest released build (on NuGet) is shown as a badge at the top of `README.md`. Here as well: + +![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27/raw/code-coverage.json) + +The project uses Fine Code Coverage to allow easy access to code coverage info on a per-component basis. + +Use the following command to generate the same CC info that the Publish Github Action uses to publish the results to the badge: + +``` +dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings +``` + +Then open up the resulting `coverage.opencover.xml` file and you'll see the `sequenceCoverage` value: + +```xml + + + + +``` + +## Sample Code + +[UI Catalog](https://github.com/migueldeicaza/gui.cs/tree/master/UICatalog) is a great sample app for manual testing. When adding new functionality, fixing bugs, or changing things, please either add a new `Scenario` to **UICatalog** or update an existing `Scenario` to fully illustrate your work and provide a test-case. diff --git a/README.md b/README.md index 0fcab0e76..926fb30ab 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ A toolkit for building console GUI apps for .NET, .NET Core, and Mono that works * [OpenDialog](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.OpenDialog.html) * [SaveDialog](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.SaveDialog.html) * [FrameView](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.FrameView.html) +* [GraphView](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.GraphyView.html) * [Hex viewer/editor](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.HexView.html) * [Label](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.Label.html) * [ListView](https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.ListView.html) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index e09bb356b..7b75ecf02 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -1,4 +1,4 @@ - + @@ -13,10 +13,10 @@ all runtime; build; native; contentfiles; analyzers - + - + @@ -40,6 +40,16 @@ Terminal.Gui is a framework for creating console user interfaces + v1.0.0 + * Version 1.0 Release!!! - Thank you to @migueldeicaza, @tig, @bdisp, @tznind, @jmprricone, and many more! + + v1.0.0-rc.13 + * NEW CONTROL: GraphView - thanks @tznind! + * Fixes #1256 - OutConsoleGridView no longer works - ENTER does not work + + v1.0.0-rc.12 + * Fixes #1257 - ListView's ProcessKey should return false if no OpenSelectedItem handler is defined + v1.0.0-rc.10 * Fixes #931. Fixed the limit 25 lines issue * Fixes #1251. Fixes TextValidateProvider exception on the All View Tester scenario. @@ -49,7 +59,7 @@ * Fixes #1241. Added SendKeys feature to the ConsoleDriver. * Fixes #418 and #931. Unix terminal hangs after exit. - v1.0.0-rc.2 + v1.0.0-rc.7 * Added TextValidateField - Enables masked and validated text input. Thanks @jmperricone! * Refactored TreeView and TabView to reduce api surface area * Added code coverage reporting diff --git a/docfx/sample.gif b/docfx/sample.gif index b8ab3ae0f..06d84aba0 100644 Binary files a/docfx/sample.gif and b/docfx/sample.gif differ diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Application.html b/docs/api/Terminal.Gui/Terminal.Gui.Application.html index 834ac33d3..b32ea9c33 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Application.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Application.html @@ -759,6 +759,7 @@ Runs the application by calling Declaration
public static void Run<T>(Func<Exception, bool> errorHandler = null)
+
     where T : Toplevel, new()
Parameters
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Button.html b/docs/api/Terminal.Gui/Terminal.Gui.Button.html index e9040b236..2705d219e 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Button.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Button.html @@ -659,9 +659,7 @@ The text displayed by this
Butto

MouseEvent(MouseEvent)

-
-Method invoked when a mouse event is generated -
+
Declaration
@@ -695,7 +693,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -705,9 +703,7 @@ Method invoked when a mouse event is generated

OnEnter(View)

-
-Method invoked when a view gets focus. -
+
Declaration
@@ -726,7 +722,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -741,7 +737,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -751,9 +747,7 @@ Method invoked when a view gets focus.

PositionCursor()

-
-Positions the cursor in the right position based on the currently focused view in the chain. -
+
Declaration
@@ -765,12 +759,7 @@ Positions the cursor in the right position based on the currently focused view i

ProcessColdKey(KeyEvent)

-
-This method can be overwritten by views that -want to provide accelerator functionality -(Alt-key for example), but without -interefering with normal ProcessKey behavior. -
+
Declaration
@@ -810,31 +799,11 @@ interefering with normal ProcessKey behavior.
Overrides
-
Remarks
-
-

- After keys are sent to the subviews on the - current view, all the view are - processed and the key is passed to the views - to allow some of them to process the keystroke - as a cold-key.

-

- This functionality is used, for example, by - default buttons to act on the enter key. - Processing this as a hot-key would prevent - non-default buttons from consuming the enter - keypress when they have the focus. -

-

ProcessHotKey(KeyEvent)

-
-This method can be overwritten by view that -want to provide accelerator functionality -(Alt-key for example). -
+
Declaration
@@ -874,31 +843,11 @@ want to provide accelerator functionality
Overrides
-
Remarks
-
-

- Before keys are sent to the subview on the - current view, all the views are - processed and the key is passed to the widgets - to allow some of them to process the keystroke - as a hot-key.

-

- For example, if you implement a button that - has a hotkey ok "o", you would catch the - combination Alt-o here. If the event is - caught, you must return true to stop the - keystroke from being dispatched to other - views. -

-

ProcessKey(KeyEvent)

-
-If the view is focused, gives the view a -chance to process the keystroke. -
+
Declaration
@@ -938,25 +887,6 @@ chance to process the keystroke.
Overrides
-
Remarks
-
-

- Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

-

- The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

-

Events

diff --git a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html index 6ad30cd03..d765312cc 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.CheckBox.html @@ -624,9 +624,7 @@ The text displayed by this Che

MouseEvent(MouseEvent)

-
-Method invoked when a mouse event is generated -
+
Declaration
@@ -660,7 +658,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -670,9 +668,7 @@ Method invoked when a mouse event is generated

OnEnter(View)

-
-Method invoked when a view gets focus. -
+
Declaration
@@ -691,7 +687,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -706,7 +702,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -745,9 +741,7 @@ Called when the

PositionCursor()

-
-Positions the cursor in the right position based on the currently focused view in the chain. -
+
Declaration
@@ -759,11 +753,7 @@ Positions the cursor in the right position based on the currently focused view i

ProcessHotKey(KeyEvent)

-
-This method can be overwritten by view that -want to provide accelerator functionality -(Alt-key for example). -
+
Declaration
@@ -803,31 +793,11 @@ want to provide accelerator functionality
Overrides
-
Remarks
-
-

- Before keys are sent to the subview on the - current view, all the views are - processed and the key is passed to the widgets - to allow some of them to process the keystroke - as a hot-key.

-

- For example, if you implement a button that - has a hotkey ok "o", you would catch the - combination Alt-o here. If the event is - caught, you must return true to stop the - keystroke from being dispatched to other - views. -

-

ProcessKey(KeyEvent)

-
-If the view is focused, gives the view a -chance to process the keystroke. -
+
Declaration
@@ -867,32 +837,11 @@ chance to process the keystroke.
Overrides
-
Remarks
-
-

- Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

-

- The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

-

Redraw(Rect)

-
-Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
+
Declaration
@@ -911,26 +860,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
Overrides
-
Remarks
-
-

- Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

-

- Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

-

- Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

-

Events

diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html index f7d98e05d..4dcd55458 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ComboBox.html @@ -616,9 +616,7 @@ The currently selected list item

MouseEvent(MouseEvent)

-
-Method invoked when a mouse event is generated -
+
Declaration
@@ -652,7 +650,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -662,9 +660,7 @@ Method invoked when a mouse event is generated

OnEnter(View)

-
-Method invoked when a view gets focus. -
+
Declaration
@@ -683,7 +679,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -698,7 +694,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -708,9 +704,7 @@ Method invoked when a view gets focus.

OnLeave(View)

-
-Method invoked when a view loses focus. -
+
Declaration
@@ -729,7 +723,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -744,7 +738,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -808,10 +802,7 @@ Invokes the SelectedChanged event if it is defined.

ProcessKey(KeyEvent)

-
-If the view is focused, gives the view a -chance to process the keystroke. -
+
Declaration
@@ -851,32 +842,11 @@ chance to process the keystroke.
Overrides
-
Remarks
-
-

- Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

-

- The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

-

Redraw(Rect)

-
-Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
+
Declaration
@@ -895,26 +865,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
Overrides
-
Remarks
-
-

- Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

-

- Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

-

- Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

-
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html index 181902adf..33383c1bd 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html @@ -1554,6 +1554,55 @@ Updates the screen to reflect all the changes that have been done to the display
+ +

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescription
System.CharkeyCharThe character key.
System.ConsoleKeykeyThe key.
System.BooleanshiftIf shift key is sending.
System.BooleanaltIf alt key is sending.
System.BooleancontrolIf control key is sending.
+ +

SetAttribute(Attribute)

diff --git a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html index 81ebb6e4b..1430c3e89 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.DateField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.DateField.html @@ -638,9 +638,7 @@ Get or set the date format for the widget.

MouseEvent(MouseEvent)

-
-Method invoked when a mouse event is generated -
+
Declaration
@@ -674,7 +672,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -713,9 +711,7 @@ Event firing method for the

ProcessKey(KeyEvent)

-
-Processes key presses for the TextField. -
+
Declaration
@@ -755,11 +751,6 @@ Processes key presses for the
Overrides
-
Remarks
-
-The TextField control responds to the following keys: -
KeysFunction
Delete, BackspaceDeletes the character before cursor.
-

Events

diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html index 87d5d17bd..244155c4c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Dialog.html @@ -629,10 +629,7 @@ Adds a Button to the

ProcessKey(KeyEvent)

-
-If the view is focused, gives the view a -chance to process the keystroke. -
+
Declaration
@@ -672,25 +669,6 @@ chance to process the keystroke.
Overrides
-
Remarks
-
-

- Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

-

- The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

-

Implements

System.IDisposable diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html index 1db3ea855..55d5f10a1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FakeDriver.html @@ -268,6 +268,33 @@ Implements a mock ConsoleDriver for unit testing + +

Contents

+
+Assists with testing, the format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag +
+
+
Declaration
+
+
public int[,, ] Contents { get; }
+
+
Property Value
+ + + + + + + + + + + + + +
TypeDescription
System.Int32[,,]
+ +

HeightAsBuffer

@@ -435,9 +462,7 @@ Implements a mock ConsoleDriver for unit testing

EnsureCursorVisibility()

-
-Ensure the cursor visibility -
+
Declaration
@@ -454,7 +479,7 @@ Ensure the cursor visibility System.Boolean - true upon success + @@ -491,9 +516,7 @@ Ensure the cursor visibility

GetCursorVisibility(out CursorVisibility)

-
-Retreive the cursor caret visibility -
+
Declaration
@@ -512,7 +535,7 @@ Retreive the cursor caret visibility CursorVisibility visibility - The current CursorVisibility + @@ -527,7 +550,7 @@ Retreive the cursor caret visibility System.Boolean - true upon success + @@ -708,6 +731,55 @@ Retreive the cursor caret visibility + +

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

+
+
+
Declaration
+
+
public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)
+
+
Parameters
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescription
System.CharkeyChar
System.ConsoleKeykey
System.Booleanshift
System.Booleanalt
System.Booleancontrol
+
Overrides
+ + +

SetAttribute(Attribute)

@@ -807,9 +879,7 @@ Retreive the cursor caret visibility

SetCursorVisibility(CursorVisibility)

-
-Change the cursor caret visibility -
+
Declaration
@@ -828,7 +898,7 @@ Change the cursor caret visibility CursorVisibility visibility - The wished CursorVisibility + @@ -843,7 +913,7 @@ Change the cursor caret visibility System.Boolean - true upon success + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html index abaf6d256..068ebabb1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FileDialog.html @@ -928,10 +928,7 @@ Gets or sets the prompt label for the

WillPresent()

-
-Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func<Exception, Boolean>) after -the views have been laid out, and before the views are drawn for the first time. -
+
Declaration
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html index 2845970c5..9a37dbb51 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.FrameView.html @@ -662,9 +662,7 @@ Add the specified View to this

OnEnter(View)

-
-Method invoked when a view gets focus. -
+
Declaration
@@ -683,7 +681,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -698,7 +696,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -708,9 +706,7 @@ Method invoked when a view gets focus.

Redraw(Rect)

-
-Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
+
Declaration
@@ -729,26 +725,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
Overrides
-
Remarks
-
-

- Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

-

- Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

-

- Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

-
diff --git a/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html new file mode 100644 index 000000000..e5c0334b3 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.GraphView.html @@ -0,0 +1,1029 @@ + + + + + + + + Class GraphView + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
Search Results for
+
+

+
+
    +
    +
    + + + +
    + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html new file mode 100644 index 000000000..538ebd13e --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html @@ -0,0 +1,539 @@ + + + + + + + + Class Axis + + + + + + + + + + + + + + + + +
    +
    + + + + +
    +
    + +
    +
    Search Results for
    +
    +

    +
    +
      +
      +
      + + + +
      + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html new file mode 100644 index 000000000..831e3fcad --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html @@ -0,0 +1,288 @@ + + + + + + + + Class AxisIncrementToRender + + + + + + + + + + + + + + + + +
      +
      + + + + +
      +
      + +
      +
      Search Results for
      +
      +

      +
      +
        +
        +
        + + + +
        + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html new file mode 100644 index 000000000..bf7872a7d --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html @@ -0,0 +1,288 @@ + + + + + + + + Class BarSeries.Bar + + + + + + + + + + + + + + + + +
        +
        + + + + +
        +
        + +
        +
        Search Results for
        +
        +

        +
        +
          +
          +
          + + + +
          + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html new file mode 100644 index 000000000..6765acf8f --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html @@ -0,0 +1,468 @@ + + + + + + + + Class BarSeries + + + + + + + + + + + + + + + + +
          +
          + + + + +
          +
          + +
          +
          Search Results for
          +
          +

          +
          +
            +
            +
            + + + +
            + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html new file mode 100644 index 000000000..b875b820d --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html @@ -0,0 +1,317 @@ + + + + + + + + Class GraphCellToRender + + + + + + + + + + + + + + + + +
            +
            + + + + +
            +
            + +
            +
            Search Results for
            +
            +

            +
            +
              +
              +
              + + + +
              + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html new file mode 100644 index 000000000..b347a9406 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html @@ -0,0 +1,394 @@ + + + + + + + + Class HorizontalAxis + + + + + + + + + + + + + + + + +
              +
              + + + + +
              +
              + +
              +
              Search Results for
              +
              +

              +
              +
                +
                +
                + + + +
                + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html new file mode 100644 index 000000000..53582262b --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html @@ -0,0 +1,204 @@ + + + + + + + + Interface IAnnotation + + + + + + + + + + + + + + + + +
                +
                + + + + +
                +
                + +
                +
                Search Results for
                +
                +

                +
                +
                  +
                  +
                  + + + +
                  + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html new file mode 100644 index 000000000..e3319f885 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html @@ -0,0 +1,174 @@ + + + + + + + + Interface ISeries + + + + + + + + + + + + + + + + +
                  +
                  + + + + +
                  +
                  + +
                  +
                  Search Results for
                  +
                  +

                  +
                  +
                    +
                    +
                    + + + +
                    + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html new file mode 100644 index 000000000..a33b3a730 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html @@ -0,0 +1,164 @@ + + + + + + + + Delegate LabelGetterDelegate + + + + + + + + + + + + + + + + +
                    +
                    + + + + +
                    +
                    + +
                    +
                    Search Results for
                    +
                    +

                    +
                    +
                      +
                      +
                      + + + +
                      + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html new file mode 100644 index 000000000..700423b95 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html @@ -0,0 +1,354 @@ + + + + + + + + Class LegendAnnotation + + + + + + + + + + + + + + + + +
                      +
                      + + + + +
                      +
                      + +
                      +
                      Search Results for
                      +
                      +

                      +
                      +
                        +
                        +
                        + + + +
                        + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html new file mode 100644 index 000000000..285b8e74a --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html @@ -0,0 +1,354 @@ + + + + + + + + Class MultiBarSeries + + + + + + + + + + + + + + + + +
                        +
                        + + + + +
                        +
                        + +
                        +
                        Search Results for
                        +
                        +

                        +
                        +
                          +
                          +
                          + + + +
                          + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html new file mode 100644 index 000000000..a55bc380d --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html @@ -0,0 +1,156 @@ + + + + + + + + Enum Orientation + + + + + + + + + + + + + + + + +
                          +
                          + + + + +
                          +
                          + +
                          +
                          Search Results for
                          +
                          +

                          +
                          +
                            +
                            +
                            + + + +
                            + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html new file mode 100644 index 000000000..6667d3756 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html @@ -0,0 +1,253 @@ + + + + + + + + Class PathAnnotation.LineF + + + + + + + + + + + + + + + + +
                            +
                            + + + + +
                            +
                            + +
                            +
                            Search Results for
                            +
                            +

                            +
                            +
                              +
                              +
                              + + + +
                              + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html new file mode 100644 index 000000000..bb10958ef --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html @@ -0,0 +1,311 @@ + + + + + + + + Class PathAnnotation + + + + + + + + + + + + + + + + +
                              +
                              + + + + +
                              +
                              + +
                              +
                              Search Results for
                              +
                              +

                              +
                              +
                                +
                                +
                                + + + +
                                + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html new file mode 100644 index 000000000..78dbf507c --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html @@ -0,0 +1,268 @@ + + + + + + + + Class ScatterSeries + + + + + + + + + + + + + + + + +
                                +
                                + + + + +
                                +
                                + +
                                +
                                Search Results for
                                +
                                +

                                +
                                +
                                  +
                                  +
                                  + + + +
                                  + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html new file mode 100644 index 000000000..fd26e9d7a --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html @@ -0,0 +1,354 @@ + + + + + + + + Class TextAnnotation + + + + + + + + + + + + + + + + +
                                  +
                                  + + + + +
                                  +
                                  + +
                                  +
                                  Search Results for
                                  +
                                  +

                                  +
                                  +
                                    +
                                    +
                                    + + + +
                                    + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html new file mode 100644 index 000000000..f5a23129f --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html @@ -0,0 +1,395 @@ + + + + + + + + Class VerticalAxis + + + + + + + + + + + + + + + + +
                                    +
                                    + + + + +
                                    +
                                    + +
                                    +
                                    Search Results for
                                    +
                                    +

                                    +
                                    +
                                      +
                                      +
                                      + + + +
                                      + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html new file mode 100644 index 000000000..233a84a1c --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.Graphs.html @@ -0,0 +1,211 @@ + + + + + + + + Namespace Terminal.Gui.Graphs + + + + + + + + + + + + + + + + +
                                      +
                                      + + + + +
                                      +
                                      + +
                                      +
                                      Search Results for
                                      +
                                      +

                                      +
                                      +
                                        +
                                        +
                                        + + + +
                                        + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html index a12bbe095..1ff721cd0 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.HexView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.HexView.html @@ -611,9 +611,7 @@ Each Key indicates an offset where an edit was made and the Value is the changed

                                        Frame

                                        -
                                        -Gets or sets the frame for the view. The frame is relative to the view's container (SuperView). -
                                        +
                                        Declaration
                                        @@ -630,22 +628,12 @@ Gets or sets the frame for the view. The frame is relative to the view's co Rect - The frame. +
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Change the Frame when using the Absolute layout style to move or resize views. -

                                        -

                                        - Altering the Frame of a view will trigger the redrawing of the - view as well as the redrawing of the affected regions of the SuperView. -

                                        -
                                        @@ -692,9 +680,7 @@ contents of the

                                        PositionCursor()

                                        -
                                        -Positions the cursor in the right position based on the currently focused view in the chain. -
                                        +
                                        Declaration
                                        @@ -706,10 +692,7 @@ Positions the cursor in the right position based on the currently focused view i

                                        ProcessKey(KeyEvent)

                                        -
                                        -If the view is focused, gives the view a -chance to process the keystroke. -
                                        +
                                        Declaration
                                        @@ -728,7 +711,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -749,32 +732,11 @@ chance to process the keystroke.
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                        -

                                        - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                        -

                                        Redraw(Rect)

                                        -
                                        -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                        +
                                        Declaration
                                        @@ -793,26 +755,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                        -

                                        - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                        -

                                        - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                        -

                                        Implements

                                        System.IDisposable diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Label.html b/docs/api/Terminal.Gui/Terminal.Gui.Label.html index d7ddb8e45..2b5cd0fd4 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Label.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Label.html @@ -456,9 +456,7 @@ The Label view is functionali

                                        Label(ustring)

                                        -
                                        -Initializes a new instance of View using Computed layout. -
                                        +
                                        Declaration
                                        @@ -477,28 +475,15 @@ Initializes a new instance of View NStack.ustring text - text to initialize the Text property with. + -
                                        Remarks
                                        -
                                        -

                                        - The View will be created using Computed - coordinates with the given string. The initial size (Frame will be - adjusted to fit the contents of Text, including newlines ('\n') for multiple lines. -

                                        -

                                        - If Height is greater than one, word wrapping is provided. -

                                        -

                                        Label(Int32, Int32, ustring)

                                        -
                                        -Initializes a new instance of View using Absolute layout. -
                                        +
                                        Declaration
                                        @@ -517,39 +502,25 @@ Initializes a new instance of View System.Int32 x - column to locate the Label. + System.Int32 y - row to locate the Label. + NStack.ustring text - text to initialize the Text property with. + -
                                        Remarks
                                        -
                                        -

                                        - The View will be created at the given - coordinates with the given string. The size (Frame will be - adjusted to fit the contents of Text, including newlines ('\n') for multiple lines. -

                                        -

                                        - No line wrapping is provided. -

                                        -

                                        Label(Rect)

                                        -
                                        -Initializes a new instance of a Absolute View class with the absolute -dimensions specified in the frame parameter. -
                                        +
                                        Declaration
                                        @@ -568,22 +539,15 @@ dimensions specified in the frame parameter. Rect frame - The region covered by this view. + -
                                        Remarks
                                        -
                                        -This constructor initialize a View with a LayoutStyle of Absolute. Use View() to -initialize a View with LayoutStyle of Computed -

                                        Label(Rect, ustring)

                                        -
                                        -Initializes a new instance of View using Absolute layout. -
                                        +
                                        Declaration
                                        @@ -602,35 +566,22 @@ Initializes a new instance of View Rect rect - Location. + NStack.ustring text - text to initialize the Text property with. + -
                                        Remarks
                                        -
                                        -

                                        - The View will be created at the given - coordinates with the given string. The initial size (Frame will be - adjusted to fit the contents of Text, including newlines ('\n') for multiple lines. -

                                        -

                                        - If rect.Height is greater than one, word wrapping is provided. -

                                        -

                                        Methods

                                        OnEnter(View)

                                        -
                                        -Method invoked when a view gets focus. -
                                        +
                                        Declaration
                                        @@ -649,7 +600,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -664,7 +615,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html index 0c90de31b..3f9552f26 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ListView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ListView.html @@ -857,9 +857,7 @@ Marks an unmarked row.

                                        MouseEvent(MouseEvent)

                                        -
                                        -Method invoked when a mouse event is generated -
                                        +
                                        Declaration
                                        @@ -893,7 +891,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -1065,9 +1063,7 @@ Moves the selected item index to the previous row.

                                        OnEnter(View)

                                        -
                                        -Method invoked when a view gets focus. -
                                        +
                                        Declaration
                                        @@ -1086,7 +1082,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -1101,7 +1097,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -1111,9 +1107,7 @@ Method invoked when a view gets focus.

                                        OnLeave(View)

                                        -
                                        -Method invoked when a view loses focus. -
                                        +
                                        Declaration
                                        @@ -1132,7 +1126,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -1147,7 +1141,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -1211,9 +1205,7 @@ Invokes the SelectedChanged event if it is defined.

                                        PositionCursor()

                                        -
                                        -Positions the cursor in the right position based on the currently focused view in the chain. -
                                        +
                                        Declaration
                                        @@ -1225,10 +1217,7 @@ Positions the cursor in the right position based on the currently focused view i

                                        ProcessKey(KeyEvent)

                                        -
                                        -If the view is focused, gives the view a -chance to process the keystroke. -
                                        +
                                        Declaration
                                        @@ -1268,32 +1257,11 @@ chance to process the keystroke.
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                        -

                                        - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                        -

                                        Redraw(Rect)

                                        -
                                        -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                        +
                                        Declaration
                                        @@ -1312,26 +1280,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                        -

                                        - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                        -

                                        - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                        -
                                        diff --git a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html index 6eade823f..7a8d86d12 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.MenuBar.html @@ -619,9 +619,7 @@ Closes the current Menu programatically, if open.

                                        MouseEvent(MouseEvent)

                                        -
                                        -Method invoked when a mouse event is generated -
                                        +
                                        Declaration
                                        @@ -655,7 +653,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -665,9 +663,7 @@ Method invoked when a mouse event is generated

                                        OnEnter(View)

                                        -
                                        -Method invoked when a view gets focus. -
                                        +
                                        Declaration
                                        @@ -686,7 +682,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -701,7 +697,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -730,7 +726,7 @@ Method invoked when a view gets focus. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -774,7 +770,7 @@ Method invoked when a view gets focus. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -799,9 +795,7 @@ Method invoked when a view gets focus.

                                        OnLeave(View)

                                        -
                                        -Method invoked when a view loses focus. -
                                        +
                                        Declaration
                                        @@ -820,7 +814,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -835,7 +829,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -881,9 +875,7 @@ Opens the current Menu programatically.

                                        PositionCursor()

                                        -
                                        -Positions the cursor in the right position based on the currently focused view in the chain. -
                                        +
                                        Declaration
                                        @@ -895,12 +887,7 @@ Positions the cursor in the right position based on the currently focused view i

                                        ProcessColdKey(KeyEvent)

                                        -
                                        -This method can be overwritten by views that -want to provide accelerator functionality -(Alt-key for example), but without -interefering with normal ProcessKey behavior. -
                                        +
                                        Declaration
                                        @@ -940,31 +927,11 @@ interefering with normal ProcessKey behavior.
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - After keys are sent to the subviews on the - current view, all the view are - processed and the key is passed to the views - to allow some of them to process the keystroke - as a cold-key.

                                        -

                                        - This functionality is used, for example, by - default buttons to act on the enter key. - Processing this as a hot-key would prevent - non-default buttons from consuming the enter - keypress when they have the focus. -

                                        -

                                        ProcessHotKey(KeyEvent)

                                        -
                                        -This method can be overwritten by view that -want to provide accelerator functionality -(Alt-key for example). -
                                        +
                                        Declaration
                                        @@ -1004,31 +971,11 @@ want to provide accelerator functionality
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Before keys are sent to the subview on the - current view, all the views are - processed and the key is passed to the widgets - to allow some of them to process the keystroke - as a hot-key.

                                        -

                                        - For example, if you implement a button that - has a hotkey ok "o", you would catch the - combination Alt-o here. If the event is - caught, you must return true to stop the - keystroke from being dispatched to other - views. -

                                        -

                                        ProcessKey(KeyEvent)

                                        -
                                        -If the view is focused, gives the view a -chance to process the keystroke. -
                                        +
                                        Declaration
                                        @@ -1068,32 +1015,11 @@ chance to process the keystroke.
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                        -

                                        - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                        -

                                        Redraw(Rect)

                                        -
                                        -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                        +
                                        Declaration
                                        @@ -1112,26 +1038,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                        Overrides
                                        -
                                        Remarks
                                        -
                                        -

                                        - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                        -

                                        - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                        -

                                        - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                        -

                                        Events

                                        diff --git a/docs/api/Terminal.Gui/Terminal.Gui.PointF.html b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html new file mode 100644 index 000000000..39a1ff90e --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.PointF.html @@ -0,0 +1,950 @@ + + + + + + + + Struct PointF + + + + + + + + + + + + + + + + +
                                        +
                                        + + + + +
                                        +
                                        + +
                                        +
                                        Search Results for
                                        +
                                        +

                                        +
                                        +
                                          +
                                          +
                                          + + + +
                                          + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html index 2c1ed334f..f9221b020 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ProgressBar.html @@ -525,9 +525,7 @@ Gets or sets the ProgressBa

                                          OnEnter(View)

                                          -
                                          -Method invoked when a view gets focus. -
                                          +
                                          Declaration
                                          @@ -546,7 +544,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -561,7 +559,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -588,9 +586,7 @@ mode. If is in activity mode, the marker is moved.

                                          Redraw(Rect)

                                          -
                                          -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                          +
                                          Declaration
                                          @@ -615,20 +611,6 @@ Redraws this view and its subviews; only redraws the views that have been flagge
                                          Overrides
                                          -
                                          Remarks
                                          -
                                          -

                                          - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                          -

                                          - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                          -

                                          - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                          -

                                          Implements

                                          System.IDisposable diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html index 88638a5ea..469ef2234 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.RadioGroup.html @@ -672,9 +672,7 @@ The currently selected item from the list of radio labels

                                          MouseEvent(MouseEvent)

                                          -
                                          -Method invoked when a mouse event is generated -
                                          +
                                          Declaration
                                          @@ -708,7 +706,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -718,9 +716,7 @@ Method invoked when a mouse event is generated

                                          OnEnter(View)

                                          -
                                          -Method invoked when a view gets focus. -
                                          +
                                          Declaration
                                          @@ -739,7 +735,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -754,7 +750,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -798,9 +794,7 @@ Called whenever the current selected item changes. Invokes the

                                          PositionCursor()

                                          -
                                          -Positions the cursor in the right position based on the currently focused view in the chain. -
                                          +
                                          Declaration
                                          @@ -812,12 +806,7 @@ Positions the cursor in the right position based on the currently focused view i

                                          ProcessColdKey(KeyEvent)

                                          -
                                          -This method can be overwritten by views that -want to provide accelerator functionality -(Alt-key for example), but without -interefering with normal ProcessKey behavior. -
                                          +
                                          Declaration
                                          @@ -857,30 +846,11 @@ interefering with normal ProcessKey behavior.
                                          Overrides
                                          -
                                          Remarks
                                          -
                                          -

                                          - After keys are sent to the subviews on the - current view, all the view are - processed and the key is passed to the views - to allow some of them to process the keystroke - as a cold-key.

                                          -

                                          - This functionality is used, for example, by - default buttons to act on the enter key. - Processing this as a hot-key would prevent - non-default buttons from consuming the enter - keypress when they have the focus. -

                                          -

                                          ProcessKey(KeyEvent)

                                          -
                                          -If the view is focused, gives the view a -chance to process the keystroke. -
                                          +
                                          Declaration
                                          @@ -920,32 +890,11 @@ chance to process the keystroke.
                                          Overrides
                                          -
                                          Remarks
                                          -
                                          -

                                          - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                          -

                                          - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                          -

                                          Redraw(Rect)

                                          -
                                          -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                          +
                                          Declaration
                                          @@ -964,26 +913,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                          Overrides
                                          -
                                          Remarks
                                          -
                                          -

                                          - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                          -

                                          - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                          -

                                          - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                          -
                                          diff --git a/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html new file mode 100644 index 000000000..6e734ff3f --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.RectangleF.html @@ -0,0 +1,1423 @@ + + + + + + + + Struct RectangleF + + + + + + + + + + + + + + + + +
                                          +
                                          + + + + +
                                          +
                                          + +
                                          +
                                          Search Results for
                                          +
                                          +

                                          +
                                          +
                                            +
                                            +
                                            + + + +
                                            + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html index 7a76f71e2..1de8be965 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollBarView.html @@ -836,9 +836,7 @@ part of a View the Size is set

                                            MouseEvent(MouseEvent)

                                            -
                                            -Method invoked when a mouse event is generated -
                                            +
                                            Declaration
                                            @@ -872,7 +870,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -894,9 +892,7 @@ Virtual method to invoke the

                                            OnEnter(View)

                                            -
                                            -Method invoked when a view gets focus. -
                                            +
                                            Declaration
                                            @@ -915,7 +911,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -930,7 +926,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -940,9 +936,7 @@ Method invoked when a view gets focus.

                                            Redraw(Rect)

                                            -
                                            -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                            +
                                            Declaration
                                            @@ -967,20 +961,6 @@ Redraws this view and its subviews; only redraws the views that have been flagge
                                            Overrides
                                            -
                                            Remarks
                                            -
                                            -

                                            - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                            -

                                            - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                            -

                                            - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                            -
                                            diff --git a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html index 034fb0528..c9bd048b1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.ScrollView.html @@ -673,9 +673,7 @@ Adds the view to the scrollview.

                                            Dispose(Boolean)

                                            -
                                            -Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. -
                                            +
                                            Declaration
                                            @@ -700,22 +698,11 @@ Performs application-defined tasks associated with freeing, releasing, or resett
                                            Overrides
                                            -
                                            Remarks
                                            -
                                            -If disposing equals true, the method has been called directly -or indirectly by a user's code. Managed and unmanaged resources -can be disposed. -If disposing equals false, the method has been called by the -runtime from inside the finalizer and you should not reference -other objects. Only unmanaged resources can be disposed. -

                                            MouseEvent(MouseEvent)

                                            -
                                            -Method invoked when a mouse event is generated -
                                            +
                                            Declaration
                                            @@ -749,7 +736,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -759,9 +746,7 @@ Method invoked when a mouse event is generated

                                            OnEnter(View)

                                            -
                                            -Method invoked when a view gets focus. -
                                            +
                                            Declaration
                                            @@ -780,7 +765,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -795,7 +780,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -805,9 +790,7 @@ Method invoked when a view gets focus.

                                            PositionCursor()

                                            -
                                            -Positions the cursor in the right position based on the currently focused view in the chain. -
                                            +
                                            Declaration
                                            @@ -819,10 +802,7 @@ Positions the cursor in the right position based on the currently focused view i

                                            ProcessKey(KeyEvent)

                                            -
                                            -If the view is focused, gives the view a -chance to process the keystroke. -
                                            +
                                            Declaration
                                            @@ -862,32 +842,11 @@ chance to process the keystroke.
                                            Overrides
                                            -
                                            Remarks
                                            -
                                            -

                                            - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                            -

                                            - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                            -

                                            Redraw(Rect)

                                            -
                                            -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                            +
                                            Declaration
                                            @@ -912,20 +871,6 @@ Redraws this view and its subviews; only redraws the views that have been flagge
                                            Overrides
                                            -
                                            Remarks
                                            -
                                            -

                                            - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                            -

                                            - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                            -

                                            - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                            -
                                            diff --git a/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html new file mode 100644 index 000000000..c2dac3bc4 --- /dev/null +++ b/docs/api/Terminal.Gui/Terminal.Gui.SizeF.html @@ -0,0 +1,998 @@ + + + + + + + + Struct SizeF + + + + + + + + + + + + + + + + +
                                            +
                                            + + + + +
                                            +
                                            + +
                                            +
                                            Search Results for
                                            +
                                            +

                                            +
                                            +
                                              +
                                              +
                                              + + + +
                                              + + + + + + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html index ef76dc4cd..9093edf76 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.StatusBar.html @@ -509,9 +509,7 @@ The items that compose the St

                                              Dispose(Boolean)

                                              -
                                              -Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. -
                                              +
                                              Declaration
                                              @@ -536,22 +534,11 @@ Performs application-defined tasks associated with freeing, releasing, or resett
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -If disposing equals true, the method has been called directly -or indirectly by a user's code. Managed and unmanaged resources -can be disposed. -If disposing equals false, the method has been called by the -runtime from inside the finalizer and you should not reference -other objects. Only unmanaged resources can be disposed. -

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -585,7 +572,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -595,9 +582,7 @@ Method invoked when a mouse event is generated

                                              OnEnter(View)

                                              -
                                              -Method invoked when a view gets focus. -
                                              +
                                              Declaration
                                              @@ -616,7 +601,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -631,7 +616,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -641,11 +626,7 @@ Method invoked when a view gets focus.

                                              ProcessHotKey(KeyEvent)

                                              -
                                              -This method can be overwritten by view that -want to provide accelerator functionality -(Alt-key for example). -
                                              +
                                              Declaration
                                              @@ -685,30 +666,11 @@ want to provide accelerator functionality
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Before keys are sent to the subview on the - current view, all the views are - processed and the key is passed to the widgets - to allow some of them to process the keystroke - as a hot-key.

                                              -

                                              - For example, if you implement a button that - has a hotkey ok "o", you would catch the - combination Alt-o here. If the event is - caught, you must return true to stop the - keystroke from being dispatched to other - views. -

                                              -

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -727,26 +689,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -

                                              Implements

                                              System.IDisposable diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html index 2709a5d83..2531aba8c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TabView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TabView.html @@ -760,10 +760,7 @@ Raises the

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -782,7 +779,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -803,32 +800,11 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -847,26 +823,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html index 020b0fc85..28bd095a8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TableView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TableView.html @@ -1070,9 +1070,7 @@ Returns true if the given cell is selected either because it is the active cell

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -1106,7 +1104,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -1188,10 +1186,7 @@ Positions the cursor in the area of the screen in which the start of the active

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -1210,7 +1205,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -1231,32 +1226,11 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -1275,26 +1249,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html index a8d2a3796..766e3e60b 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextField.html @@ -543,9 +543,7 @@ Initializes a new instance of the

                                              CanFocus

                                              -
                                              -Gets or sets a value indicating whether this Responder can focus. -
                                              +
                                              Declaration
                                              @@ -562,7 +560,7 @@ Gets or sets a value indicating whether this System.Boolean - true if can focus; otherwise, false. + @@ -626,9 +624,7 @@ Get / Set the wished cursor when the field is focused

                                              Frame

                                              -
                                              -Gets or sets the frame for the view. The frame is relative to the view's container (SuperView). -
                                              +
                                              Declaration
                                              @@ -645,22 +641,12 @@ Gets or sets the frame for the view. The frame is relative to the view's co Rect - The frame. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Change the Frame when using the Absolute layout style to move or resize views. -

                                              -

                                              - Altering the Frame of a view will trigger the redrawing of the - view as well as the redrawing of the affected regions of the SuperView. -

                                              -
                                              @@ -899,9 +885,7 @@ Cut the selected text to the clipboard.

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -935,7 +919,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -945,9 +929,7 @@ Method invoked when a mouse event is generated

                                              OnEnter(View)

                                              -
                                              -Method invoked when a view gets focus. -
                                              +
                                              Declaration
                                              @@ -966,7 +948,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -981,7 +963,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -991,9 +973,7 @@ Method invoked when a view gets focus.

                                              OnLeave(View)

                                              -
                                              -Method invoked when a view loses focus. -
                                              +
                                              Declaration
                                              @@ -1012,7 +992,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -1027,7 +1007,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -1158,9 +1138,7 @@ The TextField control res

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -1179,26 +1157,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -

                                              Events

                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html index 1a47c97f3..fc16d0f32 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextFormatter.html @@ -345,7 +345,7 @@ Gets the formatted lines.

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

                                              @@ -734,14 +734,14 @@ Regardless of the value of this parameter, hotKeySpecifier takes pr -

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

                                              +

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

                                              Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries.
                                              Declaration
                                              -
                                              public static List<ustring> Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false)
                                              +
                                              public static List<ustring> Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0)
                                              Parameters
                                              @@ -778,6 +778,11 @@ Reformats text into lines, applying text alignment and optionally wrapping text + + + + +
                                              preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false, the trailing spaces will be trimmed.
                                              System.Int32tabWidthThe tab width.
                                              Returns
                                              @@ -795,7 +800,7 @@ Reformats text into lines, applying text alignment and optionally wrapping text -
                                              Remarks
                                              +
                                              Remarks

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

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

                                              +

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

                                              Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries.
                                              Declaration
                                              -
                                              public static List<ustring> Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false)
                                              +
                                              public static List<ustring> Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0)
                                              Parameters
                                              @@ -854,6 +859,11 @@ Reformats text into lines, applying text alignment and optionally wrapping text + + + + +
                                              preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false, the trailing spaces will be trimmed.
                                              System.Int32tabWidthThe tab width.
                                              Returns
                                              @@ -871,7 +881,7 @@ Reformats text into lines, applying text alignment and optionally wrapping text -
                                              Remarks
                                              +
                                              Remarks

                                              An empty text string will result in one empty line. @@ -1324,14 +1334,14 @@ Runes with a bitmask of otKeyTagMask and remove that bitmask. -

                                              WordWrap(ustring, Int32, Boolean)

                                              +

                                              WordWrap(ustring, Int32, Boolean, Int32)

                                              Formats the provided text to fit within the width provided using word wrapping.
                                              Declaration
                                              -
                                              public static List<ustring> WordWrap(ustring text, int width, bool preserveTrailingSpaces = false)
                                              +
                                              public static List<ustring> WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0)
                                              Parameters
                                              @@ -1359,6 +1369,11 @@ Formats the provided text to fit within the width provided using word wrapping. + + + + +
                                              If true, the wrapped text will keep the trailing spaces. If false, the trailing spaces will be trimmed.
                                              System.Int32tabWidthThe tab width.
                                              Returns
                                              @@ -1376,7 +1391,7 @@ Formats the provided text to fit within the width provided using word wrapping. -
                                              Remarks
                                              +
                                              Remarks

                                              This method does not do any justification. diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html similarity index 75% rename from docs/api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html rename to docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html index cbdd03ea9..55a0c1d3f 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateField.html @@ -5,10 +5,10 @@ - Class TextValidateField<T> + <title>Class TextValidateField - @@ -78,10 +78,10 @@

                                              -
                                              +
                                              -

                                              Class TextValidateField<T> +

                                              Class TextValidateField

                                              Text field that validates input through a ITextValidateProvider @@ -92,7 +92,7 @@ Text field that validates input through a System.Object
                                              -
                                              TextValidateField<T>
                                              +
                                              TextValidateField
                                              Implements
                                              @@ -423,33 +423,18 @@ Text field that validates input through a Terminal.Gui
                                              Assembly: Terminal.Gui.dll
                                              -
                                              Syntax
                                              +
                                              Syntax
                                              -
                                              public class TextValidateField<T> : View, IDisposable, ISupportInitializeNotification, ISupportInitialize where T : ITextValidateProvider
                                              +
                                              public class TextValidateField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
                                              -
                                              Type Parameters
                                              - - - - - - - - - - - - - -
                                              NameDescription
                                              T

                                              Constructors

                                              - -

                                              TextValidateField()

                                              + +

                                              TextValidateField()

                                              -Initializes a new instance of the TextValidateField<T> class using Computed positioning. +Initializes a new instance of the TextValidateField class using Computed positioning.
                                              Declaration
                                              @@ -458,15 +443,15 @@ Initializes a new instance of the -

                                              TextValidateField(ustring)

                                              + +

                                              TextValidateField(ITextValidateProvider)

                                              -Initializes a new instance of the TextValidateField<T> class using Computed positioning. +Initializes a new instance of the TextValidateField class using Computed positioning.
                                              Declaration
                                              -
                                              public TextValidateField(ustring mask)
                                              +
                                              public TextValidateField(ITextValidateProvider provider)
                                              Parameters
                                              @@ -479,52 +464,18 @@ Initializes a new instance of the NStack.ustring - - - - -
                                              maskMask
                                              - - - -

                                              TextValidateField(ustring, ustring)

                                              -
                                              -Initializes a new instance of the TextValidateField<T> class using Computed positioning. -
                                              -
                                              -
                                              Declaration
                                              -
                                              -
                                              public TextValidateField(ustring mask, ustring text)
                                              -
                                              -
                                              Parameters
                                              - - - - - - - - - - - - + + - - - - -
                                              TypeNameDescription
                                              NStack.ustringmaskITextValidateProviderprovider
                                              NStack.ustringtextInitial Value

                                              Properties

                                              - -

                                              IsValid

                                              + +

                                              IsValid

                                              This property returns true if the input is valid.
                                              @@ -550,15 +501,15 @@ This property returns true if the input is valid. - -

                                              Mask

                                              + +

                                              Provider

                                              -Mask +Provider
                                              Declaration
                                              -
                                              public ustring Mask { get; set; }
                                              +
                                              public ITextValidateProvider Provider { get; set; }
                                              Property Value
                                              @@ -570,42 +521,15 @@ Mask - +
                                              NStack.ustringITextValidateProvider
                                              - -

                                              Provider

                                              -
                                              -Get the Provider -
                                              -
                                              -
                                              Declaration
                                              -
                                              -
                                              public T Provider { get; }
                                              -
                                              -
                                              Property Value
                                              - - - - - - - - - - - - - -
                                              TypeDescription
                                              T
                                              - - - -

                                              Text

                                              + +

                                              Text

                                              Text
                                              @@ -633,11 +557,9 @@ Text - -

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              + +

                                              MouseEvent(MouseEvent)

                                              +
                                              Declaration
                                              @@ -656,7 +578,7 @@ Method invoked when a mouse event is generated MouseEvent mouseEvent - Contains the details about the mouse event. + @@ -671,7 +593,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -679,8 +601,8 @@ Method invoked when a mouse event is generated - -

                                              PositionCursor()

                                              + +

                                              PositionCursor()

                                              Declaration
                                              @@ -691,12 +613,9 @@ Method invoked when a mouse event is generated - -

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              + +

                                              ProcessKey(KeyEvent)

                                              +
                                              Declaration
                                              @@ -736,32 +655,11 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -
                                              - -

                                              Redraw(Rect)

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

                                              Redraw(Rect)

                                              +
                                              Declaration
                                              @@ -780,26 +678,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -

                                              Implements

                                              System.IDisposable diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html index 5b5ecf409..e014a33c8 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html @@ -98,6 +98,33 @@ All TextValidateField are created with a ITextValidateProvider. + +

                                              DisplayText

                                              +
                                              +Gets the formatted string for display. +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              ustring DisplayText { get; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              NStack.ustring
                                              + +

                                              Fixed

                                              @@ -153,39 +180,10 @@ True if the input is valid, otherwise false. - -

                                              Mask

                                              -
                                              -Mask used for validation. -Not always a mask, can by a regex expression. -TODO: Maybe we can change the name. -
                                              -
                                              -
                                              Declaration
                                              -
                                              -
                                              ustring Mask { get; set; }
                                              -
                                              -
                                              Property Value
                                              - - - - - - - - - - - - - -
                                              TypeDescription
                                              NStack.ustring
                                              - -

                                              Text

                                              -Set the input text, and get the formatted string for display. +Set the input text and get the current value.
                                              Declaration
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html index 1afc48df1..9a4ec87e1 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html @@ -134,25 +134,64 @@ -

                                              NetMaskedTextProvider()

                                              +

                                              NetMaskedTextProvider(String)

                                              Empty Constructor
                                              Declaration
                                              -
                                              public NetMaskedTextProvider()
                                              +
                                              public NetMaskedTextProvider(string mask)
                                              +
                                              Parameters
                                              + + + + + + + + + + + + + + + +
                                              TypeNameDescription
                                              System.Stringmask

                                              Properties

                                              + +

                                              DisplayText

                                              +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              public ustring DisplayText { get; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              NStack.ustring
                                              + +

                                              Fixed

                                              -
                                              -Set that this provider uses a fixed width. -e.g. Masked ones are fixed. -
                                              +
                                              Declaration
                                              @@ -177,9 +216,7 @@ e.g. Masked ones are fixed.

                                              IsValid

                                              -
                                              -True if the input is valid, otherwise false. -
                                              +
                                              Declaration
                                              @@ -205,9 +242,7 @@ True if the input is valid, otherwise false.

                                              Mask

                                              -Mask used for validation. -Not always a mask, can by a regex expression. -TODO: Maybe we can change the name. +Mask property
                                              Declaration
                                              @@ -233,9 +268,7 @@ TODO: Maybe we can change the name.

                                              Text

                                              -
                                              -Set the input text, and get the formatted string for display. -
                                              +
                                              Declaration
                                              @@ -262,9 +295,7 @@ Set the input text, and get the formatted string for display.

                                              Cursor(Int32)

                                              -
                                              -Set Cursor position to pos. -
                                              +
                                              Declaration
                                              @@ -298,7 +329,7 @@ Set Cursor position to p System.Int32 - Return first valid position. + @@ -306,9 +337,7 @@ Set Cursor position to p

                                              CursorEnd()

                                              -
                                              -Find the last valid character position. -
                                              +
                                              Declaration
                                              @@ -325,7 +354,7 @@ Find the last valid character position. System.Int32 - New cursor position. + @@ -333,9 +362,7 @@ Find the last valid character position.

                                              CursorLeft(Int32)

                                              -
                                              -First valid position before pos. -
                                              +
                                              Declaration
                                              @@ -369,7 +396,7 @@ First valid position before System.Int32 - New cursor position if any, otherwise returns pos + @@ -377,9 +404,7 @@ First valid position before

                                              CursorRight(Int32)

                                              -
                                              -First valid position after pos. -
                                              +
                                              Declaration
                                              @@ -398,7 +423,7 @@ First valid position after System.Int32 pos - Current position. + @@ -413,7 +438,7 @@ First valid position after System.Int32 - New cursor position if any, otherwise returns pos + @@ -421,9 +446,7 @@ First valid position after

                                              CursorStart()

                                              -
                                              -Find the first valid character position. -
                                              +
                                              Declaration
                                              @@ -440,7 +463,7 @@ Find the first valid character position. System.Int32 - New cursor position. + @@ -448,9 +471,7 @@ Find the first valid character position.

                                              Delete(Int32)

                                              -
                                              -Deletes the current character in pos. -
                                              +
                                              Declaration
                                              @@ -484,7 +505,7 @@ Deletes the current character in System.Boolean - true if the character was successfully removed, otherwise false. + @@ -492,9 +513,7 @@ Deletes the current character in

                                              InsertAt(Char, Int32)

                                              -
                                              -Insert character ch in position pos. -
                                              +
                                              Declaration
                                              @@ -533,7 +552,7 @@ Insert character ch System.Boolean - true if the character was successfully inserted, otherwise false. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html index 249370d53..22f610f83 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html @@ -131,25 +131,64 @@ Regex Provider for TextValidateField. -

                                              TextRegexProvider()

                                              +

                                              TextRegexProvider(String)

                                              -Empty Constructor +Empty Constructor.
                                              Declaration
                                              -
                                              public TextRegexProvider()
                                              +
                                              public TextRegexProvider(string pattern)
                                              +
                                              Parameters
                                              + + + + + + + + + + + + + + + +
                                              TypeNameDescription
                                              System.Stringpattern

                                              Properties

                                              + +

                                              DisplayText

                                              +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              public ustring DisplayText { get; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              NStack.ustring
                                              + +

                                              Fixed

                                              -
                                              -Set that this provider uses a fixed width. -e.g. Masked ones are fixed. -
                                              +
                                              Declaration
                                              @@ -174,9 +213,7 @@ e.g. Masked ones are fixed.

                                              IsValid

                                              -
                                              -True if the input is valid, otherwise false. -
                                              +
                                              Declaration
                                              @@ -199,17 +236,15 @@ True if the input is valid, otherwise false. - -

                                              Mask

                                              + +

                                              Pattern

                                              -Mask used for validation. -Not always a mask, can by a regex expression. -TODO: Maybe we can change the name. +Regex pattern property.
                                              Declaration
                                              -
                                              public ustring Mask { get; set; }
                                              +
                                              public ustring Pattern { get; set; }
                                              Property Value
                                              @@ -230,9 +265,7 @@ TODO: Maybe we can change the name.

                                              Text

                                              -
                                              -Set the input text, and get the formatted string for display. -
                                              +
                                              Declaration
                                              @@ -286,9 +319,7 @@ When true, validates with the regex pattern on each input, preventing the input

                                              Cursor(Int32)

                                              -
                                              -Set Cursor position to pos. -
                                              +
                                              Declaration
                                              @@ -322,7 +353,7 @@ Set Cursor position to p
                                              - +
                                              System.Int32Return first valid position.
                                              @@ -330,9 +361,7 @@ Set Cursor position to p

                                              CursorEnd()

                                              -
                                              -Find the last valid character position. -
                                              +
                                              Declaration
                                              @@ -349,7 +378,7 @@ Find the last valid character position. System.Int32 - New cursor position. + @@ -357,9 +386,7 @@ Find the last valid character position.

                                              CursorLeft(Int32)

                                              -
                                              -First valid position before pos. -
                                              +
                                              Declaration
                                              @@ -393,7 +420,7 @@ First valid position before System.Int32 - New cursor position if any, otherwise returns pos + @@ -401,9 +428,7 @@ First valid position before

                                              CursorRight(Int32)

                                              -
                                              -First valid position after pos. -
                                              +
                                              Declaration
                                              @@ -422,7 +447,7 @@ First valid position after System.Int32 pos - Current position. + @@ -437,7 +462,7 @@ First valid position after System.Int32 - New cursor position if any, otherwise returns pos + @@ -445,9 +470,7 @@ First valid position after

                                              CursorStart()

                                              -
                                              -Find the first valid character position. -
                                              +
                                              Declaration
                                              @@ -464,7 +487,7 @@ Find the first valid character position. System.Int32 - New cursor position. + @@ -472,9 +495,7 @@ Find the first valid character position.

                                              Delete(Int32)

                                              -
                                              -Deletes the current character in pos. -
                                              +
                                              Declaration
                                              @@ -508,7 +529,7 @@ Deletes the current character in System.Boolean - true if the character was successfully removed, otherwise false. + @@ -516,9 +537,7 @@ Deletes the current character in

                                              InsertAt(Char, Int32)

                                              -
                                              -Insert character ch in position pos. -
                                              +
                                              Declaration
                                              @@ -557,7 +576,7 @@ Insert character ch System.Boolean - true if the character was successfully inserted, otherwise false. + diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html index 23aa53a4a..1d5bf3a12 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TextView.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TextView.html @@ -508,6 +508,62 @@ Initializes a TextView on + +

                                              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
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              System.Boolean
                                              + + + +

                                              AllowsTab

                                              +
                                              +Gets or sets a value indicating whether pressing the TAB key in a TextView +types a TAB character in the view instead of moving the focus to the next view in the tab order. +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              public bool AllowsTab { get; set; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              System.Boolean
                                              + +

                                              BottomOffset

                                              @@ -538,9 +594,7 @@ This is only needed with the keyboard navigation.

                                              CanFocus

                                              -
                                              -Gets or sets a value indicating whether this Responder can focus. -
                                              +
                                              Declaration
                                              @@ -557,7 +611,7 @@ Gets or sets a value indicating whether this System.Boolean - true if can focus; otherwise, false. + @@ -675,9 +729,7 @@ Get / Set the wished cursor when the field is focused

                                              Frame

                                              -
                                              -Gets or sets the frame for the view. The frame is relative to the view's container (SuperView). -
                                              +
                                              Declaration
                                              @@ -694,22 +746,12 @@ Gets or sets the frame for the view. The frame is relative to the view's co Rect - The frame. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Change the Frame when using the Absolute layout style to move or resize views. -

                                              -

                                              - Altering the Frame of a view will trigger the redrawing of the - view as well as the redrawing of the affected regions of the SuperView. -

                                              -
                                              @@ -793,6 +835,33 @@ Gets the maximum visible length line. + +

                                              Multiline

                                              +
                                              +Gets or sets a value indicating whether this TextView is a multiline text view. +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              public bool Multiline { get; set; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              System.Boolean
                                              + +

                                              ReadOnly

                                              @@ -983,6 +1052,33 @@ Start row position of the selected text. + +

                                              TabWidth

                                              +
                                              +Gets or sets a value indicating the number of whitespace when pressing the TAB key. +
                                              +
                                              +
                                              Declaration
                                              +
                                              +
                                              public int TabWidth { get; set; }
                                              +
                                              +
                                              Property Value
                                              + + + + + + + + + + + + + +
                                              TypeDescription
                                              System.Int32
                                              + +

                                              Text

                                              @@ -1375,9 +1471,7 @@ Loads the contents of the stream into the

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -1411,7 +1505,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -1445,9 +1539,7 @@ Will scroll the TextView t

                                              OnEnter(View)

                                              -
                                              -Method invoked when a view gets focus. -
                                              +
                                              Declaration
                                              @@ -1466,7 +1558,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -1481,7 +1573,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -1535,9 +1627,7 @@ Method invoked when a view gets focus.

                                              OnLeave(View)

                                              -
                                              -Method invoked when a view loses focus. -
                                              +
                                              Declaration
                                              @@ -1556,7 +1646,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -1571,7 +1661,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -1607,10 +1697,7 @@ Positions the cursor on the current row and column

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -1650,32 +1737,11 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -1694,26 +1760,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html index dc012af76..3aea50b49 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TimeField.html @@ -638,9 +638,7 @@ Gets or sets the time of the

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -674,7 +672,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -713,9 +711,7 @@ Event firing method that invokes the

                                              ProcessKey(KeyEvent)

                                              -
                                              -Processes key presses for the TextField. -
                                              +
                                              Declaration
                                              @@ -755,11 +751,6 @@ Processes key presses for the
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -The TextField control responds to the following keys: -
                                              KeysFunction
                                              Delete, BackspaceDeletes the character before cursor.
                                              -

                                              Events

                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html index 9ddfa1f2e..6b566f26a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Toplevel.html @@ -637,9 +637,7 @@ Gets or sets the status bar for this Toplevel

                                              Add(View)

                                              -
                                              -Adds a subview (child) to this view. -
                                              +
                                              Declaration
                                              @@ -664,10 +662,6 @@ Adds a subview (child) to this view.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() -
                                              @@ -718,7 +712,7 @@ Convenience factory method that creates a new Toplevel with the current terminal KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -762,7 +756,7 @@ Convenience factory method that creates a new Toplevel with the current terminal KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -787,12 +781,7 @@ Convenience factory method that creates a new Toplevel with the current terminal

                                              ProcessColdKey(KeyEvent)

                                              -
                                              -This method can be overwritten by views that -want to provide accelerator functionality -(Alt-key for example), but without -interefering with normal ProcessKey behavior. -
                                              +
                                              Declaration
                                              @@ -811,7 +800,7 @@ interefering with normal ProcessKey behavior. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -832,30 +821,11 @@ interefering with normal ProcessKey behavior.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - After keys are sent to the subviews on the - current view, all the view are - processed and the key is passed to the views - to allow some of them to process the keystroke - as a cold-key.

                                              -

                                              - This functionality is used, for example, by - default buttons to act on the enter key. - Processing this as a hot-key would prevent - non-default buttons from consuming the enter - keypress when they have the focus. -

                                              -

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -874,7 +844,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -895,32 +865,11 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -939,33 +888,17 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -

                                              Remove(View)

                                              -
                                              -Removes a subview added via Add(View) or Add(View[]) from this View. -
                                              +
                                              Declaration
                                              @@ -990,16 +923,11 @@ Removes a subview added via Overrides -
                                              Remarks
                                              -
                                              -

                                              RemoveAll()

                                              -
                                              -Removes all subviews (children) added via Add(View) or Add(View[]) from this View. -
                                              +
                                              Declaration
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html index d05258428..2098714ee 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.TreeView-1.html @@ -1662,9 +1662,7 @@ Returns true if the mode

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -1698,7 +1696,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -1780,10 +1778,7 @@ Positions the cursor at the start of the selected objects line (if visible)

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -1802,7 +1797,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -1823,25 +1818,6 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -
                                              @@ -1860,9 +1836,7 @@ objects have changed (otherwise use

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -1881,26 +1855,12 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -
                                              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 62ef6dc10..553259eee 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html @@ -92,6 +92,7 @@ Delegates of this type are used to fetch string representations of user's m
                                              Syntax
                                              public delegate string AspectGetterDelegate<T>(T toRender)
                                              +
                                                   where T : class;
                                              Parameters
                                              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 57dc90861..7cdc3df0c 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html @@ -121,6 +121,7 @@ Event args for the Syntax
                                              public class ObjectActivatedEventArgs<T>
                                              +
                                                   where T : class
                                              Type Parameters
                                              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 a6cb9f494..8d5ce03ac 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html @@ -181,9 +181,7 @@ implement

                                              SupportsCanExpand

                                              -
                                              -Returns true if CanExpand(T) is implemented by this class -
                                              +
                                              Declaration
                                              @@ -256,10 +254,7 @@ constructor or set

                                              GetChildren(T)

                                              -
                                              -Returns all children of a given forObject which should be added to the -tree as new branches underneath it -
                                              +
                                              Declaration
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.View.html b/docs/api/Terminal.Gui/Terminal.Gui.View.html index 4b37d8727..c8cb2f6ee 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.View.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.View.html @@ -96,6 +96,7 @@ View is the base class for all views on the screen and represents a visible elem + @@ -108,7 +109,7 @@ View is the base class for all views on the screen and represents a visible elem - + @@ -500,9 +501,7 @@ control for tasks such as drawing on the surface of the control.

                                              CanFocus

                                              -
                                              -Gets or sets a value indicating whether this Responder can focus. -
                                              +
                                              Declaration
                                              @@ -519,7 +518,7 @@ Gets or sets a value indicating whether this System.Boolean - true if can focus; otherwise, false. + @@ -678,9 +677,7 @@ Gets or sets the frame for the view. The frame is relative to the view's co

                                              HasFocus

                                              -
                                              -Gets or sets a value indicating whether this Responder has focus. -
                                              +
                                              Declaration
                                              @@ -697,7 +694,7 @@ Gets or sets a value indicating whether this System.Boolean - true if has focus; otherwise, false. + @@ -1732,9 +1729,7 @@ Sets the ConsoleDriver

                                              Dispose(Boolean)

                                              -
                                              -Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. -
                                              +
                                              Declaration
                                              @@ -1759,15 +1754,6 @@ Performs application-defined tasks associated with freeing, releasing, or resett
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -If disposing equals true, the method has been called directly -or indirectly by a user's code. Managed and unmanaged resources -can be disposed. -If disposing equals false, the method has been called by the -runtime from inside the finalizer and you should not reference -other objects. Only unmanaged resources can be disposed. -
                                              @@ -2197,9 +2183,7 @@ This method will be called before any subviews added with

                                              OnEnter(View)

                                              -
                                              -Method invoked when a view gets focus. -
                                              +
                                              Declaration
                                              @@ -2218,7 +2202,7 @@ Method invoked when a view gets focus. View view - The view that is losing focus. + @@ -2233,7 +2217,7 @@ Method invoked when a view gets focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -2331,9 +2315,7 @@ Method invoked when a view gets focus.

                                              OnLeave(View)

                                              -
                                              -Method invoked when a view loses focus. -
                                              +
                                              Declaration
                                              @@ -2352,7 +2334,7 @@ Method invoked when a view loses focus. View view - The view that is getting focus. + @@ -2367,7 +2349,7 @@ Method invoked when a view loses focus. System.Boolean - true, if the event was handled, false otherwise. + @@ -2406,9 +2388,7 @@ Invokes the MouseClick event.

                                              OnMouseEnter(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated for the first time. -
                                              +
                                              Declaration
                                              @@ -2442,7 +2422,7 @@ Method invoked when a mouse event is generated for the first time. System.Boolean - true, if the event was handled, false otherwise. + @@ -2496,9 +2476,7 @@ Method invoked when a mouse event is generated

                                              OnMouseLeave(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated for the last time. -
                                              +
                                              Declaration
                                              @@ -2532,7 +2510,7 @@ Method invoked when a mouse event is generated for the last time. System.Boolean - true, if the event was handled, false otherwise. + @@ -2583,12 +2561,7 @@ Positions the cursor in the right position based on the currently focused view i

                                              ProcessColdKey(KeyEvent)

                                              -
                                              -This method can be overwritten by views that -want to provide accelerator functionality -(Alt-key for example), but without -interefering with normal ProcessKey behavior. -
                                              +
                                              Declaration
                                              @@ -2607,7 +2580,7 @@ interefering with normal ProcessKey behavior. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -2628,31 +2601,11 @@ interefering with normal ProcessKey behavior.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - After keys are sent to the subviews on the - current view, all the view are - processed and the key is passed to the views - to allow some of them to process the keystroke - as a cold-key.

                                              -

                                              - This functionality is used, for example, by - default buttons to act on the enter key. - Processing this as a hot-key would prevent - non-default buttons from consuming the enter - keypress when they have the focus. -

                                              -

                                              ProcessHotKey(KeyEvent)

                                              -
                                              -This method can be overwritten by view that -want to provide accelerator functionality -(Alt-key for example). -
                                              +
                                              Declaration
                                              @@ -2692,31 +2645,11 @@ want to provide accelerator functionality
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Before keys are sent to the subview on the - current view, all the views are - processed and the key is passed to the widgets - to allow some of them to process the keystroke - as a hot-key.

                                              -

                                              - For example, if you implement a button that - has a hotkey ok "o", you would catch the - combination Alt-o here. If the event is - caught, you must return true to stop the - keystroke from being dispatched to other - views. -

                                              -

                                              ProcessKey(KeyEvent)

                                              -
                                              -If the view is focused, gives the view a -chance to process the keystroke. -
                                              +
                                              Declaration
                                              @@ -2735,7 +2668,7 @@ chance to process the keystroke. KeyEvent keyEvent - Contains the details about the key that produced the event. + @@ -2756,25 +2689,6 @@ chance to process the keystroke.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Views can override this method if they are - interested in processing the given keystroke. - If they consume the keystroke, they must - return true to stop the keystroke from being - processed by other widgets or consumed by the - widget engine. If they return false, the - keystroke will be passed using the ProcessColdKey - method to other views to process. -

                                              -

                                              - The View implementation does nothing but return false, - so it is not necessary to call base.ProcessKey if you - derive directly from View, but you should if you derive - other View subclasses. -

                                              -
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.Window.html b/docs/api/Terminal.Gui/Terminal.Gui.Window.html index 7ea8ff2cc..6fcc31e99 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.Window.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.Window.html @@ -720,9 +720,7 @@ The title to be displayed for this window.

                                              Add(View)

                                              -
                                              -Adds a subview (child) to this view. -
                                              +
                                              Declaration
                                              @@ -747,17 +745,11 @@ Adds a subview (child) to this view.
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() -

                                              MouseEvent(MouseEvent)

                                              -
                                              -Method invoked when a mouse event is generated -
                                              +
                                              Declaration
                                              @@ -776,7 +768,7 @@ Method invoked when a mouse event is generated MouseEvent mouseEvent - Contains the details about the mouse event. + @@ -791,7 +783,7 @@ Method invoked when a mouse event is generated System.Boolean - true, if the event was handled, false otherwise. + @@ -801,9 +793,7 @@ Method invoked when a mouse event is generated

                                              Redraw(Rect)

                                              -
                                              -Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. -
                                              +
                                              Declaration
                                              @@ -822,33 +812,17 @@ Redraws this view and its subviews; only redraws the views that have been flagge Rect bounds - The bounds (view-relative region) to redraw. +
                                              Overrides
                                              -
                                              Remarks
                                              -
                                              -

                                              - Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative). -

                                              -

                                              - Views should set the color that they want to use on entry, as otherwise this will inherit - the last color that was set globally on the driver. -

                                              -

                                              - Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region - larger than the region parameter. -

                                              -

                                              Remove(View)

                                              -
                                              -Removes a subview added via Add(View) or Add(View[]) from this View. -
                                              +
                                              Declaration
                                              @@ -873,16 +847,11 @@ Removes a subview added via Overrides -
                                              Remarks
                                              -
                                              -

                                              RemoveAll()

                                              -
                                              -Removes all subviews (children) added via Add(View) or Add(View[]) from this View. -
                                              +
                                              Declaration
                                              diff --git a/docs/api/Terminal.Gui/Terminal.Gui.html b/docs/api/Terminal.Gui/Terminal.Gui.html index 9db923ad5..612e3db1a 100644 --- a/docs/api/Terminal.Gui/Terminal.Gui.html +++ b/docs/api/Terminal.Gui/Terminal.Gui.html @@ -170,6 +170,10 @@ Base class for the OpenDialo
                                              The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. +
                                              +

                                              GraphView

                                              +
                                              +Control for rendering graphs (bar, scatter etc)

                                              HexView

                                              @@ -341,7 +345,7 @@ Single-line text entry View
                                              Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap.
                                              -

                                              TextValidateField<T>

                                              +

                                              TextValidateField

                                              Text field that validates input through a ITextValidateProvider
                                              @@ -408,14 +412,26 @@ Describes a mouse event

                                              Point

                                              Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. +
                                              +

                                              PointF

                                              +
                                              +Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane.

                                              Rect

                                              Stores a set of four integers that represent the location and size of a rectangle +
                                              +

                                              RectangleF

                                              +
                                              +Stores the location and size of a rectangular region.

                                              Size

                                              Stores an ordered pair of integers, which specify a Height and Width. +
                                              +

                                              SizeF

                                              +
                                              +Represents the size of a rectangular region with an ordered pair of width and height.

                                              Interfaces

                                              diff --git a/docs/api/Terminal.Gui/toc.html b/docs/api/Terminal.Gui/toc.html index 40bb80944..f703a00a5 100644 --- a/docs/api/Terminal.Gui/toc.html +++ b/docs/api/Terminal.Gui/toc.html @@ -89,6 +89,9 @@
                                            • FrameView
                                            • +
                                            • + GraphView +
                                            • HexView
                                            • @@ -155,6 +158,9 @@
                                            • Point
                                            • +
                                            • + PointF +
                                            • Pos
                                            • @@ -170,6 +176,9 @@
                                            • Rect
                                            • +
                                            • + RectangleF +
                                            • Responder
                                            • @@ -188,6 +197,9 @@
                                            • Size
                                            • +
                                            • + SizeF +
                                            • StatusBar
                                            • @@ -240,7 +252,7 @@ TextFormatter
                                            • - TextValidateField<T> + TextValidateField
                                            • TextView @@ -280,6 +292,64 @@
                                            • +
                                            • + + Terminal.Gui.Graphs + + +
                                            • Terminal.Gui.TextValidateProviders diff --git a/docs/index.json b/docs/index.json index 9ce1b9cb7..05a281ee9 100644 --- a/docs/index.json +++ b/docs/index.json @@ -22,12 +22,12 @@ "api/Terminal.Gui/Terminal.Gui.Button.html": { "href": "api/Terminal.Gui/Terminal.Gui.Button.html", "title": "Class Button", - "keywords": "Class Button Button is a View that provides an item that invokes an System.Action when activated by the user. Inheritance System.Object Responder View Button Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Button : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Provides a button showing text invokes an System.Action when clicked on with a mouse or when the user presses SPACE, ENTER, or hotkey. The hotkey is the first letter or digit following the first underscore ('_') in the button text. Use HotKeySpecifier to change the hotkey specifier from the default of ('_'). If no hotkey specifier is found, the first uppercase letter encountered will be used as the hotkey. When the button is configured as the default ( IsDefault ) and the user presses the ENTER key, if no other View processes the KeyEvent , the Button 's System.Action will be invoked. Constructors Button() Initializes a new instance of Button using Computed layout. Declaration public Button() Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(ustring, Boolean) Initializes a new instance of Button using Computed layout. Declaration public Button(ustring text, bool is_default = false) Parameters Type Name Description NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring) Initializes a new instance of Button using Absolute layout, based on the given text Declaration public Button(int x, int y, ustring text) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring, Boolean) Initializes a new instance of Button using Absolute layout, based on the given text. Declaration public Button(int x, int y, ustring text, bool is_default) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Properties IsDefault Gets or sets whether the Button is the default action to activate in a dialog. Declaration public bool IsDefault { get; set; } Property Value Type Description System.Boolean true if is default; otherwise, false . Text The text displayed by this Button . Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior. Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) Remarks After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key. This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus. ProcessHotKey(KeyEvent) This method can be overwritten by view that want to provide accelerator functionality (Alt-key for example). Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Remarks Before keys are sent to the subview on the current view, all the views are processed and the key is passed to the widgets to allow some of them to process the keystroke as a hot-key. For example, if you implement a button that has a hotkey ok \"o\", you would catch the combination Alt-o here. If the event is caught, you must return true to stop the keystroke from being dispatched to other views. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Button Button is a View that provides an item that invokes an System.Action when activated by the user. Inheritance System.Object Responder View Button Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Button : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Provides a button showing text invokes an System.Action when clicked on with a mouse or when the user presses SPACE, ENTER, or hotkey. The hotkey is the first letter or digit following the first underscore ('_') in the button text. Use HotKeySpecifier to change the hotkey specifier from the default of ('_'). If no hotkey specifier is found, the first uppercase letter encountered will be used as the hotkey. When the button is configured as the default ( IsDefault ) and the user presses the ENTER key, if no other View processes the KeyEvent , the Button 's System.Action will be invoked. Constructors Button() Initializes a new instance of Button using Computed layout. Declaration public Button() Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(ustring, Boolean) Initializes a new instance of Button using Computed layout. Declaration public Button(ustring text, bool is_default = false) Parameters Type Name Description NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring) Initializes a new instance of Button using Absolute layout, based on the given text Declaration public Button(int x, int y, ustring text) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text Remarks The width of the Button is computed based on the text length. The height will always be 1. Button(Int32, Int32, ustring, Boolean) Initializes a new instance of Button using Absolute layout, based on the given text. Declaration public Button(int x, int y, ustring text, bool is_default) Parameters Type Name Description System.Int32 x X position where the button will be shown. System.Int32 y Y position where the button will be shown. NStack.ustring text The button's text System.Boolean is_default If true , a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button. Remarks The width of the Button is computed based on the text length. The height will always be 1. Properties IsDefault Gets or sets whether the Button is the default action to activate in a dialog. Declaration public bool IsDefault { get; set; } Property Value Type Description System.Boolean true if is default; otherwise, false . Text The text displayed by this Button . Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.CheckBox.html": { "href": "api/Terminal.Gui/Terminal.Gui.CheckBox.html", "title": "Class CheckBox", - "keywords": "Class CheckBox The CheckBox View shows an on/off toggle that the user can set Inheritance System.Object Responder View CheckBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class CheckBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() CheckBox(ustring, Boolean) Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox(ustring s, bool is_checked = false) Parameters Type Name Description NStack.ustring s S. System.Boolean is_checked If set to true is checked. CheckBox(Int32, Int32, ustring) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s Remarks The size of CheckBox is computed based on the text length. This CheckBox is not toggled. CheckBox(Int32, Int32, ustring, Boolean) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s, bool is_checked) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s System.Boolean is_checked Remarks The size of CheckBox is computed based on the text length. Properties Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Text The text displayed by this CheckBox Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnToggled(Boolean) Called when the Checked property changes. Invokes the Toggled event. Declaration public virtual void OnToggled(bool previousChecked) Parameters Type Name Description System.Boolean previousChecked PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessHotKey(KeyEvent) This method can be overwritten by view that want to provide accelerator functionality (Alt-key for example). Declaration public override bool ProcessHotKey(KeyEvent ke) Parameters Type Name Description KeyEvent ke Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Remarks Before keys are sent to the subview on the current view, all the views are processed and the key is passed to the widgets to allow some of them to process the keystroke as a hot-key. For example, if you implement a button that has a hotkey ok \"o\", you would catch the combination Alt-o here. If the event is caught, you must return true to stop the keystroke from being dispatched to other views. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Events Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > Remarks Client code can hook up to this event, it is raised when the CheckBox is activated either with the mouse or the keyboard. The passed bool contains the previous state. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class CheckBox The CheckBox View shows an on/off toggle that the user can set Inheritance System.Object Responder View CheckBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class CheckBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors CheckBox() Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox() CheckBox(ustring, Boolean) Initializes a new instance of CheckBox based on the given text, using Computed layout. Declaration public CheckBox(ustring s, bool is_checked = false) Parameters Type Name Description NStack.ustring s S. System.Boolean is_checked If set to true is checked. CheckBox(Int32, Int32, ustring) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s Remarks The size of CheckBox is computed based on the text length. This CheckBox is not toggled. CheckBox(Int32, Int32, ustring, Boolean) Initializes a new instance of CheckBox using Absolute layout. Declaration public CheckBox(int x, int y, ustring s, bool is_checked) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring s System.Boolean is_checked Remarks The size of CheckBox is computed based on the text length. Properties Checked The state of the CheckBox Declaration public bool Checked { get; set; } Property Value Type Description System.Boolean Text The text displayed by this CheckBox Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnToggled(Boolean) Called when the Checked property changes. Invokes the Toggled event. Declaration public virtual void OnToggled(bool previousChecked) Parameters Type Name Description System.Boolean previousChecked PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent ke) Parameters Type Name Description KeyEvent ke Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events Toggled Toggled event, raised when the CheckBox is toggled. Declaration public event Action Toggled Event Type Type Description System.Action < System.Boolean > Remarks Client code can hook up to this event, it is raised when the CheckBox is activated either with the mouse or the keyboard. The passed bool contains the previous state. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Clipboard.html": { "href": "api/Terminal.Gui/Terminal.Gui.Clipboard.html", @@ -52,7 +52,7 @@ "api/Terminal.Gui/Terminal.Gui.ComboBox.html": { "href": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", "title": "Class ComboBox", - "keywords": "Class ComboBox ComboBox control Inheritance System.Object Responder View ComboBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ComboBox() Public constructor Declaration public ComboBox() ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme SelectedItem Gets the index of the currently selected item in the Source Declaration public int SelectedItem { get; } Property Value Type Description System.Int32 The selected item or -1 none selected. Source Gets or sets the IListDataSource backing this ComboBox , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. SetSource(IList) Sets the source of the ComboBox to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > SelectedItemChanged This event is raised when the selected item in the ComboBox has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ComboBox ComboBox control Inheritance System.Object Responder View ComboBox Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors ComboBox() Public constructor Declaration public ComboBox() ComboBox(ustring) Public constructor Declaration public ComboBox(ustring text) Parameters Type Name Description NStack.ustring text ComboBox(Rect, IList) Public constructor Declaration public ComboBox(Rect rect, IList source) Parameters Type Name Description Rect rect System.Collections.IList source Properties ColorScheme Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme SelectedItem Gets the index of the currently selected item in the Source Declaration public int SelectedItem { get; } Property Value Type Description System.Int32 The selected item or -1 none selected. Source Gets or sets the IListDataSource backing this ComboBox , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. Text The currently selected list item Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent e) Parameters Type Name Description KeyEvent e Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) SetSource(IList) Sets the source of the ComboBox to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > SelectedItemChanged This event is raised when the selected item in the ComboBox has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html": { "href": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.DiagnosticFlags.html", @@ -62,7 +62,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 BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune OffMeterSegement Off Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune OffMeterSegement Field Value Type Description System.Rune OnMeterSegment On Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune OnMeterSegment Field Value Type Description System.Rune RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune Properties Clip Controls the current clipping region that AddRune/AddStr is subject to. Declaration public Rect Clip { get; set; } Property Value Type Description Rect The clip. Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags HeightAsBuffer If false height is measured by the window height and thus no scrolling. If true then height is measured by the buffer height, enabling scrolling. Declaration public abstract bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods AddRune(Rune) Adds the specified rune to the display at the current cursor position Declaration public abstract void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Rune to add. AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() DrawFrame(Rect, Int32, Boolean) Draws a frame on the specified region with the specified padding around the frame. Declaration public virtual void DrawFrame(Rect region, int padding, bool fill) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 padding Padding to add on the sides. System.Boolean fill If set to true it will clear the contents with the current color, otherwise the contents will be left untouched. Remarks This API has been superseded by DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) . DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) 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) 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. DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) Draws the title for a Window-style view incorporating padding. Declaration public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. NStack.ustring title The title for the window. The title will only be drawn if title is not null or empty and paddingTop is greater than 0. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). TextAlignment textAlignment Not yet implemented. End() Ends the execution of the console driver. Declaration public abstract void End() EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. GetCursorVisibility(out CursorVisibility) Retreive the cursor caret visibility Declaration public abstract bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The current CursorVisibility Returns Type Description System.Boolean true upon success Init(Action) Initializes the driver Declaration public abstract void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Method to invoke when the terminal is resized. MakeAttribute(Color, Color) Make the attribute for the foreground and background colors. Declaration public abstract Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Foreground. Color back Background. Returns Type Description Attribute MakePrintable(Rune) Ensures a Rune is not a control character and can be displayed by translating characters below 0x20 to equivalent, printable, Unicode chars. Declaration public static Rune MakePrintable(Rune c) Parameters Type Name Description System.Rune c Rune to translate Returns Type Description System.Rune Move(Int32, Int32) Moves the cursor to the specified column and row. Declaration public abstract void Move(int col, int row) Parameters Type Name Description System.Int32 col Column to move the cursor to. System.Int32 row Row to move the cursor to. PrepareToRun(MainLoop, Action, Action, Action, Action) Prepare the driver and set the key and mouse events handlers. Declaration public abstract void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop The main loop. System.Action < KeyEvent > keyHandler The handler for ProcessKey System.Action < KeyEvent > keyDownHandler The handler for key down events System.Action < KeyEvent > keyUpHandler The handler for key up events System.Action < MouseEvent > mouseHandler The handler for mouse events Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() SetAttribute(Attribute) Selects the specified attribute as the attribute to use for future calls to AddRune, AddString. Declaration public abstract void SetAttribute(Attribute c) Parameters Type Name Description Attribute c C. SetColors(ConsoleColor, ConsoleColor) Set Colors from limit sets of colors. Declaration public abstract void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground Foreground. System.ConsoleColor background Background. SetColors(Int16, Int16) Advanced uses - set colors to any pre-set pairs, you would need to init_color that independently with the R, G, B values. Declaration public abstract void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId Foreground color identifier. System.Int16 backgroundColorId Background color identifier. SetCursorVisibility(CursorVisibility) Change the cursor caret visibility Declaration public abstract bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The wished CursorVisibility Returns Type Description System.Boolean true upon success SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() Suspend() Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver. Declaration public abstract void Suspend() UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() UpdateScreen() Redraws the physical screen with the contents that have been queued up via any of the printing commands. Declaration public abstract void UpdateScreen()" + "keywords": "Class ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. Inheritance System.Object ConsoleDriver FakeDriver Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public abstract class ConsoleDriver Fields BottomTee The bottom tee. Declaration public Rune BottomTee Field Value Type Description System.Rune Checked Checkmark. Declaration public Rune Checked Field Value Type Description System.Rune Diamond Diamond character Declaration public Rune Diamond Field Value Type Description System.Rune DownArrow Down Arrow. Declaration public Rune DownArrow Field Value Type Description System.Rune HLine Horizontal line character. Declaration public Rune HLine Field Value Type Description System.Rune LeftArrow Left Arrow. Declaration public Rune LeftArrow Field Value Type Description System.Rune LeftBracket Left frame/bracket (e.g. '[' for Button ). Declaration public Rune LeftBracket Field Value Type Description System.Rune LeftDefaultIndicator Left indicator for default action (e.g. for Button ). Declaration public Rune LeftDefaultIndicator Field Value Type Description System.Rune LeftTee Left tee Declaration public Rune LeftTee Field Value Type Description System.Rune LLCorner Lower left corner Declaration public Rune LLCorner Field Value Type Description System.Rune LRCorner Lower right corner Declaration public Rune LRCorner Field Value Type Description System.Rune OffMeterSegement Off Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune OffMeterSegement Field Value Type Description System.Rune OnMeterSegment On Segment indicator for meter views (e.g. ProgressBar . Declaration public Rune OnMeterSegment Field Value Type Description System.Rune RightArrow Right Arrow. Declaration public Rune RightArrow Field Value Type Description System.Rune RightBracket Right frame/bracket (e.g. ']' for Button ). Declaration public Rune RightBracket Field Value Type Description System.Rune RightDefaultIndicator Right indicator for default action (e.g. for Button ). Declaration public Rune RightDefaultIndicator Field Value Type Description System.Rune RightTee Right tee Declaration public Rune RightTee Field Value Type Description System.Rune Selected Selected mark. Declaration public Rune Selected Field Value Type Description System.Rune Stipple Stipple pattern Declaration public Rune Stipple Field Value Type Description System.Rune TerminalResized The handler fired when the terminal is resized. Declaration protected Action TerminalResized Field Value Type Description System.Action TopTee Top tee Declaration public Rune TopTee Field Value Type Description System.Rune ULCorner Upper left corner Declaration public Rune ULCorner Field Value Type Description System.Rune UnChecked Un-checked checkmark. Declaration public Rune UnChecked Field Value Type Description System.Rune UnSelected Un-selected selected mark. Declaration public Rune UnSelected Field Value Type Description System.Rune UpArrow Up Arrow. Declaration public Rune UpArrow Field Value Type Description System.Rune URCorner Upper right corner Declaration public Rune URCorner Field Value Type Description System.Rune VLine Vertical line character. Declaration public Rune VLine Field Value Type Description System.Rune Properties Clip Controls the current clipping region that AddRune/AddStr is subject to. Declaration public Rect Clip { get; set; } Property Value Type Description Rect The clip. Cols The current number of columns in the terminal. Declaration public abstract int Cols { get; } Property Value Type Description System.Int32 Diagnostics Set flags to enable/disable ConsoleDriver diagnostics. Declaration public static ConsoleDriver.DiagnosticFlags Diagnostics { get; set; } Property Value Type Description ConsoleDriver.DiagnosticFlags HeightAsBuffer If false height is measured by the window height and thus no scrolling. If true then height is measured by the buffer height, enabling scrolling. Declaration public abstract bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Rows The current number of rows in the terminal. Declaration public abstract int Rows { get; } Property Value Type Description System.Int32 Top The current top in the terminal. Declaration public abstract int Top { get; } Property Value Type Description System.Int32 Methods AddRune(Rune) Adds the specified rune to the display at the current cursor position Declaration public abstract void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Rune to add. AddStr(ustring) Adds the specified Declaration public abstract void AddStr(ustring str) Parameters Type Name Description NStack.ustring str String. CookMouse() Enables the cooked event processing from the mouse driver Declaration public abstract void CookMouse() DrawFrame(Rect, Int32, Boolean) Draws a frame on the specified region with the specified padding around the frame. Declaration public virtual void DrawFrame(Rect region, int padding, bool fill) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. System.Int32 padding Padding to add on the sides. System.Boolean fill If set to true it will clear the contents with the current color, otherwise the contents will be left untouched. Remarks This API has been superseded by DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) . DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) 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) 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. DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) Draws the title for a Window-style view incorporating padding. Declaration public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left) Parameters Type Name Description Rect region Screen relative region where the frame will be drawn. NStack.ustring title The title for the window. The title will only be drawn if title is not null or empty and paddingTop is greater than 0. System.Int32 paddingLeft Number of columns to pad on the left (if 0 the border will not appear on the left). System.Int32 paddingTop Number of rows to pad on the top (if 0 the border and title will not appear on the top). System.Int32 paddingRight Number of columns to pad on the right (if 0 the border will not appear on the right). System.Int32 paddingBottom Number of rows to pad on the bottom (if 0 the border will not appear on the bottom). TextAlignment textAlignment Not yet implemented. End() Ends the execution of the console driver. Declaration public abstract void End() EnsureCursorVisibility() Ensure the cursor visibility Declaration public abstract bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success GetAttribute() Gets the current Attribute . Declaration public abstract Attribute GetAttribute() Returns Type Description Attribute The current attribute. GetCursorVisibility(out CursorVisibility) Retreive the cursor caret visibility Declaration public abstract bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The current CursorVisibility Returns Type Description System.Boolean true upon success Init(Action) Initializes the driver Declaration public abstract void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Method to invoke when the terminal is resized. MakeAttribute(Color, Color) Make the attribute for the foreground and background colors. Declaration public abstract Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Foreground. Color back Background. Returns Type Description Attribute MakePrintable(Rune) Ensures a Rune is not a control character and can be displayed by translating characters below 0x20 to equivalent, printable, Unicode chars. Declaration public static Rune MakePrintable(Rune c) Parameters Type Name Description System.Rune c Rune to translate Returns Type Description System.Rune Move(Int32, Int32) Moves the cursor to the specified column and row. Declaration public abstract void Move(int col, int row) Parameters Type Name Description System.Int32 col Column to move the cursor to. System.Int32 row Row to move the cursor to. PrepareToRun(MainLoop, Action, Action, Action, Action) Prepare the driver and set the key and mouse events handlers. Declaration public abstract void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop The main loop. System.Action < KeyEvent > keyHandler The handler for ProcessKey System.Action < KeyEvent > keyDownHandler The handler for key down events System.Action < KeyEvent > keyUpHandler The handler for key up events System.Action < MouseEvent > mouseHandler The handler for mouse events Refresh() Updates the screen to reflect all the changes that have been done to the display buffer Declaration public abstract void Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Allows sending keys without typing on a keyboard. Declaration public abstract void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar The character key. System.ConsoleKey key The key. System.Boolean shift If shift key is sending. System.Boolean alt If alt key is sending. System.Boolean control If control key is sending. SetAttribute(Attribute) Selects the specified attribute as the attribute to use for future calls to AddRune, AddString. Declaration public abstract void SetAttribute(Attribute c) Parameters Type Name Description Attribute c C. SetColors(ConsoleColor, ConsoleColor) Set Colors from limit sets of colors. Declaration public abstract void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground Foreground. System.ConsoleColor background Background. SetColors(Int16, Int16) Advanced uses - set colors to any pre-set pairs, you would need to init_color that independently with the R, G, B values. Declaration public abstract void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId Foreground color identifier. System.Int16 backgroundColorId Background color identifier. SetCursorVisibility(CursorVisibility) Change the cursor caret visibility Declaration public abstract bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The wished CursorVisibility Returns Type Description System.Boolean true upon success SetTerminalResized(Action) Set the handler when the terminal is resized. Declaration public void SetTerminalResized(Action terminalResized) Parameters Type Name Description System.Action terminalResized StartReportingMouseMoves() Start of mouse moves. Declaration public abstract void StartReportingMouseMoves() StopReportingMouseMoves() Stop reporting mouses moves. Declaration public abstract void StopReportingMouseMoves() Suspend() Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver. Declaration public abstract void Suspend() UncookMouse() Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked. Declaration public abstract void UncookMouse() UpdateCursor() Updates the location of the cursor position Declaration public abstract void UpdateCursor() UpdateScreen() Redraws the physical screen with the contents that have been queued up via any of the printing commands. Declaration public abstract void UpdateScreen()" }, "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html": { "href": "api/Terminal.Gui/Terminal.Gui.CursorVisibility.html", @@ -72,7 +72,7 @@ "api/Terminal.Gui/Terminal.Gui.DateField.html": { "href": "api/Terminal.Gui/Terminal.Gui.DateField.html", "title": "Class DateField", - "keywords": "Class DateField Simple Date editing View Inheritance System.Object Responder View TextField DateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Frame TextField.Text TextField.Secret TextField.CursorPosition TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class DateField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The DateField View provides date editing functionality with mouse support. Constructors DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date DateField(Int32, Int32, DateTime, Boolean) Initializes a new instance of DateField using Absolute layout. Declaration public DateField(int x, int y, DateTime date, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.DateTime date Initial date contents. System.Boolean isShort If true, shows only two digits for the year. Properties Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime Remarks IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides TextField.MouseEvent(MouseEvent) OnDateChanged(DateTimeEventArgs) Event firing method for the DateChanged event. Declaration public virtual void OnDateChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.DateTime > args Event arguments ProcessKey(KeyEvent) 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 TextField.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Events DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> Remarks This event is raised when the Date property changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class DateField Simple Date editing View Inheritance System.Object Responder View TextField DateField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Frame TextField.Text TextField.Secret TextField.CursorPosition TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class DateField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The DateField View provides date editing functionality with mouse support. Constructors DateField() Initializes a new instance of DateField using Computed layout. Declaration public DateField() DateField(DateTime) Initializes a new instance of DateField using Computed layout. Declaration public DateField(DateTime date) Parameters Type Name Description System.DateTime date DateField(Int32, Int32, DateTime, Boolean) Initializes a new instance of DateField using Absolute layout. Declaration public DateField(int x, int y, DateTime date, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.DateTime date Initial date contents. System.Boolean isShort If true, shows only two digits for the year. Properties Date Gets or sets the date of the DateField . Declaration public DateTime Date { get; set; } Property Value Type Description System.DateTime Remarks IsShortFormat Get or set the date format for the widget. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnDateChanged(DateTimeEventArgs) Event firing method for the DateChanged event. Declaration public virtual void OnDateChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.DateTime > args Event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events DateChanged DateChanged event, raised when the Date property has changed. Declaration public event Action> DateChanged Event Type Type Description System.Action < DateTimeEventArgs < System.DateTime >> Remarks This event is raised when the Date property changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html": { "href": "api/Terminal.Gui/Terminal.Gui.DateTimeEventArgs-1.html", @@ -82,7 +82,7 @@ "api/Terminal.Gui/Terminal.Gui.Dialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.Dialog.html", "title": "Class Dialog", - "keywords": "Class Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.MouseEvent(MouseEvent) Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.WillPresent() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Dialog : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To run the Dialog modally, create the Dialog , and pass it to Run(Func) . This will execute the dialog until it terminates via the [ESC] or [CTRL-Q] key, or when one of the views or buttons added to the dialog calls RequestStop() . Constructors Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Use AddButton(Button) to add buttons to the dialog. Dialog(ustring, Int32, Int32, Button[]) Initializes a new instance of the Dialog class using Computed positioning and an optional set of Button s to display Declaration public Dialog(ustring title, int width, int height, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. System.Int32 width Width for the dialog. System.Int32 height Height for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks if width and height are both 0, the Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Dialog(ustring, Button[]) Initializes a new instance of the Dialog class using Computed positioning and with an optional set of Button s to display Declaration public Dialog(ustring title, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Methods AddButton(Button) Adds a Button to the Dialog , its layout will be controlled by the Dialog Declaration public void AddButton(Button button) Parameters Type Name Description Button button Button to add. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Toplevel.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Inheritance System.Object Responder View Toplevel Window Dialog FileDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Window.Title Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.MouseEvent(MouseEvent) Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.WillPresent() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Dialog : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks To run the Dialog modally, create the Dialog , and pass it to Run(Func) . This will execute the dialog until it terminates via the [ESC] or [CTRL-Q] key, or when one of the views or buttons added to the dialog calls RequestStop() . Constructors Dialog() Initializes a new instance of the Dialog class using Computed . Declaration public Dialog() Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Use AddButton(Button) to add buttons to the dialog. Dialog(ustring, Int32, Int32, Button[]) Initializes a new instance of the Dialog class using Computed positioning and an optional set of Button s to display Declaration public Dialog(ustring title, int width, int height, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. System.Int32 width Width for the dialog. System.Int32 height Height for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks if width and height are both 0, the Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Dialog(ustring, Button[]) Initializes a new instance of the Dialog class using Computed positioning and with an optional set of Button s to display Declaration public Dialog(ustring title, params Button[] buttons) Parameters Type Name Description NStack.ustring title Title for the dialog. Button [] buttons Optional buttons to lay out at the bottom of the dialog. Remarks Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container. After initialization use X , Y , Width , and Height to override this with a location or size. Methods AddButton(Button) Adds a Button to the Dialog , its layout will be controlled by the Dialog Declaration public void AddButton(Button button) Parameters Type Name Description Button button Button to add. ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides Toplevel.ProcessKey(KeyEvent) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Dim.html": { "href": "api/Terminal.Gui/Terminal.Gui.Dim.html", @@ -102,7 +102,7 @@ "api/Terminal.Gui/Terminal.Gui.FakeDriver.html": { "href": "api/Terminal.Gui/Terminal.Gui.FakeDriver.html", "title": "Class FakeDriver", - "keywords": "Class FakeDriver Implements a mock ConsoleDriver for unit testing Inheritance System.Object ConsoleDriver FakeDriver Inherited Members ConsoleDriver.TerminalResized ConsoleDriver.MakePrintable(Rune) ConsoleDriver.SetTerminalResized(Action) ConsoleDriver.DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) ConsoleDriver.Diagnostics ConsoleDriver.DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) 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.OnMeterSegment ConsoleDriver.OffMeterSegement System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FakeDriver : ConsoleDriver Constructors FakeDriver() Declaration public FakeDriver() Properties Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() End() Declaration public override void End() Overrides ConsoleDriver.End() EnsureCursorVisibility() Ensure the cursor visibility Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean true upon success Overrides ConsoleDriver.EnsureCursorVisibility() GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() GetCursorVisibility(out CursorVisibility) Retreive the cursor caret visibility Declaration public override bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The current CursorVisibility Returns Type Description System.Boolean true upon success Overrides ConsoleDriver.GetCursorVisibility(out CursorVisibility) Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) MakeAttribute(Color, Color) Declaration public override Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Color back Returns Type Description Attribute Overrides ConsoleDriver.MakeAttribute(Color, Color) Move(Int32, Int32) Declaration public override void Move(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Overrides ConsoleDriver.Move(Int32, Int32) PrepareToRun(MainLoop, Action, Action, Action, Action) Declaration public override void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop System.Action < KeyEvent > keyHandler System.Action < KeyEvent > keyDownHandler System.Action < KeyEvent > keyUpHandler System.Action < MouseEvent > mouseHandler Overrides ConsoleDriver.PrepareToRun(MainLoop, Action, Action, Action, Action) Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) SetColors(ConsoleColor, ConsoleColor) Declaration public override void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground System.ConsoleColor background Overrides ConsoleDriver.SetColors(ConsoleColor, ConsoleColor) SetColors(Int16, Int16) Declaration public override void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId System.Int16 backgroundColorId Overrides ConsoleDriver.SetColors(Int16, Int16) SetCursorVisibility(CursorVisibility) Change the cursor caret visibility Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility The wished CursorVisibility Returns Type Description System.Boolean true upon success Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() UpdateScreen() Declaration public override void UpdateScreen() Overrides ConsoleDriver.UpdateScreen()" + "keywords": "Class FakeDriver Implements a mock ConsoleDriver for unit testing Inheritance System.Object ConsoleDriver FakeDriver Inherited Members ConsoleDriver.TerminalResized ConsoleDriver.MakePrintable(Rune) ConsoleDriver.SetTerminalResized(Action) ConsoleDriver.DrawWindowTitle(Rect, ustring, Int32, Int32, Int32, Int32, TextAlignment) ConsoleDriver.Diagnostics ConsoleDriver.DrawWindowFrame(Rect, Int32, Int32, Int32, Int32, Boolean, Boolean) 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.OnMeterSegment ConsoleDriver.OffMeterSegement System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FakeDriver : ConsoleDriver Constructors FakeDriver() Declaration public FakeDriver() Properties Cols Declaration public override int Cols { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Cols Contents Assists with testing, the format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag Declaration public int[,, ] Contents { get; } Property Value Type Description System.Int32 [,,] HeightAsBuffer Declaration public override bool HeightAsBuffer { get; set; } Property Value Type Description System.Boolean Overrides ConsoleDriver.HeightAsBuffer Rows Declaration public override int Rows { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Rows Top Declaration public override int Top { get; } Property Value Type Description System.Int32 Overrides ConsoleDriver.Top Methods AddRune(Rune) Declaration public override void AddRune(Rune rune) Parameters Type Name Description System.Rune rune Overrides ConsoleDriver.AddRune(Rune) AddStr(ustring) Declaration public override void AddStr(ustring str) Parameters Type Name Description NStack.ustring str Overrides ConsoleDriver.AddStr(ustring) CookMouse() Declaration public override void CookMouse() Overrides ConsoleDriver.CookMouse() End() Declaration public override void End() Overrides ConsoleDriver.End() EnsureCursorVisibility() Declaration public override bool EnsureCursorVisibility() Returns Type Description System.Boolean Overrides ConsoleDriver.EnsureCursorVisibility() GetAttribute() Declaration public override Attribute GetAttribute() Returns Type Description Attribute Overrides ConsoleDriver.GetAttribute() GetCursorVisibility(out CursorVisibility) Declaration public override bool GetCursorVisibility(out CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.GetCursorVisibility(out CursorVisibility) Init(Action) Declaration public override void Init(Action terminalResized) Parameters Type Name Description System.Action terminalResized Overrides ConsoleDriver.Init(Action) MakeAttribute(Color, Color) Declaration public override Attribute MakeAttribute(Color fore, Color back) Parameters Type Name Description Color fore Color back Returns Type Description Attribute Overrides ConsoleDriver.MakeAttribute(Color, Color) Move(Int32, Int32) Declaration public override void Move(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Overrides ConsoleDriver.Move(Int32, Int32) PrepareToRun(MainLoop, Action, Action, Action, Action) Declaration public override void PrepareToRun(MainLoop mainLoop, Action keyHandler, Action keyDownHandler, Action keyUpHandler, Action mouseHandler) Parameters Type Name Description MainLoop mainLoop System.Action < KeyEvent > keyHandler System.Action < KeyEvent > keyDownHandler System.Action < KeyEvent > keyUpHandler System.Action < MouseEvent > mouseHandler Overrides ConsoleDriver.PrepareToRun(MainLoop, Action, Action, Action, Action) Refresh() Declaration public override void Refresh() Overrides ConsoleDriver.Refresh() SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) Declaration public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) Parameters Type Name Description System.Char keyChar System.ConsoleKey key System.Boolean shift System.Boolean alt System.Boolean control Overrides ConsoleDriver.SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) SetAttribute(Attribute) Declaration public override void SetAttribute(Attribute c) Parameters Type Name Description Attribute c Overrides ConsoleDriver.SetAttribute(Attribute) SetColors(ConsoleColor, ConsoleColor) Declaration public override void SetColors(ConsoleColor foreground, ConsoleColor background) Parameters Type Name Description System.ConsoleColor foreground System.ConsoleColor background Overrides ConsoleDriver.SetColors(ConsoleColor, ConsoleColor) SetColors(Int16, Int16) Declaration public override void SetColors(short foregroundColorId, short backgroundColorId) Parameters Type Name Description System.Int16 foregroundColorId System.Int16 backgroundColorId Overrides ConsoleDriver.SetColors(Int16, Int16) SetCursorVisibility(CursorVisibility) Declaration public override bool SetCursorVisibility(CursorVisibility visibility) Parameters Type Name Description CursorVisibility visibility Returns Type Description System.Boolean Overrides ConsoleDriver.SetCursorVisibility(CursorVisibility) StartReportingMouseMoves() Declaration public override void StartReportingMouseMoves() Overrides ConsoleDriver.StartReportingMouseMoves() StopReportingMouseMoves() Declaration public override void StopReportingMouseMoves() Overrides ConsoleDriver.StopReportingMouseMoves() Suspend() Declaration public override void Suspend() Overrides ConsoleDriver.Suspend() UncookMouse() Declaration public override void UncookMouse() Overrides ConsoleDriver.UncookMouse() UpdateCursor() Declaration public override void UpdateCursor() Overrides ConsoleDriver.UpdateCursor() UpdateScreen() Declaration public override void UpdateScreen() Overrides ConsoleDriver.UpdateScreen()" }, "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html": { "href": "api/Terminal.Gui/Terminal.Gui.FakeMainLoop.html", @@ -112,22 +112,117 @@ "api/Terminal.Gui/Terminal.Gui.FileDialog.html": { "href": "api/Terminal.Gui/Terminal.Gui.FileDialog.html", "title": "Class FileDialog", - "keywords": "Class FileDialog Base class for the OpenDialog and the SaveDialog Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.MouseEvent(MouseEvent) Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FileDialog : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FileDialog() Initializes a new FileDialog . Declaration public FileDialog() FileDialog(ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring message) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring message The message. FileDialog(ustring, ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameFieldLabel, ustring message) 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. FileDialog(ustring, ustring, ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameDirLabel, ustring nameFieldLabel, ustring message) 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. Properties AllowedFileTypes The array of filename extensions allowed, or null if all file extensions are allowed. Declaration public string[] AllowedFileTypes { get; set; } Property Value Type Description System.String [] The allowed file types. AllowsOtherFileTypes Gets or sets a value indicating whether this FileDialog allows the file to be saved with a different extension Declaration public bool AllowsOtherFileTypes { get; set; } Property Value Type Description System.Boolean true if allows other file types; otherwise, false . Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean CanCreateDirectories Gets or sets a value indicating whether this FileDialog can create directories. Declaration public bool CanCreateDirectories { get; set; } Property Value Type Description System.Boolean true if can create directories; otherwise, false . DirectoryPath Gets or sets the directory path for this panel Declaration public ustring DirectoryPath { get; set; } Property Value Type Description NStack.ustring The directory path. FilePath The File path that is currently shown on the panel Declaration public ustring FilePath { get; set; } Property Value Type Description NStack.ustring The absolute file path for the file path entered. IsExtensionHidden Gets or sets a value indicating whether this FileDialog is extension hidden. Declaration public bool IsExtensionHidden { get; set; } Property Value Type Description System.Boolean true if is extension hidden; otherwise, false . Message Gets or sets the message displayed to the user, defaults to nothing Declaration public ustring Message { get; set; } Property Value Type Description NStack.ustring The message. NameDirLabel Gets or sets the name of the directory field label. Declaration public ustring NameDirLabel { get; set; } Property Value Type Description NStack.ustring The name of the directory field label. NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. Prompt Gets or sets the prompt label for the Button displayed to the user Declaration public ustring Prompt { get; set; } Property Value Type Description NStack.ustring The prompt. Methods WillPresent() Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func) after the views have been laid out, and before the views are drawn for the first time. Declaration public override void WillPresent() Overrides Toplevel.WillPresent() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class FileDialog Base class for the OpenDialog and the SaveDialog Inheritance System.Object Responder View Toplevel Window Dialog FileDialog OpenDialog SaveDialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Dialog.AddButton(Button) Dialog.ProcessKey(KeyEvent) Window.Title Window.Add(View) Window.Remove(View) Window.RemoveAll() Window.Redraw(Rect) Window.MouseEvent(MouseEvent) Window.Text Window.TextAlignment Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FileDialog : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FileDialog() Initializes a new FileDialog . Declaration public FileDialog() FileDialog(ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring message) Parameters Type Name Description NStack.ustring title The title. NStack.ustring prompt The prompt. NStack.ustring message The message. FileDialog(ustring, ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameFieldLabel, ustring message) 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. FileDialog(ustring, ustring, ustring, ustring, ustring) Initializes a new instance of FileDialog Declaration public FileDialog(ustring title, ustring prompt, ustring nameDirLabel, ustring nameFieldLabel, ustring message) 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. Properties AllowedFileTypes The array of filename extensions allowed, or null if all file extensions are allowed. Declaration public string[] AllowedFileTypes { get; set; } Property Value Type Description System.String [] The allowed file types. AllowsOtherFileTypes Gets or sets a value indicating whether this FileDialog allows the file to be saved with a different extension Declaration public bool AllowsOtherFileTypes { get; set; } Property Value Type Description System.Boolean true if allows other file types; otherwise, false . Canceled Check if the dialog was or not canceled. Declaration public bool Canceled { get; } Property Value Type Description System.Boolean CanCreateDirectories Gets or sets a value indicating whether this FileDialog can create directories. Declaration public bool CanCreateDirectories { get; set; } Property Value Type Description System.Boolean true if can create directories; otherwise, false . DirectoryPath Gets or sets the directory path for this panel Declaration public ustring DirectoryPath { get; set; } Property Value Type Description NStack.ustring The directory path. FilePath The File path that is currently shown on the panel Declaration public ustring FilePath { get; set; } Property Value Type Description NStack.ustring The absolute file path for the file path entered. IsExtensionHidden Gets or sets a value indicating whether this FileDialog is extension hidden. Declaration public bool IsExtensionHidden { get; set; } Property Value Type Description System.Boolean true if is extension hidden; otherwise, false . Message Gets or sets the message displayed to the user, defaults to nothing Declaration public ustring Message { get; set; } Property Value Type Description NStack.ustring The message. NameDirLabel Gets or sets the name of the directory field label. Declaration public ustring NameDirLabel { get; set; } Property Value Type Description NStack.ustring The name of the directory field label. NameFieldLabel Gets or sets the name field label. Declaration public ustring NameFieldLabel { get; set; } Property Value Type Description NStack.ustring The name field label. Prompt Gets or sets the prompt label for the Button displayed to the user Declaration public ustring Prompt { get; set; } Property Value Type Description NStack.ustring The prompt. Methods WillPresent() Declaration public override void WillPresent() Overrides Toplevel.WillPresent() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.FrameView.html": { "href": "api/Terminal.Gui/Terminal.Gui.FrameView.html", "title": "Class FrameView", - "keywords": "Class FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. Inheritance System.Object Responder View FrameView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FrameView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() FrameView(ustring) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(ustring title) Parameters Type Name Description NStack.ustring title Title. FrameView(Rect, ustring) Initializes a new instance of the FrameView class using Absolute layout. Declaration public FrameView(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. FrameView(Rect, ustring, View[]) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(Rect frame, ustring title, View[] views) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. View [] views Views. Properties Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods Add(View) Add the specified View to this container. Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides View.Add(View) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a View from this container. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) Remarks RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. Inheritance System.Object Responder View FrameView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class FrameView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors FrameView() Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView() FrameView(ustring) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(ustring title) Parameters Type Name Description NStack.ustring title Title. FrameView(Rect, ustring) Initializes a new instance of the FrameView class using Absolute layout. Declaration public FrameView(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. FrameView(Rect, ustring, View[]) Initializes a new instance of the FrameView class using Computed layout. Declaration public FrameView(Rect frame, ustring title, View[] views) Parameters Type Name Description Rect frame Frame. NStack.ustring title Title. View [] views Views. Properties Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this FrameView . Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title. Methods Add(View) Add the specified View to this container. Declaration public override void Add(View view) Parameters Type Name Description View view View to add to this container Overrides View.Add(View) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Removes a View from this container. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) Remarks RemoveAll() Removes all View s from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html", + "title": "Class Axis", + "keywords": "Class Axis Renders a continuous line with grid line ticks and labels Inheritance System.Object Axis HorizontalAxis VerticalAxis 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.Graphs Assembly : Terminal.Gui.dll Syntax public abstract class Axis Constructors Axis(Orientation) Populates base properties and sets the read only Orientation Declaration protected Axis(Orientation orientation) Parameters Type Name Description Orientation orientation Fields LabelGetter Allows you to control what label text is rendered for a given Increment when ShowLabelsEvery is above 0 Declaration public LabelGetterDelegate LabelGetter Field Value Type Description LabelGetterDelegate Text Displayed below/to left of labels (see Orientation ). If text is not visible, check MarginBottom / MarginLeft Declaration public string Text Field Value Type Description System.String Properties Increment Number of units of graph space between ticks on axis. 0 for no ticks Declaration public float Increment { get; set; } Property Value Type Description System.Single Minimum The minimum axis point to show. Defaults to null (no minimum) Declaration public float? Minimum { get; set; } Property Value Type Description System.Nullable < System.Single > Orientation Direction of the axis Declaration public Orientation Orientation { get; } Property Value Type Description Orientation ShowLabelsEvery The number of Increment before an label is added. 0 = never show labels Declaration public uint ShowLabelsEvery { get; set; } Property Value Type Description System.UInt32 Visible True to render axis. Defaults to true Declaration public bool Visible { get; set; } Property Value Type Description System.Boolean Methods DrawAxisLabel(GraphView, Int32, String) Draws a custom label text at screenPosition units along the axis (X or Y depending on Orientation ) Declaration public abstract void DrawAxisLabel(GraphView graph, int screenPosition, string text) Parameters Type Name Description GraphView graph System.Int32 screenPosition System.String text DrawAxisLabels(GraphView) Draws labels and axis Increment ticks Declaration public abstract void DrawAxisLabels(GraphView graph) Parameters Type Name Description GraphView graph DrawAxisLine(GraphView) Draws the solid line of the axis Declaration public abstract void DrawAxisLine(GraphView graph) Parameters Type Name Description GraphView graph DrawAxisLine(GraphView, Int32, Int32) Draws a single cell of the solid line of the axis Declaration protected abstract void DrawAxisLine(GraphView graph, int x, int y) Parameters Type Name Description GraphView graph System.Int32 x System.Int32 y Reset() Resets all configurable properties of the axis to default values Declaration public virtual void Reset()" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html", + "title": "Class AxisIncrementToRender", + "keywords": "Class AxisIncrementToRender A location on an axis of a GraphView that may or may not have a label associated with it Inheritance System.Object AxisIncrementToRender 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.Graphs Assembly : Terminal.Gui.dll Syntax public class AxisIncrementToRender Constructors AxisIncrementToRender(Orientation, Int32, Single) Describe a new section of an axis that requires an axis increment symbol and/or label Declaration public AxisIncrementToRender(Orientation orientation, int screen, float value) Parameters Type Name Description Orientation orientation System.Int32 screen System.Single value Properties Orientation Direction of the parent axis Declaration public Orientation Orientation { get; } Property Value Type Description Orientation ScreenLocation The screen location (X or Y depending on Orientation ) that the increment will be rendered at Declaration public int ScreenLocation { get; } Property Value Type Description System.Int32 Value The value at this position on the axis in graph space Declaration public float Value { get; } Property Value Type Description System.Single" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html", + "title": "Class BarSeries.Bar", + "keywords": "Class BarSeries.Bar A single bar in a BarSeries Inheritance System.Object BarSeries.Bar 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.Graphs Assembly : Terminal.Gui.dll Syntax public class Bar Constructors Bar(String, GraphCellToRender, Single) Creates a new instance of a single bar rendered in the given fill that extends out value graph space units in the default Orientation Declaration public Bar(string text, GraphCellToRender fill, float value) Parameters Type Name Description System.String text GraphCellToRender fill System.Single value Properties Fill The color and character that will be rendered in the console when the bar extends over it Declaration public GraphCellToRender Fill { get; set; } Property Value Type Description GraphCellToRender Text Optional text that describes the bar. This will be rendered on the corresponding Axis unless DrawLabels is false Declaration public string Text { get; set; } Property Value Type Description System.String Value The value in graph space X/Y (depending on Orientation ) to which the bar extends. Declaration public float Value { get; } Property Value Type Description System.Single" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html", + "title": "Class BarSeries", + "keywords": "Class BarSeries Series of bars positioned at regular intervals Inheritance System.Object BarSeries Implements ISeries 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.Graphs Assembly : Terminal.Gui.dll Syntax public class BarSeries : ISeries Properties BarEvery Determines the spacing of bars along the axis. Defaults to 1 i.e. every 1 unit of graph space a bar is rendered. Note that you should also consider CellSize when changing this. Declaration public float BarEvery { get; set; } Property Value Type Description System.Single Bars Ordered collection of graph bars to position along axis Declaration public List Bars { get; set; } Property Value Type Description System.Collections.Generic.List < BarSeries.Bar > DrawLabels True to draw Text along the axis under the bar. Defaults to true. Declaration public bool DrawLabels { get; set; } Property Value Type Description System.Boolean Offset The number of units of graph space along the axis before rendering the first bar (and subsequent bars - see BarEvery ). Defaults to 0 Declaration public float Offset { get; set; } Property Value Type Description System.Single Orientation Direction bars protrude from the corresponding axis. Defaults to vertical Declaration public Orientation Orientation { get; set; } Property Value Type Description Orientation OverrideBarColor Overrides the Fill with a fixed color Declaration public Attribute? OverrideBarColor { get; set; } Property Value Type Description System.Nullable < Attribute > Methods AdjustColor(GraphCellToRender) Applies any color overriding Declaration protected virtual GraphCellToRender AdjustColor(GraphCellToRender graphCellToRender) Parameters Type Name Description GraphCellToRender graphCellToRender Returns Type Description GraphCellToRender DrawBarLine(GraphView, Point, Point, BarSeries.Bar) Override to do custom drawing of the bar e.g. to apply varying color or changing the fill symbol mid bar. Declaration protected virtual void DrawBarLine(GraphView graph, Point start, Point end, BarSeries.Bar beingDrawn) Parameters Type Name Description GraphView graph Point start Screen position of the start of the bar Point end Screen position of the end of the bar BarSeries.Bar beingDrawn The Bar that occupies this space and is being drawn DrawSeries(GraphView, Rect, RectangleF) Draws bars that are currently in the drawBounds Declaration public virtual void DrawSeries(GraphView graph, Rect drawBounds, RectangleF graphBounds) Parameters Type Name Description GraphView graph Rect drawBounds Screen area of the graph excluding margins RectangleF graphBounds Graph space area that should be drawn into drawBounds Implements ISeries" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html", + "title": "Class GraphCellToRender", + "keywords": "Class GraphCellToRender Describes how to render a single row/column of a GraphView based on the value(s) in ISeries at that location Inheritance System.Object GraphCellToRender 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.Graphs Assembly : Terminal.Gui.dll Syntax public class GraphCellToRender Constructors GraphCellToRender(Rune) Creates instance and sets Rune with default graph coloring Declaration public GraphCellToRender(Rune rune) Parameters Type Name Description System.Rune rune GraphCellToRender(Rune, Nullable) Creates instance and sets Rune and Color (or default if null) Declaration public GraphCellToRender(Rune rune, Attribute? color) Parameters Type Name Description System.Rune rune System.Nullable < Attribute > color GraphCellToRender(Rune, Attribute) Creates instance and sets Rune with custom graph coloring Declaration public GraphCellToRender(Rune rune, Attribute color) Parameters Type Name Description System.Rune rune Attribute color Properties Color Optional color to render the Rune with Declaration public Attribute? Color { get; set; } Property Value Type Description System.Nullable < Attribute > Rune The character to render in the console Declaration public Rune Rune { get; set; } Property Value Type Description System.Rune" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html", + "title": "Class HorizontalAxis", + "keywords": "Class HorizontalAxis The horizontal (x axis) of a GraphView Inheritance System.Object Axis HorizontalAxis Inherited Members Axis.Orientation Axis.Increment Axis.ShowLabelsEvery Axis.Visible Axis.LabelGetter Axis.Text Axis.Minimum Axis.Reset() 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.Graphs Assembly : Terminal.Gui.dll Syntax public class HorizontalAxis : Axis Constructors HorizontalAxis() Creates a new instance of axis with an Orientation of Horizontal Declaration public HorizontalAxis() Methods DrawAxisLabel(GraphView, Int32, String) Draws the given text on the axis at x screenPosition . For the screen y position use GetAxisYPosition(GraphView) Declaration public override void DrawAxisLabel(GraphView graph, int screenPosition, string text) Parameters Type Name Description GraphView graph Graph being drawn onto System.Int32 screenPosition Number of screen columns along the axis to take before rendering System.String text Text to render under the axis tick Overrides Axis.DrawAxisLabel(GraphView, Int32, String) DrawAxisLabels(GraphView) Draws the horizontal x axis labels and Increment ticks Declaration public override void DrawAxisLabels(GraphView graph) Parameters Type Name Description GraphView graph Overrides Axis.DrawAxisLabels(GraphView) DrawAxisLine(GraphView) Draws the horizontal axis line Declaration public override void DrawAxisLine(GraphView graph) Parameters Type Name Description GraphView graph Overrides Axis.DrawAxisLine(GraphView) DrawAxisLine(GraphView, Int32, Int32) Draws a horizontal axis line at the given x , y screen coordinates Declaration protected override void DrawAxisLine(GraphView graph, int x, int y) Parameters Type Name Description GraphView graph System.Int32 x System.Int32 y Overrides Axis.DrawAxisLine(GraphView, Int32, Int32) GetAxisYPosition(GraphView) Returns the Y screen position of the origin (typically 0,0) of graph space. Return value is bounded by the screen i.e. the axis is always rendered even if the origin is offscreen. Declaration public int GetAxisYPosition(GraphView graph) Parameters Type Name Description GraphView graph Returns Type Description System.Int32" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.html", + "title": "Namespace Terminal.Gui.Graphs", + "keywords": "Namespace Terminal.Gui.Graphs Classes Axis Renders a continuous line with grid line ticks and labels AxisIncrementToRender A location on an axis of a GraphView that may or may not have a label associated with it BarSeries Series of bars positioned at regular intervals BarSeries.Bar A single bar in a BarSeries GraphCellToRender Describes how to render a single row/column of a GraphView based on the value(s) in ISeries at that location HorizontalAxis The horizontal (x axis) of a GraphView LegendAnnotation A box containing symbol definitions e.g. meanings for colors in a graph. The 'Key' to the graph MultiBarSeries Collection of BarSeries in which bars are clustered by category PathAnnotation Sequence of lines to connect points e.g. of a ScatterSeries PathAnnotation.LineF Describes two points in graph space and a line between them ScatterSeries Series composed of any number of discrete data points TextAnnotation Displays text at a given position (in screen space or graph space) VerticalAxis The vertical (i.e. Y axis) of a GraphView Interfaces IAnnotation Describes an overlay element that is rendered either before or after a series. Annotations can be positioned either in screen space (e.g. a legend) or in graph space (e.g. a line showing high point) Unlike ISeries , annotations are allowed to draw into graph margins ISeries Describes a series of data that can be rendered into a GraphView > Enums Orientation Direction of an element (horizontal or vertical) Delegates LabelGetterDelegate Delegate for custom formatting of axis labels. Determines what should be displayed at a given label" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html", + "title": "Interface IAnnotation", + "keywords": "Interface IAnnotation Describes an overlay element that is rendered either before or after a series. Annotations can be positioned either in screen space (e.g. a legend) or in graph space (e.g. a line showing high point) Unlike ISeries , annotations are allowed to draw into graph margins Namespace : Terminal.Gui.Graphs Assembly : Terminal.Gui.dll Syntax public interface IAnnotation Properties BeforeSeries True if annotation should be drawn before ISeries . This allowes Series and later annotations to potentially draw over the top of this annotation. Declaration bool BeforeSeries { get; } Property Value Type Description System.Boolean Methods Render(GraphView) Called once after series have been rendered (or before if BeforeSeries is true). Use Driver to draw and Bounds to avoid drawing outside of graph Declaration void Render(GraphView graph) Parameters Type Name Description GraphView graph" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html", + "title": "Interface ISeries", + "keywords": "Interface ISeries Describes a series of data that can be rendered into a GraphView > Namespace : Terminal.Gui.Graphs Assembly : Terminal.Gui.dll Syntax public interface ISeries Methods DrawSeries(GraphView, Rect, RectangleF) Draws the graphBounds section of a series into the graph view drawBounds Declaration void DrawSeries(GraphView graph, Rect drawBounds, RectangleF graphBounds) Parameters Type Name Description GraphView graph Graph series is to be drawn onto Rect drawBounds Visible area of the graph in Console Screen units (excluding margins) RectangleF graphBounds Visible area of the graph in Graph space units" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html", + "title": "Delegate LabelGetterDelegate", + "keywords": "Delegate LabelGetterDelegate Delegate for custom formatting of axis labels. Determines what should be displayed at a given label Namespace : Terminal.Gui.Graphs Assembly : Terminal.Gui.dll Syntax public delegate string LabelGetterDelegate(AxisIncrementToRender toRender); Parameters Type Name Description AxisIncrementToRender toRender The axis increment to which the label is attached Returns Type Description System.String" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html", + "title": "Class LegendAnnotation", + "keywords": "Class LegendAnnotation A box containing symbol definitions e.g. meanings for colors in a graph. The 'Key' to the graph Inheritance System.Object LegendAnnotation Implements IAnnotation 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.Graphs Assembly : Terminal.Gui.dll Syntax public class LegendAnnotation : IAnnotation Constructors LegendAnnotation(Rect) Creates a new empty legend at the given screen coordinates Declaration public LegendAnnotation(Rect legendBounds) Parameters Type Name Description Rect legendBounds Defines the area available for the legend to render in (within the graph). This is in screen units (i.e. not graph space) Properties BeforeSeries Returns false i.e. Lengends render after series Declaration public bool BeforeSeries { get; } Property Value Type Description System.Boolean Border True to draw a solid border around the legend. Defaults to true. This border will be within the Bounds and so reduces the width/height available for text by 2 Declaration public bool Border { get; set; } Property Value Type Description System.Boolean Bounds Defines the screen area available for the legend to render in Declaration public Rect Bounds { get; set; } Property Value Type Description Rect Methods AddEntry(GraphCellToRender, String) Adds an entry into the legend. Duplicate entries are permissable Declaration public void AddEntry(GraphCellToRender graphCellToRender, string text) Parameters Type Name Description GraphCellToRender graphCellToRender The symbol appearing on the graph that should appear in the legend System.String text Text to render on this line of the legend. Will be truncated if outside of Legend Bounds Render(GraphView) Draws the Legend and all entries into the area within Bounds Declaration public void Render(GraphView graph) Parameters Type Name Description GraphView graph Implements IAnnotation" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html", + "title": "Class MultiBarSeries", + "keywords": "Class MultiBarSeries Collection of BarSeries in which bars are clustered by category Inheritance System.Object MultiBarSeries Implements ISeries 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.Graphs Assembly : Terminal.Gui.dll Syntax public class MultiBarSeries : ISeries Constructors MultiBarSeries(Int32, Single, Single, Attribute[]) Creates a new series of clustered bars. Declaration public MultiBarSeries(int numberOfBarsPerCategory, float barsEvery, float spacing, Attribute[] colors = null) Parameters Type Name Description System.Int32 numberOfBarsPerCategory Each category has this many bars System.Single barsEvery How far appart to put each category (in graph space) System.Single spacing How much spacing between bars in a category (should be less than barsEvery / numberOfBarsPerCategory ) Attribute [] colors Array of colors that define bar color in each category. Length must match numberOfBarsPerCategory Properties Spacing The number of units of graph space between bars. Should be less than BarEvery Declaration public float Spacing { get; } Property Value Type Description System.Single SubSeries Sub collections. Each series contains the bars for a different category. Thus SubSeries[0].Bars[0] is the first bar on the axis and SubSeries[1].Bars[0] is the second etc Declaration public IReadOnlyCollection SubSeries { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < BarSeries > Methods AddBars(String, Rune, Single[]) Adds a new cluster of bars Declaration public void AddBars(string label, Rune fill, params float[] values) Parameters Type Name Description System.String label System.Rune fill System.Single [] values Values for each bar in category, must match the number of bars per category DrawSeries(GraphView, Rect, RectangleF) Draws all SubSeries Declaration public void DrawSeries(GraphView graph, Rect drawBounds, RectangleF graphBounds) Parameters Type Name Description GraphView graph Rect drawBounds RectangleF graphBounds Implements ISeries" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html", + "title": "Enum Orientation", + "keywords": "Enum Orientation Direction of an element (horizontal or vertical) Namespace : Terminal.Gui.Graphs Assembly : Terminal.Gui.dll Syntax public enum Orientation Fields Name Description Horizontal Left to right Vertical Bottom to top" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html", + "title": "Class PathAnnotation", + "keywords": "Class PathAnnotation Sequence of lines to connect points e.g. of a ScatterSeries Inheritance System.Object PathAnnotation Implements IAnnotation 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.Graphs Assembly : Terminal.Gui.dll Syntax public class PathAnnotation : IAnnotation Properties BeforeSeries True to add line before plotting series. Defaults to false Declaration public bool BeforeSeries { get; set; } Property Value Type Description System.Boolean LineColor Color for the line that connects points Declaration public Attribute? LineColor { get; set; } Property Value Type Description System.Nullable < Attribute > LineRune The symbol that gets drawn along the line, defaults to '.' Declaration public Rune LineRune { get; set; } Property Value Type Description System.Rune Points Points that should be connected. Lines will be drawn between points in the order they appear in the list Declaration public List Points { get; set; } Property Value Type Description System.Collections.Generic.List < PointF > Methods Render(GraphView) Draws lines connecting each of the Points Declaration public void Render(GraphView graph) Parameters Type Name Description GraphView graph Implements IAnnotation" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html", + "title": "Class PathAnnotation.LineF", + "keywords": "Class PathAnnotation.LineF Describes two points in graph space and a line between them Inheritance System.Object PathAnnotation.LineF 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.Graphs Assembly : Terminal.Gui.dll Syntax public class LineF Constructors LineF(PointF, PointF) Creates a new line between the points Declaration public LineF(PointF start, PointF end) Parameters Type Name Description PointF start PointF end Properties End The end point of the line Declaration public PointF End { get; } Property Value Type Description PointF Start The start of the line Declaration public PointF Start { get; } Property Value Type Description PointF" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html", + "title": "Class ScatterSeries", + "keywords": "Class ScatterSeries Series composed of any number of discrete data points Inheritance System.Object ScatterSeries Implements ISeries 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.Graphs Assembly : Terminal.Gui.dll Syntax public class ScatterSeries : ISeries Properties Fill The color and character that will be rendered in the console when there are point(s) in the corresponding graph space. Defaults to uncolored 'x' Declaration public GraphCellToRender Fill { get; set; } Property Value Type Description GraphCellToRender Points Collection of each discrete point in the series Declaration public List Points { get; set; } Property Value Type Description System.Collections.Generic.List < PointF > Methods DrawSeries(GraphView, Rect, RectangleF) Draws all points directly onto the graph Declaration public void DrawSeries(GraphView graph, Rect drawBounds, RectangleF graphBounds) Parameters Type Name Description GraphView graph Rect drawBounds RectangleF graphBounds Implements ISeries" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html", + "title": "Class TextAnnotation", + "keywords": "Class TextAnnotation Displays text at a given position (in screen space or graph space) Inheritance System.Object TextAnnotation Implements IAnnotation 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.Graphs Assembly : Terminal.Gui.dll Syntax public class TextAnnotation : IAnnotation Properties BeforeSeries True to add text before plotting series. Defaults to false Declaration public bool BeforeSeries { get; set; } Property Value Type Description System.Boolean GraphPosition The location in graph space to draw the Text . This annotation will only show if the point is in the current viewable area of the graph presented in the GraphView Declaration public PointF GraphPosition { get; set; } Property Value Type Description PointF ScreenPosition The location on screen to draw the Text regardless of scroll/zoom settings. This overrides GraphPosition if specified. Declaration public Point? ScreenPosition { get; set; } Property Value Type Description System.Nullable < Point > Text Text to display on the graph Declaration public string Text { get; set; } Property Value Type Description System.String Methods DrawText(GraphView, Int32, Int32) Draws the Text at the given coordinates with truncation to avoid spilling over of the graph Declaration protected void DrawText(GraphView graph, int x, int y) Parameters Type Name Description GraphView graph System.Int32 x Screen x position to start drawing string System.Int32 y Screen y position to start drawing string Render(GraphView) Draws the annotation Declaration public void Render(GraphView graph) Parameters Type Name Description GraphView graph Implements IAnnotation" + }, + "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html": { + "href": "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html", + "title": "Class VerticalAxis", + "keywords": "Class VerticalAxis The vertical (i.e. Y axis) of a GraphView Inheritance System.Object Axis VerticalAxis Inherited Members Axis.Orientation Axis.Increment Axis.ShowLabelsEvery Axis.Visible Axis.LabelGetter Axis.Text Axis.Minimum Axis.Reset() 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.Graphs Assembly : Terminal.Gui.dll Syntax public class VerticalAxis : Axis Constructors VerticalAxis() Creates a new Vertical axis Declaration public VerticalAxis() Methods DrawAxisLabel(GraphView, Int32, String) Draws the given text on the axis at y screenPosition . For the screen x position use GetAxisXPosition(GraphView) Declaration public override void DrawAxisLabel(GraphView graph, int screenPosition, string text) Parameters Type Name Description GraphView graph Graph being drawn onto System.Int32 screenPosition Number of rows from the top of the screen (i.e. down the axis) before rendering System.String text Text to render to the left of the axis tick. Ensure to set MarginLeft or ScrollOffset sufficient that it is visible Overrides Axis.DrawAxisLabel(GraphView, Int32, String) DrawAxisLabels(GraphView) Draws axis Increment markers and labels Declaration public override void DrawAxisLabels(GraphView graph) Parameters Type Name Description GraphView graph Overrides Axis.DrawAxisLabels(GraphView) DrawAxisLine(GraphView) Draws the vertical axis line Declaration public override void DrawAxisLine(GraphView graph) Parameters Type Name Description GraphView graph Overrides Axis.DrawAxisLine(GraphView) DrawAxisLine(GraphView, Int32, Int32) Draws a vertical axis line at the given x , y screen coordinates Declaration protected override void DrawAxisLine(GraphView graph, int x, int y) Parameters Type Name Description GraphView graph System.Int32 x System.Int32 y Overrides Axis.DrawAxisLine(GraphView, Int32, Int32) GetAxisXPosition(GraphView) Returns the X screen position of the origin (typically 0,0) of graph space. Return value is bounded by the screen i.e. the axis is always rendered even if the origin is offscreen. Declaration public int GetAxisXPosition(GraphView graph) Parameters Type Name Description GraphView graph Returns Type Description System.Int32" + }, + "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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class GraphView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors GraphView() Creates a new graph with a 1 to 1 graph space with absolute layout Declaration public GraphView() Properties Annotations Elements drawn into graph after series have been drawn e.g. Legends etc Declaration public List Annotations { get; } Property Value Type Description System.Collections.Generic.List < IAnnotation > AxisX Horizontal axis Declaration public HorizontalAxis AxisX { get; set; } Property Value Type Description HorizontalAxis AxisY Vertical axis Declaration public VerticalAxis AxisY { get; set; } Property Value Type Description VerticalAxis CellSize Translates console width/height into graph space. Defaults to 1 row/col of console space being 1 unit of graph space. Declaration public PointF CellSize { get; set; } Property Value Type Description PointF GraphColor The color of the background of the graph and axis/labels Declaration public Attribute? GraphColor { get; set; } Property Value Type Description System.Nullable < Attribute > MarginBottom Amount of space to leave on bottom of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginBottom { get; set; } Property Value Type Description System.UInt32 MarginLeft Amount of space to leave on left of control. Graph content ( Series ) will not be rendered in margins but axis labels may be Declaration public uint MarginLeft { get; set; } Property Value Type Description System.UInt32 ScrollOffset The graph space position of the bottom left of the control. Changing this scrolls the viewport around in the graph Declaration public PointF ScrollOffset { get; set; } Property Value Type Description PointF Series Collection of data series that are rendered in the graph Declaration public List Series { get; } Property Value Type Description System.Collections.Generic.List < ISeries > Methods DrawLine(Point, Point, Rune) Draws a line between two points in screen space. Can be diagonals. Declaration public void DrawLine(Point start, Point end, Rune symbol) Parameters Type Name Description Point start Point end System.Rune symbol The symbol to use for the line GraphSpaceToScreen(PointF) Calculates the screen location for a given point in graph space. Bear in mind these be off screen Declaration public Point GraphSpaceToScreen(PointF location) Parameters Type Name Description PointF location Point in graph space that may or may not be represented in the visible area of graph currently presented. E.g. 0,0 for origin Returns Type Description Point Screen position (Column/Row) which would be used to render the graph location . Note that this can be outside the current client area of the control ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Reset() Clears all settings configured on the graph and resets all properties to default values ( CellSize , ScrollOffset etc) Declaration public void Reset() ScreenToGraphSpace(Int32, Int32) Returns the section of the graph that is represented by the given screen position Declaration public RectangleF ScreenToGraphSpace(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description RectangleF ScreenToGraphSpace(Rect) Returns the section of the graph that is represented by the screen area Declaration public RectangleF ScreenToGraphSpace(Rect screenArea) Parameters Type Name Description Rect screenArea Returns Type Description RectangleF 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.html": { "href": "api/Terminal.Gui/Terminal.Gui.HexView.html", "title": "Class HexView", - "keywords": "Class HexView An hex viewer and editor View over a System.IO.Stream Inheritance System.Object Responder View HexView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) 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 HexView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks HexView provides a hex editor on top of a seekable System.IO.Stream with the left side showing an hex dump of the values in the System.IO.Stream and the right side showing the contents (filtered to non-control sequence ASCII characters). Users can switch from one side to the other by using the tab key. To enable editing, set AllowEdits to true. When AllowEdits is true the user can make changes to the hexadecimal values of the System.IO.Stream . Any changes are tracked in the Edits property (a System.Collections.Generic.SortedDictionary`2 ) indicating the position where the changes were made and the new values. A convenience method, ApplyEdits() will apply the edits to the System.IO.Stream . Control the first byte shown by setting the DisplayStart property to an offset in the stream. Constructors HexView() Initialzies a HexView class using Computed layout. Declaration public HexView() HexView(Stream) Initialzies a HexView class using Computed layout. Declaration public HexView(Stream source) Parameters Type Name Description System.IO.Stream source The System.IO.Stream to view and edit as hex, this System.IO.Stream must support seeking, or an exception will be thrown. Properties AllowEdits Gets or sets whether this HexView allow editing of the System.IO.Stream of the underlying System.IO.Stream . Declaration public bool AllowEdits { get; set; } Property Value Type Description System.Boolean true if allow edits; otherwise, false . DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility DisplayStart Sets or gets the offset into the System.IO.Stream that will displayed at the top of the HexView Declaration public long DisplayStart { get; set; } Property Value Type Description System.Int64 The display start. Edits Gets a System.Collections.Generic.SortedDictionary`2 describing the edits done to the HexView . Each Key indicates an offset where an edit was made and the Value is the changed byte. Declaration public IReadOnlyDictionary Edits { get; } Property Value Type Description System.Collections.Generic.IReadOnlyDictionary < System.Int64 , System.Byte > The edits. Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public override Rect Frame { get; set; } Property Value Type Description Rect The frame. Overrides View.Frame Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . Source Sets or gets the System.IO.Stream the HexView is operating on; the stream must support seeking ( System.IO.Stream.CanSeek == true). Declaration public Stream Source { get; set; } Property Value Type Description System.IO.Stream The source. Methods ApplyEdits() This method applies andy edits made to the System.IO.Stream and resets the contents of the Edits property Declaration public void ApplyEdits() PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class HexView An hex viewer and editor View over a System.IO.Stream Inheritance System.Object Responder View HexView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) 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 HexView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks HexView provides a hex editor on top of a seekable System.IO.Stream with the left side showing an hex dump of the values in the System.IO.Stream and the right side showing the contents (filtered to non-control sequence ASCII characters). Users can switch from one side to the other by using the tab key. To enable editing, set AllowEdits to true. When AllowEdits is true the user can make changes to the hexadecimal values of the System.IO.Stream . Any changes are tracked in the Edits property (a System.Collections.Generic.SortedDictionary`2 ) indicating the position where the changes were made and the new values. A convenience method, ApplyEdits() will apply the edits to the System.IO.Stream . Control the first byte shown by setting the DisplayStart property to an offset in the stream. Constructors HexView() Initialzies a HexView class using Computed layout. Declaration public HexView() HexView(Stream) Initialzies a HexView class using Computed layout. Declaration public HexView(Stream source) Parameters Type Name Description System.IO.Stream source The System.IO.Stream to view and edit as hex, this System.IO.Stream must support seeking, or an exception will be thrown. Properties AllowEdits Gets or sets whether this HexView allow editing of the System.IO.Stream of the underlying System.IO.Stream . Declaration public bool AllowEdits { get; set; } Property Value Type Description System.Boolean true if allow edits; otherwise, false . DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility DisplayStart Sets or gets the offset into the System.IO.Stream that will displayed at the top of the HexView Declaration public long DisplayStart { get; set; } Property Value Type Description System.Int64 The display start. Edits Gets a System.Collections.Generic.SortedDictionary`2 describing the edits done to the HexView . Each Key indicates an offset where an edit was made and the Value is the changed byte. Declaration public IReadOnlyDictionary Edits { get; } Property Value Type Description System.Collections.Generic.IReadOnlyDictionary < System.Int64 , System.Byte > The edits. Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame Source Sets or gets the System.IO.Stream the HexView is operating on; the stream must support seeking ( System.IO.Stream.CanSeek == true). Declaration public Stream Source { get; set; } Property Value Type Description System.IO.Stream The source. Methods ApplyEdits() This method applies andy edits made to the System.IO.Stream and resets the contents of the Edits property Declaration public void ApplyEdits() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.html": { "href": "api/Terminal.Gui/Terminal.Gui.html", "title": "Namespace Terminal.Gui", - "keywords": "Namespace Terminal.Gui Classes Application A static, singelton class provding the main application driver for Terminal.Gui apps. Application.ResizedEventArgs Event arguments for the Resized event. Application.RunState Captures the execution state for the provided Terminal.Gui.Application.RunState.Toplevel view. Button Button is a View that provides an item that invokes an System.Action when activated by the user. CheckBox The CheckBox View shows an on/off toggle that the user can set Clipboard Provides cut, copy, and paste support for the clipboard. NOTE: Currently not implemented. Colors The default ColorScheme s for the application. ColorScheme Color scheme definitions, they cover some common scenarios and are used typically in containers such as Window and FrameView to set the scheme that is used by all the views contained inside. ComboBox ComboBox control ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. DateField Simple Date editing View DateTimeEventArgs Defines the event arguments for DateChanged and TimeChanged events. Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Dim Dim properties of a View to control the position. FakeConsole FakeDriver Implements a mock ConsoleDriver for unit testing FakeMainLoop Mainloop intended to be used with the .NET System.Console API, and can be used on Windows and Unix, it is cross platform but lacks things like file descriptor monitoring. FileDialog Base class for the OpenDialog and the SaveDialog FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. HexView An hex viewer and editor View over a System.IO.Stream KeyEvent Describes a keyboard event. KeyModifiers Identifies the state of the \"shift\"-keys within a event. Label The Label View displays a string at a given position and supports multiple lines separted by newline characters. Multi-line Labels support word wrap. ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. ListViewItemEventArgs System.EventArgs for ListView events. ListWrapper Implements an IListDataSource that renders arbitrary System.Collections.IList instances for ListView . MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. MenuBar The MenuBar provides a menu for Terminal.Gui applications. MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. MessageBox MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from. OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. Pos Describes the position of a View which can be an absolute value, a percentage, centered, or relative to the ending dimension. Integer values are implicitly convertible to an absolute Pos . These objects are created using the static methods Percent, AnchorEnd, and Center. The Pos objects can be combined with the addition and subtraction operators. ProgressBar A Progress Bar view that can indicate progress of an activity visually. RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time RadioGroup.SelectedItemChangedArgs Event arguments for the SelectedItemChagned event. Responder Responder base class implemented by objects that want to participate on keyboard and mouse input. SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. ShortcutHelper Represents a helper to manipulate shortcut keys used on views. StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. StatusItem StatusItem objects are contained by StatusBar View s. Each StatusItem has a title, a shortcut (hotkey), and an Action that will be invoked when the Shortcut is pressed. The Shortcut will be a global hotkey for the application in the current context of the screen. The colour of the Title will be changed after each ~. A Title set to `~F1~ Help` will render as *F1* using HotNormal and *Help* as HotNormal . TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . TableView.CellActivatedEventArgs Defines the event arguments for CellActivated event TableView.ColumnStyle Describes how to render a given column in a TableView including Alignment and textual representation of cells (e.g. date formats) See TableView Deep Dive for more information . TableView.SelectedCellChangedEventArgs Defines the event arguments for SelectedCellChanged TableView.TableSelection Describes a selected region of the table TableView.TableStyle Defines rendering options that affect how the table is displayed. See TableView Deep Dive for more information . TabView Control that hosts multiple sub views, presenting a single one at once TabView.Tab A single tab in a TabView TabView.TabChangedEventArgs Describes a change in SelectedTab TabView.TabStyle Describes render stylistic selections of a TabView TextChangingEventArgs An System.EventArgs which allows passing a cancelable new text value event. TextField Single-line text entry View TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. TextValidateField Text field that validates input through a ITextValidateProvider TextView Multi-line text editing View TimeField Time editing View Toplevel Toplevel views can be modally executed. TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . View View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views. View.FocusEventArgs Defines the event arguments for Terminal.Gui.View.SetFocus(Terminal.Gui.View) View.KeyEventEventArgs Defines the event arguments for KeyEvent View.LayoutEventArgs Event arguments for the LayoutComplete event. View.MouseEventArgs Specifies the event arguments for MouseEvent Window A Toplevel View that draws a border around its Frame with a Title at the top. Structs Attribute Attributes are used as elements that contain both a foreground and a background or platform specific features MouseEvent Describes a mouse event Point Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. Rect Stores a set of four integers that represent the location and size of a rectangle Size Stores an ordered pair of integers, which specify a Height and Width. Interfaces IListDataSource Implement IListDataSource to provide custom rendering for a ListView . IMainLoopDriver Public interface to create your own platform specific main loop driver. ITreeView Interface for all non generic members of TreeView See TreeView Deep Dive for more information . Enums Color Basic colors that can be used to set the foreground and background colors in console applications. ConsoleDriver.DiagnosticFlags Enables diagnostic functions CursorVisibility Cursors Visibility that are displayed DisplayModeLayout Used for choose the display mode of this RadioGroup Key The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed. LayoutStyle Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computed, then the Frame will be updated from the X, Y Pos objects and the Width and Height Dim objects. MenuItemCheckStyle Specifies how a MenuItem shows selection state. MouseFlags Mouse flags reported in MouseEvent . TextAlignment Text alignment enumeration, controls how text is displayed. TextDirection Text direction enumeration, controls how text is displayed. VerticalTextAlignment Vertical text alignment enumeration, controls how text is displayed." + "keywords": "Namespace Terminal.Gui Classes Application A static, singelton class provding the main application driver for Terminal.Gui apps. Application.ResizedEventArgs Event arguments for the Resized event. Application.RunState Captures the execution state for the provided Terminal.Gui.Application.RunState.Toplevel view. Button Button is a View that provides an item that invokes an System.Action when activated by the user. CheckBox The CheckBox View shows an on/off toggle that the user can set Clipboard Provides cut, copy, and paste support for the clipboard. NOTE: Currently not implemented. Colors The default ColorScheme s for the application. ColorScheme Color scheme definitions, they cover some common scenarios and are used typically in containers such as Window and FrameView to set the scheme that is used by all the views contained inside. ComboBox ComboBox control ConsoleDriver ConsoleDriver is an abstract class that defines the requirements for a console driver. There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver , and Terminal.Gui.NetDriver that uses the .NET Console API. DateField Simple Date editing View DateTimeEventArgs Defines the event arguments for DateChanged and TimeChanged events. Dialog The Dialog View is a Window that by default is centered and contains one or more Button s. It defaults to the Dialog color scheme and has a 1 cell padding around the edges. Dim Dim properties of a View to control the position. FakeConsole FakeDriver Implements a mock ConsoleDriver for unit testing FakeMainLoop Mainloop intended to be used with the .NET System.Console API, and can be used on Windows and Unix, it is cross platform but lacks things like file descriptor monitoring. FileDialog Base class for the OpenDialog and the SaveDialog FrameView The FrameView is a container frame that draws a frame around the contents. It is similar to a GroupBox in Windows. GraphView Control for rendering graphs (bar, scatter etc) HexView An hex viewer and editor View over a System.IO.Stream KeyEvent Describes a keyboard event. KeyModifiers Identifies the state of the \"shift\"-keys within a event. Label The Label View displays a string at a given position and supports multiple lines separted by newline characters. Multi-line Labels support word wrap. ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. ListViewItemEventArgs System.EventArgs for ListView events. ListWrapper Implements an IListDataSource that renders arbitrary System.Collections.IList instances for ListView . MainLoop Simple main loop implementation that can be used to monitor file descriptor, run timers and idle handlers. MenuBar The MenuBar provides a menu for Terminal.Gui applications. MenuBarItem A MenuBarItem contains MenuBarItem s or MenuItem s. MenuItem A MenuItem has a title, an associated help text, and an action to execute on activation. MessageBox MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from. OpenDialog The OpenDialog provides an interactive dialog box for users to select files or directories. Pos Describes the position of a View which can be an absolute value, a percentage, centered, or relative to the ending dimension. Integer values are implicitly convertible to an absolute Pos . These objects are created using the static methods Percent, AnchorEnd, and Center. The Pos objects can be combined with the addition and subtraction operators. ProgressBar A Progress Bar view that can indicate progress of an activity visually. RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time RadioGroup.SelectedItemChangedArgs Event arguments for the SelectedItemChagned event. Responder Responder base class implemented by objects that want to participate on keyboard and mouse input. SaveDialog The SaveDialog provides an interactive dialog box for users to pick a file to save. ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. ShortcutHelper Represents a helper to manipulate shortcut keys used on views. StatusBar A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItem s. The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help. So for each context must be a new instance of a statusbar. StatusItem StatusItem objects are contained by StatusBar View s. Each StatusItem has a title, a shortcut (hotkey), and an Action that will be invoked when the Shortcut is pressed. The Shortcut will be a global hotkey for the application in the current context of the screen. The colour of the Title will be changed after each ~. A Title set to `~F1~ Help` will render as *F1* using HotNormal and *Help* as HotNormal . TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . TableView.CellActivatedEventArgs Defines the event arguments for CellActivated event TableView.ColumnStyle Describes how to render a given column in a TableView including Alignment and textual representation of cells (e.g. date formats) See TableView Deep Dive for more information . TableView.SelectedCellChangedEventArgs Defines the event arguments for SelectedCellChanged TableView.TableSelection Describes a selected region of the table TableView.TableStyle Defines rendering options that affect how the table is displayed. See TableView Deep Dive for more information . TabView Control that hosts multiple sub views, presenting a single one at once TabView.Tab A single tab in a TabView TabView.TabChangedEventArgs Describes a change in SelectedTab TabView.TabStyle Describes render stylistic selections of a TabView TextChangingEventArgs An System.EventArgs which allows passing a cancelable new text value event. TextField Single-line text entry View TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. TextValidateField Text field that validates input through a ITextValidateProvider TextView Multi-line text editing View TimeField Time editing View Toplevel Toplevel views can be modally executed. TreeView Convenience implementation of generic TreeView for any tree were all nodes implement ITreeNode . See TreeView Deep Dive for more information . TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . View View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views. View.FocusEventArgs Defines the event arguments for Terminal.Gui.View.SetFocus(Terminal.Gui.View) View.KeyEventEventArgs Defines the event arguments for KeyEvent View.LayoutEventArgs Event arguments for the LayoutComplete event. View.MouseEventArgs Specifies the event arguments for MouseEvent Window A Toplevel View that draws a border around its Frame with a Title at the top. Structs Attribute Attributes are used as elements that contain both a foreground and a background or platform specific features MouseEvent Describes a mouse event Point Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. PointF Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane. Rect Stores a set of four integers that represent the location and size of a rectangle RectangleF Stores the location and size of a rectangular region. Size Stores an ordered pair of integers, which specify a Height and Width. SizeF Represents the size of a rectangular region with an ordered pair of width and height. Interfaces IListDataSource Implement IListDataSource to provide custom rendering for a ListView . IMainLoopDriver Public interface to create your own platform specific main loop driver. ITreeView Interface for all non generic members of TreeView See TreeView Deep Dive for more information . Enums Color Basic colors that can be used to set the foreground and background colors in console applications. ConsoleDriver.DiagnosticFlags Enables diagnostic functions CursorVisibility Cursors Visibility that are displayed DisplayModeLayout Used for choose the display mode of this RadioGroup Key The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed. LayoutStyle Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computed, then the Frame will be updated from the X, Y Pos objects and the Width and Height Dim objects. MenuItemCheckStyle Specifies how a MenuItem shows selection state. MouseFlags Mouse flags reported in MouseEvent . TextAlignment Text alignment enumeration, controls how text is displayed. TextDirection Text direction enumeration, controls how text is displayed. VerticalTextAlignment Vertical text alignment enumeration, controls how text is displayed." }, "api/Terminal.Gui/Terminal.Gui.IListDataSource.html": { "href": "api/Terminal.Gui/Terminal.Gui.IListDataSource.html", @@ -162,7 +257,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 separted by newline characters. Multi-line Labels support word wrap. Inheritance System.Object Responder View Label Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Label : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The Label view is functionality identical to View and is included for API backwards compatibility. Constructors Label() Declaration public Label() Label(ustring) Initializes a new instance of View using Computed layout. Declaration public Label(ustring text) Parameters Type Name Description NStack.ustring text text to initialize the Text property with. Remarks The View will be created using Computed coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. Label(Int32, Int32, ustring) Initializes a new instance of View using Absolute layout. Declaration public Label(int x, int y, ustring text) Parameters Type Name Description System.Int32 x column to locate the Label. System.Int32 y row to locate the Label. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. No line wrapping is provided. Label(Rect) Initializes a new instance of a Absolute View class with the absolute dimensions specified in the frame parameter. Declaration public Label(Rect frame) Parameters Type Name Description Rect frame The region covered by this view. Remarks This constructor initialize a View with a LayoutStyle of Absolute . Use View() to initialize a View with LayoutStyle of Computed Label(Rect, ustring) Initializes a new instance of View using Absolute layout. Declaration public Label(Rect rect, ustring text) Parameters Type Name Description Rect rect Location. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If rect.Height is greater than one, word wrapping is provided. Methods OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnMouseEvent(MouseEvent) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Label The Label View displays a string at a given position and supports multiple lines separted by newline characters. Multi-line Labels support word wrap. Inheritance System.Object Responder View Label Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Label : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The Label view is functionality identical to View and is included for API backwards compatibility. Constructors Label() Declaration public Label() Label(ustring) Declaration public Label(ustring text) Parameters Type Name Description NStack.ustring text Label(Int32, Int32, ustring) Declaration public Label(int x, int y, ustring text) Parameters Type Name Description System.Int32 x System.Int32 y NStack.ustring text Label(Rect) Declaration public Label(Rect frame) Parameters Type Name Description Rect frame Label(Rect, ustring) Declaration public Label(Rect rect, ustring text) Parameters Type Name Description Rect rect NStack.ustring text Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnMouseEvent(MouseEvent) Events Clicked Clicked System.Action , raised when the user clicks the primary mouse button within the Bounds of this View or if the user presses the action key while this view is focused. (TODO: IsDefault) Declaration public event Action Clicked Event Type Type Description System.Action Remarks Client code can hook up to this event, it is raised when the button is activated either with the mouse or the keyboard. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html": { "href": "api/Terminal.Gui/Terminal.Gui.LayoutStyle.html", @@ -172,7 +267,7 @@ "api/Terminal.Gui/Terminal.Gui.ListView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ListView.html", "title": "Class ListView", - "keywords": "Class ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. Inheritance System.Object Responder View ListView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The ListView displays lists of data and allows the user to scroll through the data. Items in the can be activated firing an event (with the ENTER key or a mouse double-click). If the AllowsMarking property is true, elements of the list can be marked by the user. By default ListView uses System.Object.ToString() to render the items of any System.Collections.IList object (e.g. arrays, System.Collections.Generic.List , and other collections). Alternatively, an object that implements the IListDataSource interface can be provided giving full control of what is rendered. ListView can display any object that implements the System.Collections.IList interface. System.String values are converted into NStack.ustring values before rendering, and other values are converted into System.String by calling System.Object.ToString() and then converting to NStack.ustring . To change the contents of the ListView, set the Source property (when providing custom rendering via IListDataSource ) or call SetSource(IList) an System.Collections.IList is being used. When AllowsMarking is set to true the rendering will prefix the rendered items with [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different marking style set AllowsMarking to false and implement custom rendering. Constructors ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() ListView(IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface, with relative positioning. Declaration public ListView(IList source) Parameters Type Name Description System.Collections.IList source An System.Collections.IList data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(IListDataSource) Initializes a new instance of ListView that will display the provided data source, using relative positioning. Declaration public ListView(IListDataSource source) Parameters Type Name Description IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. ListView(Rect, IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface with an absolute position. Declaration public ListView(Rect rect, IList source) Parameters Type Name Description Rect rect Frame for the listview. System.Collections.IList source An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(Rect, IListDataSource) Initializes a new instance of ListView with the provided data source and an absolute position Declaration public ListView(Rect rect, IListDataSource source) Parameters Type Name Description Rect rect Frame for the listview. IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. Properties AllowsMarking Gets or sets whether this ListView allows items to be marked. Declaration public bool AllowsMarking { get; set; } Property Value Type Description System.Boolean true if allows marking elements of the list; otherwise, false . Remarks If set to true, ListView will render items marked items with \"[x]\", and unmarked items with \"[ ]\" spaces. SPACE key will toggle marking. AllowsMultipleSelection If set to true allows more than one item to be selected. If false only allow one item selected. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean LeftItem Gets or sets the left column where the item start to be displayed at on the ListView . Declaration public int LeftItem { get; set; } Property Value Type Description System.Int32 The left position. Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 SelectedItem Gets or sets the index of the currently selected item. Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item. Source Gets or sets the IListDataSource backing this ListView , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. TopItem Gets or sets the item that is displayed at the top of the ListView . Declaration public int TopItem { get; set; } Property Value Type Description System.Int32 The top item. Methods AllowsAll() Prevents marking if it's not allowed mark and if it's not allows multiple selection. Declaration public virtual bool AllowsAll() Returns Type Description System.Boolean MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. ScrollDown(Int32) Scrolls the view down. Declaration public virtual void ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll down. ScrollLeft(Int32) Scrolls the view left. Declaration public virtual void ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll left. ScrollRight(Int32) Scrolls the view right. Declaration public virtual void ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll right. ScrollUp(Int32) Scrolls the view up. Declaration public virtual void ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll up. SetSource(IList) Sets the source of the ListView to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. SetSourceAsync(IList) Sets the source to an System.Collections.IList value asynchronously. Declaration public Task SetSourceAsync(IList source) Parameters Type Name Description System.Collections.IList source Returns Type Description System.Threading.Tasks.Task An item implementing the IList interface. Remarks Use the Source property to set a new IListDataSource source and use custom rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > SelectedItemChanged This event is raised when the selected item in the ListView has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < ListViewItemEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ListView ListView View renders a scrollable list of data where each item can be activated to perform an action. Inheritance System.Object Responder View ListView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The ListView displays lists of data and allows the user to scroll through the data. Items in the can be activated firing an event (with the ENTER key or a mouse double-click). If the AllowsMarking property is true, elements of the list can be marked by the user. By default ListView uses System.Object.ToString() to render the items of any System.Collections.IList object (e.g. arrays, System.Collections.Generic.List , and other collections). Alternatively, an object that implements the IListDataSource interface can be provided giving full control of what is rendered. ListView can display any object that implements the System.Collections.IList interface. System.String values are converted into NStack.ustring values before rendering, and other values are converted into System.String by calling System.Object.ToString() and then converting to NStack.ustring . To change the contents of the ListView, set the Source property (when providing custom rendering via IListDataSource ) or call SetSource(IList) an System.Collections.IList is being used. When AllowsMarking is set to true the rendering will prefix the rendered items with [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different marking style set AllowsMarking to false and implement custom rendering. Constructors ListView() Initializes a new instance of ListView . Set the Source property to display something. Declaration public ListView() ListView(IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface, with relative positioning. Declaration public ListView(IList source) Parameters Type Name Description System.Collections.IList source An System.Collections.IList data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(IListDataSource) Initializes a new instance of ListView that will display the provided data source, using relative positioning. Declaration public ListView(IListDataSource source) Parameters Type Name Description IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. ListView(Rect, IList) Initializes a new instance of ListView that will display the contents of the object implementing the System.Collections.IList interface with an absolute position. Declaration public ListView(Rect rect, IList source) Parameters Type Name Description Rect rect Frame for the listview. System.Collections.IList source An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result. ListView(Rect, IListDataSource) Initializes a new instance of ListView with the provided data source and an absolute position Declaration public ListView(Rect rect, IListDataSource source) Parameters Type Name Description Rect rect Frame for the listview. IListDataSource source IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the \"Source\" property to reset the internal settings of the ListView. Properties AllowsMarking Gets or sets whether this ListView allows items to be marked. Declaration public bool AllowsMarking { get; set; } Property Value Type Description System.Boolean true if allows marking elements of the list; otherwise, false . Remarks If set to true, ListView will render items marked items with \"[x]\", and unmarked items with \"[ ]\" spaces. SPACE key will toggle marking. AllowsMultipleSelection If set to true allows more than one item to be selected. If false only allow one item selected. Declaration public bool AllowsMultipleSelection { get; set; } Property Value Type Description System.Boolean LeftItem Gets or sets the left column where the item start to be displayed at on the ListView . Declaration public int LeftItem { get; set; } Property Value Type Description System.Int32 The left position. Maxlength Gets the widest item. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 SelectedItem Gets or sets the index of the currently selected item. Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected item. Source Gets or sets the IListDataSource backing this ListView , enabling custom rendering. Declaration public IListDataSource Source { get; set; } Property Value Type Description IListDataSource The source. Remarks Use SetSource(IList) to set a new System.Collections.IList source. TopItem Gets or sets the item that is displayed at the top of the ListView . Declaration public int TopItem { get; set; } Property Value Type Description System.Int32 The top item. Methods AllowsAll() Prevents marking if it's not allowed mark and if it's not allows multiple selection. Declaration public virtual bool AllowsAll() Returns Type Description System.Boolean MarkUnmarkRow() Marks an unmarked row. Declaration public virtual bool MarkUnmarkRow() Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveDown() Moves the selected item index to the next row. Declaration public virtual bool MoveDown() Returns Type Description System.Boolean MoveEnd() Moves the selected item index to the last row. Declaration public virtual bool MoveEnd() Returns Type Description System.Boolean MoveHome() Moves the selected item index to the first row. Declaration public virtual bool MoveHome() Returns Type Description System.Boolean MovePageDown() Moves the selected item index to the previous page. Declaration public virtual bool MovePageDown() Returns Type Description System.Boolean MovePageUp() Moves the selected item index to the next page. Declaration public virtual bool MovePageUp() Returns Type Description System.Boolean MoveUp() Moves the selected item index to the previous row. Declaration public virtual bool MoveUp() Returns Type Description System.Boolean OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnOpenSelectedItem() Invokes the OnOpenSelectedItem event if it is defined. Declaration public virtual bool OnOpenSelectedItem() Returns Type Description System.Boolean OnSelectedChanged() Invokes the SelectedChanged event if it is defined. Declaration public virtual bool OnSelectedChanged() Returns Type Description System.Boolean PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ScrollDown(Int32) Scrolls the view down. Declaration public virtual void ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll down. ScrollLeft(Int32) Scrolls the view left. Declaration public virtual void ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll left. ScrollRight(Int32) Scrolls the view right. Declaration public virtual void ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll right. ScrollUp(Int32) Scrolls the view up. Declaration public virtual void ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll up. SetSource(IList) Sets the source of the ListView to an System.Collections.IList . Declaration public void SetSource(IList source) Parameters Type Name Description System.Collections.IList source Remarks Use the Source property to set a new IListDataSource source and use custome rendering. SetSourceAsync(IList) Sets the source to an System.Collections.IList value asynchronously. Declaration public Task SetSourceAsync(IList source) Parameters Type Name Description System.Collections.IList source Returns Type Description System.Threading.Tasks.Task An item implementing the IList interface. Remarks Use the Source property to set a new IListDataSource source and use custom rendering. Events OpenSelectedItem This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item. Declaration public event Action OpenSelectedItem Event Type Type Description System.Action < ListViewItemEventArgs > 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", @@ -192,7 +287,7 @@ "api/Terminal.Gui/Terminal.Gui.MenuBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", "title": "Class MenuBar", - "keywords": "Class MenuBar The MenuBar provides a menu for Terminal.Gui applications. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. Constructors MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() MenuBar(MenuBarItem[]) Initializes a new instance of the MenuBar class with the specified set of toplevel menu items. Declaration public MenuBar(MenuBarItem[] menus) Parameters Type Name Description MenuBarItem [] menus Individual menu items; a null item will result in a separator being drawn. Properties IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View Menus Gets or sets the array of MenuBarItem s for the menu. Only set this when the MenuBar is vislble. Declaration public MenuBarItem[] Menus { get; set; } Property Value Type Description MenuBarItem [] The menu array. ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean Methods CloseMenu() Closes the current Menu programatically, if open. Declaration public void CloseMenu() MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnLeave(View) OnMenuClosing() Virtual method that will invoke the MenuClosing Declaration public virtual void OnMenuClosing() OnMenuOpening() Virtual method that will invoke the MenuOpening Declaration public virtual void OnMenuOpening() OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior. Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) Remarks After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key. This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus. ProcessHotKey(KeyEvent) This method can be overwritten by view that want to provide accelerator functionality (Alt-key for example). Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Remarks Before keys are sent to the subview on the current view, all the views are processed and the key is passed to the widgets to allow some of them to process the keystroke as a hot-key. For example, if you implement a button that has a hotkey ok \"o\", you would catch the combination Alt-o here. If the event is caught, you must return true to stop the keystroke from being dispatched to other views. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Events MenuClosing Raised when a menu is closing. Declaration public event Action MenuClosing Event Type Type Description System.Action MenuOpening Raised as a menu is opening. Declaration public event Action MenuOpening Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class MenuBar The MenuBar provides a menu for Terminal.Gui applications. Inheritance System.Object Responder View MenuBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class MenuBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The MenuBar appears on the first row of the terminal. The MenuBar provides global hotkeys for the application. Constructors MenuBar() Initializes a new instance of the MenuBar . Declaration public MenuBar() MenuBar(MenuBarItem[]) Initializes a new instance of the MenuBar class with the specified set of toplevel menu items. Declaration public MenuBar(MenuBarItem[] menus) Parameters Type Name Description MenuBarItem [] menus Individual menu items; a null item will result in a separator being drawn. Properties IsMenuOpen True if the menu is open; otherwise false. Declaration public bool IsMenuOpen { get; protected set; } Property Value Type Description System.Boolean LastFocused Get the lasted focused view before open the menu. Declaration public View LastFocused { get; } Property Value Type Description View Menus Gets or sets the array of MenuBarItem s for the menu. Only set this when the MenuBar is vislble. Declaration public MenuBarItem[] Menus { get; set; } Property Value Type Description MenuBarItem [] The menu array. ShortcutDelimiter Used for change the shortcut delimiter separator. Declaration public static ustring ShortcutDelimiter { get; set; } Property Value Type Description NStack.ustring UseKeysUpDownAsKeysLeftRight Used for change the navigation key style. Declaration public bool UseKeysUpDownAsKeysLeftRight { get; set; } Property Value Type Description System.Boolean Methods CloseMenu() Closes the current Menu programatically, if open. Declaration public void CloseMenu() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnMenuClosing() Virtual method that will invoke the MenuClosing Declaration public virtual void OnMenuClosing() OnMenuOpening() Virtual method that will invoke the MenuOpening Declaration public virtual void OnMenuOpening() OpenMenu() Opens the current Menu programatically. Declaration public void OpenMenu() PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events MenuClosing Raised when a menu is closing. Declaration public event Action MenuClosing Event Type Type Description System.Action MenuOpening Raised as a menu is opening. Declaration public event Action MenuOpening Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html": { "href": "api/Terminal.Gui/Terminal.Gui.MenuBarItem.html", @@ -234,6 +329,11 @@ "title": "Struct Point", "keywords": "Struct Point Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct Point Constructors Point(Int32, Int32) Point Constructor Declaration public Point(int x, int y) Parameters Type Name Description System.Int32 x System.Int32 y Remarks Creates a Point from a specified x,y coordinate pair. Point(Size) Point Constructor Declaration public Point(Size sz) Parameters Type Name Description Size sz Remarks Creates a Point from a Size value. Fields Empty Empty Shared Field Declaration public static readonly Point Empty Field Value Type Description Point Remarks An uninitialized Point Structure. X Gets or sets the x-coordinate of this Point. Declaration public int X Field Value Type Description System.Int32 Y Gets or sets the y-coordinate of this Point. Declaration public int Y Field Value Type Description System.Int32 Properties IsEmpty IsEmpty Property Declaration public bool IsEmpty { get; } Property Value Type Description System.Boolean Remarks Indicates if both X and Y are zero. Methods Add(Point, Size) Adds the specified Size to the specified Point. Declaration public static Point Add(Point pt, Size sz) Parameters Type Name Description Point pt The Point to add. Size sz The Size to add. Returns Type Description Point The Point that is the result of the addition operation. Equals(Object) Equals Method Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Remarks Checks equivalence of this Point and another object. GetHashCode() GetHashCode Method Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Remarks Calculates a hashing value. Offset(Int32, Int32) Offset Method Declaration public void Offset(int dx, int dy) Parameters Type Name Description System.Int32 dx System.Int32 dy Remarks Moves the Point a specified distance. Offset(Point) Translates this Point by the specified Point. Declaration public void Offset(Point p) Parameters Type Name Description Point p The Point used offset this Point. Subtract(Point, Size) Returns the result of subtracting specified Size from the specified Point. Declaration public static Point Subtract(Point pt, Size sz) Parameters Type Name Description Point pt The Point to be subtracted from. Size sz The Size to subtract from the Point. Returns Type Description Point The Point that is the result of the subtraction operation. ToString() ToString Method Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Remarks Formats the Point as a string in coordinate notation. Operators Addition(Point, Size) Addition Operator Declaration public static Point operator +(Point pt, Size sz) Parameters Type Name Description Point pt Size sz Returns Type Description Point Remarks Translates a Point using the Width and Height properties of the given Size . Equality(Point, Point) Equality Operator Declaration public static bool operator ==(Point left, Point right) Parameters Type Name Description Point left Point right Returns Type Description System.Boolean Remarks Compares two Point objects. The return value is based on the equivalence of the X and Y properties of the two points. Explicit(Point to Size) Point to Size Conversion Declaration public static explicit operator Size(Point p) Parameters Type Name Description Point p Returns Type Description Size Remarks Returns a Size based on the Coordinates of a given Point. Requires explicit cast. Inequality(Point, Point) Inequality Operator Declaration public static bool operator !=(Point left, Point right) Parameters Type Name Description Point left Point right Returns Type Description System.Boolean Remarks Compares two Point objects. The return value is based on the equivalence of the X and Y properties of the two points. Subtraction(Point, Size) Subtraction Operator Declaration public static Point operator -(Point pt, Size sz) Parameters Type Name Description Point pt Size sz Returns Type Description Point Remarks Translates a Point using the negation of the Width and Height properties of the given Size." }, + "api/Terminal.Gui/Terminal.Gui.PointF.html": { + "href": "api/Terminal.Gui/Terminal.Gui.PointF.html", + "title": "Struct PointF", + "keywords": "Struct PointF Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane. Implements System.IEquatable < PointF > Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct PointF : IEquatable Constructors PointF(Single, Single) Initializes a new instance of the PointF class with the specified coordinates. Declaration public PointF(float x, float y) Parameters Type Name Description System.Single x System.Single y Fields Empty Creates a new instance of the PointF class with member data left uninitialized. Declaration public static readonly PointF Empty Field Value Type Description PointF Properties IsEmpty Gets a value indicating whether this PointF is empty. Declaration [Browsable(false)] public bool IsEmpty { get; } Property Value Type Description System.Boolean X Gets the x-coordinate of this PointF . Declaration public float X { get; set; } Property Value Type Description System.Single Y Gets the y-coordinate of this PointF . Declaration public float Y { get; set; } Property Value Type Description System.Single Methods Add(PointF, Size) Translates a PointF by a given Size . Declaration public static PointF Add(PointF pt, Size sz) Parameters Type Name Description PointF pt Size sz Returns Type Description PointF Add(PointF, SizeF) Translates a PointF by a given SizeF . Declaration public static PointF Add(PointF pt, SizeF sz) Parameters Type Name Description PointF pt SizeF sz Returns Type Description PointF Equals(Object) Compares two PointF objects. The result specifies whether the values of the X and Y properties of the two PointF objects are equal. Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Equals(PointF) Compares two PointF objects. The result specifies whether the values of the X and Y properties of the two PointF objects are equal. Declaration public bool Equals(PointF other) Parameters Type Name Description PointF other Returns Type Description System.Boolean GetHashCode() Generates a hashcode from the X and Y components Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Subtract(PointF, Size) Translates a PointF by the negative of a given Size . Declaration public static PointF Subtract(PointF pt, Size sz) Parameters Type Name Description PointF pt Size sz Returns Type Description PointF Subtract(PointF, SizeF) Translates a PointF by the negative of a given SizeF . Declaration public static PointF Subtract(PointF pt, SizeF sz) Parameters Type Name Description PointF pt SizeF sz Returns Type Description PointF ToString() Returns a string including the X and Y values Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Operators Addition(PointF, Size) Translates a PointF by a given Size . Declaration public static PointF operator +(PointF pt, Size sz) Parameters Type Name Description PointF pt Size sz Returns Type Description PointF Addition(PointF, SizeF) Translates a PointF by a given SizeF . Declaration public static PointF operator +(PointF pt, SizeF sz) Parameters Type Name Description PointF pt SizeF sz Returns Type Description PointF Equality(PointF, PointF) Compares two PointF objects. The result specifies whether the values of the X and Y properties of the two PointF objects are equal. Declaration public static bool operator ==(PointF left, PointF right) Parameters Type Name Description PointF left PointF right Returns Type Description System.Boolean Inequality(PointF, PointF) Compares two PointF objects. The result specifies whether the values of the X or Y properties of the two PointF objects are unequal. Declaration public static bool operator !=(PointF left, PointF right) Parameters Type Name Description PointF left PointF right Returns Type Description System.Boolean Subtraction(PointF, Size) Translates a PointF by the negative of a given Size . Declaration public static PointF operator -(PointF pt, Size sz) Parameters Type Name Description PointF pt Size sz Returns Type Description PointF Subtraction(PointF, SizeF) Translates a PointF by the negative of a given SizeF . Declaration public static PointF operator -(PointF pt, SizeF sz) Parameters Type Name Description PointF pt SizeF sz Returns Type Description PointF Implements System.IEquatable" + }, "api/Terminal.Gui/Terminal.Gui.Pos.html": { "href": "api/Terminal.Gui/Terminal.Gui.Pos.html", "title": "Class Pos", @@ -242,12 +342,12 @@ "api/Terminal.Gui/Terminal.Gui.ProgressBar.html": { "href": "api/Terminal.Gui/Terminal.Gui.ProgressBar.html", "title": "Class ProgressBar", - "keywords": "Class ProgressBar A Progress Bar view that can indicate progress of an activity visually. Inheritance System.Object Responder View ProgressBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ProgressBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks ProgressBar can operate in two modes, percentage mode, or activity mode. The progress bar starts in percentage mode and setting the Fraction property will reflect on the UI the progress made so far. Activity mode is used when the application has no way of knowing how much time is left, and is started when the Pulse() method is called. Call Pulse() repeatedly as progress is made. Constructors ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() ProgressBar(Rect) Initializes a new instance of the ProgressBar class, starts in percentage mode with an absolute position and size. Declaration public ProgressBar(Rect rect) Parameters Type Name Description Rect rect Rect. Properties 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. Methods OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() Remarks If the ProgressBar is is percentage mode, it switches to activity mode. If is in activity mode, the marker is moved. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ProgressBar A Progress Bar view that can indicate progress of an activity visually. Inheritance System.Object Responder View ProgressBar Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ProgressBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks ProgressBar can operate in two modes, percentage mode, or activity mode. The progress bar starts in percentage mode and setting the Fraction property will reflect on the UI the progress made so far. Activity mode is used when the application has no way of knowing how much time is left, and is started when the Pulse() method is called. Call Pulse() repeatedly as progress is made. Constructors ProgressBar() Initializes a new instance of the ProgressBar class, starts in percentage mode and uses relative layout. Declaration public ProgressBar() ProgressBar(Rect) Initializes a new instance of the ProgressBar class, starts in percentage mode with an absolute position and size. Declaration public ProgressBar(Rect rect) Parameters Type Name Description Rect rect Rect. Properties 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. Methods OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Pulse() Notifies the ProgressBar that some progress has taken place. Declaration public void Pulse() Remarks If the ProgressBar is is percentage mode, it switches to activity mode. If is in activity mode, the marker is moved. Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.RadioGroup.html": { "href": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", "title": "Class RadioGroup", - "keywords": "Class RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Inheritance System.Object Responder View RadioGroup Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class RadioGroup : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() RadioGroup(ustring[], Int32) Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup(ustring[] radioLabels, int selected = 0) Parameters Type Name Description NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of the item to be selected, the value is clamped to the number of items. RadioGroup(Int32, Int32, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. The View frame is computed from the provided radio labels. Declaration public RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The item to be selected, the value is clamped to the number of items. RadioGroup(Rect, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. Declaration public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0) Parameters Type Name Description Rect rect Boundaries for the radio group. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of item to be selected, the value is clamped to the number of items. Properties DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout HorizontalSpace Gets or sets the horizontal space for this RadioGroup if the DisplayMode is Horizontal Declaration public int HorizontalSpace { get; set; } Property Value Type Description System.Int32 RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. SelectedItem The currently selected item from the list of radio labels Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected. Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnSelectedItemChanged(Int32, Int32) Called whenever the current selected item changes. Invokes the SelectedItemChanged event. Declaration public virtual void OnSelectedItemChanged(int selectedItem, int previousSelectedItem) Parameters Type Name Description System.Int32 selectedItem System.Int32 previousSelectedItem PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior. Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) Remarks After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key. This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events SelectedItemChanged Invoked when the selected radio label has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < RadioGroup.SelectedItemChangedArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class RadioGroup RadioGroup shows a group of radio labels, only one of those can be selected at a given time Inheritance System.Object Responder View RadioGroup Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class RadioGroup : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors RadioGroup() Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup() RadioGroup(ustring[], Int32) Initializes a new instance of the RadioGroup class using Computed layout. Declaration public RadioGroup(ustring[] radioLabels, int selected = 0) Parameters Type Name Description NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of the item to be selected, the value is clamped to the number of items. RadioGroup(Int32, Int32, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. The View frame is computed from the provided radio labels. Declaration public RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The item to be selected, the value is clamped to the number of items. RadioGroup(Rect, ustring[], Int32) Initializes a new instance of the RadioGroup class using Absolute layout. Declaration public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0) Parameters Type Name Description Rect rect Boundaries for the radio group. NStack.ustring [] radioLabels The radio labels; an array of strings that can contain hotkeys using an underscore before the letter. System.Int32 selected The index of item to be selected, the value is clamped to the number of items. Properties DisplayMode Gets or sets the DisplayModeLayout for this RadioGroup . Declaration public DisplayModeLayout DisplayMode { get; set; } Property Value Type Description DisplayModeLayout HorizontalSpace Gets or sets the horizontal space for this RadioGroup if the DisplayMode is Horizontal Declaration public int HorizontalSpace { get; set; } Property Value Type Description System.Int32 RadioLabels The radio labels to display Declaration public ustring[] RadioLabels { get; set; } Property Value Type Description NStack.ustring [] The radio labels. SelectedItem The currently selected item from the list of radio labels Declaration public int SelectedItem { get; set; } Property Value Type Description System.Int32 The selected. Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnSelectedItemChanged(Int32, Int32) Called whenever the current selected item changes. Invokes the SelectedItemChanged event. Declaration public virtual void OnSelectedItemChanged(int selectedItem, int previousSelectedItem) Parameters Type Name Description System.Int32 selectedItem System.Int32 previousSelectedItem PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Refresh() Allow to invoke the SelectedItemChanged after their creation. Declaration public void Refresh() Events SelectedItemChanged Invoked when the selected radio label has changed. Declaration public event Action SelectedItemChanged Event Type Type Description System.Action < RadioGroup.SelectedItemChangedArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.RadioGroup.SelectedItemChangedArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.RadioGroup.SelectedItemChangedArgs.html", @@ -259,6 +359,11 @@ "title": "Struct Rect", "keywords": "Struct Rect Stores a set of four integers that represent the location and size of a rectangle Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct Rect Constructors Rect(Int32, Int32, Int32, Int32) Rectangle Constructor Declaration public Rect(int x, int y, int width, int height) Parameters Type Name Description System.Int32 x System.Int32 y System.Int32 width System.Int32 height Remarks Creates a Rectangle from a specified x,y location and width and height values. Rect(Point, Size) Rectangle Constructor Declaration public Rect(Point location, Size size) Parameters Type Name Description Point location Size size Remarks Creates a Rectangle from Point and Size values. Fields Empty Empty Shared Field Declaration public static readonly Rect Empty Field Value Type Description Rect Remarks An uninitialized Rectangle Structure. X Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure. Declaration public int X Field Value Type Description System.Int32 Y Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure. Declaration public int Y Field Value Type Description System.Int32 Properties Bottom Bottom Property Declaration public int Bottom { get; } Property Value Type Description System.Int32 Remarks The Y coordinate of the bottom edge of the Rectangle. Read only. Height Gets or sets the height of this Rectangle structure. Declaration public int Height { get; set; } Property Value Type Description System.Int32 IsEmpty IsEmpty Property Declaration public bool IsEmpty { get; } Property Value Type Description System.Boolean Remarks Indicates if the width or height are zero. Read only. Left Left Property Declaration public int Left { get; } Property Value Type Description System.Int32 Remarks The X coordinate of the left edge of the Rectangle. Read only. Location Location Property Declaration public Point Location { get; set; } Property Value Type Description Point Remarks The Location of the top-left corner of the Rectangle. Right Right Property Declaration public int Right { get; } Property Value Type Description System.Int32 Remarks The X coordinate of the right edge of the Rectangle. Read only. Size Size Property Declaration public Size Size { get; set; } Property Value Type Description Size Remarks The Size of the Rectangle. Top Top Property Declaration public int Top { get; } Property Value Type Description System.Int32 Remarks The Y coordinate of the top edge of the Rectangle. Read only. Width Gets or sets the width of this Rect structure. Declaration public int Width { get; set; } Property Value Type Description System.Int32 Methods Contains(Int32, Int32) Contains Method Declaration public bool Contains(int x, int y) Parameters Type Name Description System.Int32 x System.Int32 y Returns Type Description System.Boolean Remarks Checks if an x,y coordinate lies within this Rectangle. Contains(Point) Contains Method Declaration public bool Contains(Point pt) Parameters Type Name Description Point pt Returns Type Description System.Boolean Remarks Checks if a Point lies within this Rectangle. Contains(Rect) Contains Method Declaration public bool Contains(Rect rect) Parameters Type Name Description Rect rect Returns Type Description System.Boolean Remarks Checks if a Rectangle lies entirely within this Rectangle. Equals(Object) Equals Method Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Remarks Checks equivalence of this Rectangle and another object. FromLTRB(Int32, Int32, Int32, Int32) FromLTRB Shared Method Declaration public static Rect FromLTRB(int left, int top, int right, int bottom) Parameters Type Name Description System.Int32 left System.Int32 top System.Int32 right System.Int32 bottom Returns Type Description Rect Remarks Produces a Rectangle structure from left, top, right and bottom coordinates. GetHashCode() GetHashCode Method Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Remarks Calculates a hashing value. Inflate(Int32, Int32) Inflate Method Declaration public void Inflate(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height Remarks Inflates the Rectangle by a specified width and height. Inflate(Rect, Int32, Int32) Inflate Shared Method Declaration public static Rect Inflate(Rect rect, int x, int y) Parameters Type Name Description Rect rect System.Int32 x System.Int32 y Returns Type Description Rect Remarks Produces a new Rectangle by inflating an existing Rectangle by the specified coordinate values. Inflate(Size) Inflate Method Declaration public void Inflate(Size size) Parameters Type Name Description Size size Remarks Inflates the Rectangle by a specified Size. Intersect(Rect) Intersect Method Declaration public void Intersect(Rect rect) Parameters Type Name Description Rect rect Remarks Replaces the Rectangle with the intersection of itself and another Rectangle. Intersect(Rect, Rect) Intersect Shared Method Declaration public static Rect Intersect(Rect a, Rect b) Parameters Type Name Description Rect a Rect b Returns Type Description Rect Remarks Produces a new Rectangle by intersecting 2 existing Rectangles. Returns null if there is no intersection. IntersectsWith(Rect) IntersectsWith Method Declaration public bool IntersectsWith(Rect rect) Parameters Type Name Description Rect rect Returns Type Description System.Boolean Remarks Checks if a Rectangle intersects with this one. Offset(Int32, Int32) Offset Method Declaration public void Offset(int x, int y) Parameters Type Name Description System.Int32 x System.Int32 y Remarks Moves the Rectangle a specified distance. Offset(Point) Offset Method Declaration public void Offset(Point pos) Parameters Type Name Description Point pos Remarks Moves the Rectangle a specified distance. ToString() ToString Method Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Remarks Formats the Rectangle as a string in (x,y,w,h) notation. Union(Rect, Rect) Union Shared Method Declaration public static Rect Union(Rect a, Rect b) Parameters Type Name Description Rect a Rect b Returns Type Description Rect Remarks Produces a new Rectangle from the union of 2 existing Rectangles. Operators Equality(Rect, Rect) Equality Operator Declaration public static bool operator ==(Rect left, Rect right) Parameters Type Name Description Rect left Rect right Returns Type Description System.Boolean Remarks Compares two Rectangle objects. The return value is based on the equivalence of the Location and Size properties of the two Rectangles. Inequality(Rect, Rect) Inequality Operator Declaration public static bool operator !=(Rect left, Rect right) Parameters Type Name Description Rect left Rect right Returns Type Description System.Boolean Remarks Compares two Rectangle objects. The return value is based on the equivalence of the Location and Size properties of the two Rectangles." }, + "api/Terminal.Gui/Terminal.Gui.RectangleF.html": { + "href": "api/Terminal.Gui/Terminal.Gui.RectangleF.html", + "title": "Struct RectangleF", + "keywords": "Struct RectangleF Stores the location and size of a rectangular region. Implements System.IEquatable < RectangleF > Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct RectangleF : IEquatable Constructors RectangleF(Single, Single, Single, Single) Initializes a new instance of the RectangleF class with the specified location and size. Declaration public RectangleF(float x, float y, float width, float height) Parameters Type Name Description System.Single x System.Single y System.Single width System.Single height RectangleF(PointF, SizeF) Initializes a new instance of the RectangleF class with the specified location and size. Declaration public RectangleF(PointF location, SizeF size) Parameters Type Name Description PointF location SizeF size Fields Empty Initializes a new instance of the RectangleF class. Declaration public static readonly RectangleF Empty Field Value Type Description RectangleF Properties Bottom Gets the y-coordinate of the lower-right corner of the rectangular region defined by this RectangleF . Declaration [Browsable(false)] public float Bottom { get; } Property Value Type Description System.Single Height Gets or sets the height of the rectangular region defined by this RectangleF . Declaration public float Height { get; set; } Property Value Type Description System.Single IsEmpty Tests whether this RectangleF has a Width or a Height of 0. Declaration [Browsable(false)] public bool IsEmpty { get; } Property Value Type Description System.Boolean Left Gets the x-coordinate of the upper-left corner of the rectangular region defined by this RectangleF . Declaration [Browsable(false)] public float Left { get; } Property Value Type Description System.Single Location Gets or sets the coordinates of the upper-left corner of the rectangular region represented by this RectangleF . Declaration [Browsable(false)] public PointF Location { get; set; } Property Value Type Description PointF Right Gets the x-coordinate of the lower-right corner of the rectangular region defined by this RectangleF . Declaration [Browsable(false)] public float Right { get; } Property Value Type Description System.Single Size Gets or sets the size of this RectangleF . Declaration [Browsable(false)] public SizeF Size { get; set; } Property Value Type Description SizeF Top Gets the y-coordinate of the upper-left corner of the rectangular region defined by this RectangleF . Declaration [Browsable(false)] public float Top { get; } Property Value Type Description System.Single Width Gets or sets the width of the rectangular region defined by this RectangleF . Declaration public float Width { get; set; } Property Value Type Description System.Single X Gets or sets the x-coordinate of the upper-left corner of the rectangular region defined by this RectangleF . Declaration public float X { get; set; } Property Value Type Description System.Single Y Gets or sets the y-coordinate of the upper-left corner of the rectangular region defined by this RectangleF . Declaration public float Y { get; set; } Property Value Type Description System.Single Methods Contains(Single, Single) Determines if the specified point is contained within the rectangular region defined by this Rect . Declaration public bool Contains(float x, float y) Parameters Type Name Description System.Single x System.Single y Returns Type Description System.Boolean Contains(PointF) Determines if the specified point is contained within the rectangular region defined by this Rect . Declaration public bool Contains(PointF pt) Parameters Type Name Description PointF pt Returns Type Description System.Boolean Contains(RectangleF) Determines if the rectangular region represented by rect is entirely contained within the rectangular region represented by this Rect . Declaration public bool Contains(RectangleF rect) Parameters Type Name Description RectangleF rect Returns Type Description System.Boolean Equals(Object) Tests whether obj is a RectangleF with the same location and size of this RectangleF . Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Equals(RectangleF) Returns true if two RectangleF objects have equal location and size. Declaration public bool Equals(RectangleF other) Parameters Type Name Description RectangleF other Returns Type Description System.Boolean FromLTRB(Single, Single, Single, Single) Creates a new RectangleF with the specified location and size. Declaration public static RectangleF FromLTRB(float left, float top, float right, float bottom) Parameters Type Name Description System.Single left System.Single top System.Single right System.Single bottom Returns Type Description RectangleF GetHashCode() Gets the hash code for this RectangleF . Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Inflate(Single, Single) Inflates this Rect by the specified amount. Declaration public void Inflate(float x, float y) Parameters Type Name Description System.Single x System.Single y Inflate(RectangleF, Single, Single) Creates a Rect that is inflated by the specified amount. Declaration public static RectangleF Inflate(RectangleF rect, float x, float y) Parameters Type Name Description RectangleF rect System.Single x System.Single y Returns Type Description RectangleF Inflate(SizeF) Inflates this Rect by the specified amount. Declaration public void Inflate(SizeF size) Parameters Type Name Description SizeF size Intersect(RectangleF) Creates a Rectangle that represents the intersection between this Rectangle and rect. Declaration public void Intersect(RectangleF rect) Parameters Type Name Description RectangleF rect Intersect(RectangleF, RectangleF) Creates a rectangle that represents the intersection between a and b. If there is no intersection, an empty rectangle is returned. Declaration public static RectangleF Intersect(RectangleF a, RectangleF b) Parameters Type Name Description RectangleF a RectangleF b Returns Type Description RectangleF IntersectsWith(RectangleF) Determines if this rectangle intersects with rect. Declaration public bool IntersectsWith(RectangleF rect) Parameters Type Name Description RectangleF rect Returns Type Description System.Boolean Offset(Single, Single) Adjusts the location of this rectangle by the specified amount. Declaration public void Offset(float x, float y) Parameters Type Name Description System.Single x System.Single y Offset(PointF) Adjusts the location of this rectangle by the specified amount. Declaration public void Offset(PointF pos) Parameters Type Name Description PointF pos ToString() Converts the Location and Size of this RectangleF to a human-readable string. Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Union(RectangleF, RectangleF) Creates a rectangle that represents the union between a and b. Declaration public static RectangleF Union(RectangleF a, RectangleF b) Parameters Type Name Description RectangleF a RectangleF b Returns Type Description RectangleF Operators Equality(RectangleF, RectangleF) Tests whether two RectangleF objects have equal location and size. Declaration public static bool operator ==(RectangleF left, RectangleF right) Parameters Type Name Description RectangleF left RectangleF right Returns Type Description System.Boolean Implicit(Rect to RectangleF) Converts the specified Rect to a RectangleF . Declaration public static implicit operator RectangleF(Rect r) Parameters Type Name Description Rect r Returns Type Description RectangleF Inequality(RectangleF, RectangleF) Tests whether two RectangleF objects differ in location or size. Declaration public static bool operator !=(RectangleF left, RectangleF right) Parameters Type Name Description RectangleF left RectangleF right Returns Type Description System.Boolean Implements System.IEquatable" + }, "api/Terminal.Gui/Terminal.Gui.Responder.html": { "href": "api/Terminal.Gui/Terminal.Gui.Responder.html", "title": "Class Responder", @@ -272,12 +377,12 @@ "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html", "title": "Class ScrollBarView", - "keywords": "Class ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical Inheritance System.Object Responder View ScrollBarView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollBarView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The scrollbar is drawn to be a representation of the Size, assuming that the scroll position is set at Position. If the region to display the scrollbar is larger than three characters, arrow indicators are drawn. Constructors ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() ScrollBarView(Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(int size, int position, bool isVertical) Parameters Type Name Description System.Int32 size The size that this scrollbar represents. System.Int32 position The position within this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. ScrollBarView(Rect) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect) Parameters Type Name Description Rect rect Frame for the scrollbar. ScrollBarView(Rect, Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect, int size, int position, bool isVertical) Parameters Type Name Description Rect rect Frame for the scrollbar. System.Int32 size The size that this scrollbar represents. Sets the Size property. System.Int32 position The position within this scrollbar. Sets the Position property. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the IsVertical property. ScrollBarView(View, Boolean, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true) Parameters Type Name Description View host The view that will host this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. System.Boolean showBothScrollIndicator If set to true (default) will have the other scrollbar, otherwise will have only one. Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View IsVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Declaration public bool IsVertical { get; set; } Property Value Type Description System.Boolean KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollBarView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView Position The position, relative to Size , to set the scrollbar at. Declaration public int Position { get; set; } Property Value Type Description System.Int32 The position. ShowScrollIndicator Gets or sets the visibility for the vertical or horizontal scroll indicator. Declaration public bool ShowScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical or horizontal scroll indicator; otherwise, false . Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Remarks The Size is typically the size of the virtual content. E.g. when a Scrollbar is part of a View the Size is set to the appropriate dimension of Host . Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events ChangedPosition This event is raised when the position on the scrollbar has changed. Declaration public event Action ChangedPosition Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ScrollBarView ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical Inheritance System.Object Responder View ScrollBarView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollBarView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The scrollbar is drawn to be a representation of the Size, assuming that the scroll position is set at Position. If the region to display the scrollbar is larger than three characters, arrow indicators are drawn. Constructors ScrollBarView() Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView() ScrollBarView(Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(int size, int position, bool isVertical) Parameters Type Name Description System.Int32 size The size that this scrollbar represents. System.Int32 position The position within this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. ScrollBarView(Rect) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect) Parameters Type Name Description Rect rect Frame for the scrollbar. ScrollBarView(Rect, Int32, Int32, Boolean) Initializes a new instance of the ScrollBarView class using Absolute layout. Declaration public ScrollBarView(Rect rect, int size, int position, bool isVertical) Parameters Type Name Description Rect rect Frame for the scrollbar. System.Int32 size The size that this scrollbar represents. Sets the Size property. System.Int32 position The position within this scrollbar. Sets the Position property. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the IsVertical property. ScrollBarView(View, Boolean, Boolean) Initializes a new instance of the ScrollBarView class using Computed layout. Declaration public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true) Parameters Type Name Description View host The view that will host this scrollbar. System.Boolean isVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. System.Boolean showBothScrollIndicator If set to true (default) will have the other scrollbar, otherwise will have only one. Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean Host Get or sets the view that host this View Declaration public View Host { get; } Property Value Type Description View IsVertical If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Declaration public bool IsVertical { get; set; } Property Value Type Description System.Boolean KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollBarView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean OtherScrollBarView Represent a vertical or horizontal ScrollBarView other than this. Declaration public ScrollBarView OtherScrollBarView { get; set; } Property Value Type Description ScrollBarView Position The position, relative to Size , to set the scrollbar at. Declaration public int Position { get; set; } Property Value Type Description System.Int32 The position. ShowScrollIndicator Gets or sets the visibility for the vertical or horizontal scroll indicator. Declaration public bool ShowScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical or horizontal scroll indicator; otherwise, false . Size The size of content the scrollbar represents. Declaration public int Size { get; set; } Property Value Type Description System.Int32 The size. Remarks The Size is typically the size of the virtual content. E.g. when a Scrollbar is part of a View the Size is set to the appropriate dimension of Host . Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnChangedPosition() Virtual method to invoke the ChangedPosition action event. Declaration public virtual void OnChangedPosition() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Refresh() Only used for a hosted view that will update and redraw the scrollbars. Declaration public virtual void Refresh() Events ChangedPosition This event is raised when the position on the scrollbar has changed. Declaration public event Action ChangedPosition Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ScrollView.html": { "href": "api/Terminal.Gui/Terminal.Gui.ScrollView.html", "title": "Class ScrollView", - "keywords": "Class ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. Inheritance System.Object Responder View ScrollView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The subviews that are added to this ScrollView are offset by the ContentOffset property. The view itself is a window into the space represented by the ContentSize . Use the Constructors ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() ScrollView(Rect) Initializes a new instance of the ScrollView class using Absolute positioning. Declaration public ScrollView(Rect frame) Parameters Type Name Description Rect frame Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean ContentOffset Represents the top left corner coordinate that is displayed by the scrollview Declaration public Point ContentOffset { get; set; } Property Value Type Description Point The content offset. ContentSize Represents the contents of the data shown inside the scrollview Declaration public Size ContentSize { get; set; } Property Value Type Description Size The size of the content. KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean ShowHorizontalScrollIndicator Gets or sets the visibility for the horizontal scroll indicator. Declaration public bool ShowHorizontalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show horizontal scroll indicator; otherwise, false . ShowVerticalScrollIndicator /// Gets or sets the visibility for the vertical scroll indicator. Declaration public bool ShowVerticalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical scroll indicator; otherwise, false . Methods Add(View) Adds the view to the scrollview. Declaration public override void Add(View view) Parameters Type Name Description View view The view to add to the scrollview. Overrides View.Add(View) Dispose(Boolean) Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) Remarks If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks ScrollDown(Int32) Scrolls the view down. Declaration public bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollLeft(Int32) Scrolls the view to the left Declaration public bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollRight(Int32) Scrolls the view to the right. Declaration public bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if right was scrolled, false otherwise. ScrollUp(Int32) Scrolls the view up. Declaration public bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class ScrollView Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView. Inheritance System.Object Responder View ScrollView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class ScrollView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The subviews that are added to this ScrollView are offset by the ContentOffset property. The view itself is a window into the space represented by the ContentSize . Use the Constructors ScrollView() Initializes a new instance of the ScrollView class using Computed positioning. Declaration public ScrollView() ScrollView(Rect) Initializes a new instance of the ScrollView class using Absolute positioning. Declaration public ScrollView(Rect frame) Parameters Type Name Description Rect frame Properties AutoHideScrollBars If true the vertical/horizontal scroll bars won't be showed if it's not needed. Declaration public bool AutoHideScrollBars { get; set; } Property Value Type Description System.Boolean ContentOffset Represents the top left corner coordinate that is displayed by the scrollview Declaration public Point ContentOffset { get; set; } Property Value Type Description Point The content offset. ContentSize Represents the contents of the data shown inside the scrollview Declaration public Size ContentSize { get; set; } Property Value Type Description Size The size of the content. KeepContentAlwaysInViewport Get or sets if the view-port is kept always visible in the area of this ScrollView Declaration public bool KeepContentAlwaysInViewport { get; set; } Property Value Type Description System.Boolean ShowHorizontalScrollIndicator Gets or sets the visibility for the horizontal scroll indicator. Declaration public bool ShowHorizontalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show horizontal scroll indicator; otherwise, false . ShowVerticalScrollIndicator /// Gets or sets the visibility for the vertical scroll indicator. Declaration public bool ShowVerticalScrollIndicator { get; set; } Property Value Type Description System.Boolean true if show vertical scroll indicator; otherwise, false . Methods Add(View) Adds the view to the scrollview. Declaration public override void Add(View view) Parameters Type Name Description View view The view to add to the scrollview. Overrides View.Add(View) Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect region) Parameters Type Name Description Rect region Overrides View.Redraw(Rect) RemoveAll() Removes all widgets from this container. Declaration public override void RemoveAll() Overrides View.RemoveAll() Remarks ScrollDown(Int32) Scrolls the view down. Declaration public bool ScrollDown(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollLeft(Int32) Scrolls the view to the left Declaration public bool ScrollLeft(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. ScrollRight(Int32) Scrolls the view to the right. Declaration public bool ScrollRight(int cols) Parameters Type Name Description System.Int32 cols Number of columns to scroll by. Returns Type Description System.Boolean true , if right was scrolled, false otherwise. ScrollUp(Int32) Scrolls the view up. Declaration public bool ScrollUp(int lines) Parameters Type Name Description System.Int32 lines Number of lines to scroll. Returns Type Description System.Boolean true , if left was scrolled, false otherwise. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html": { "href": "api/Terminal.Gui/Terminal.Gui.ShortcutHelper.html", @@ -289,10 +394,15 @@ "title": "Struct Size", "keywords": "Struct Size Stores an ordered pair of integers, which specify a Height and Width. Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct Size Constructors Size(Int32, Int32) Size Constructor Declaration public Size(int width, int height) Parameters Type Name Description System.Int32 width System.Int32 height Remarks Creates a Size from specified dimensions. Size(Point) Size Constructor Declaration public Size(Point pt) Parameters Type Name Description Point pt Remarks Creates a Size from a Point value. Fields Empty Gets a Size structure that has a Height and Width value of 0. Declaration public static readonly Size Empty Field Value Type Description Size Properties Height Height Property Declaration public int Height { get; set; } Property Value Type Description System.Int32 Remarks The Height coordinate of the Size. IsEmpty IsEmpty Property Declaration public bool IsEmpty { get; } Property Value Type Description System.Boolean Remarks Indicates if both Width and Height are zero. Width Width Property Declaration public int Width { get; set; } Property Value Type Description System.Int32 Remarks The Width coordinate of the Size. Methods Add(Size, Size) Adds the width and height of one Size structure to the width and height of another Size structure. Declaration public static Size Add(Size sz1, Size sz2) Parameters Type Name Description Size sz1 The first Size structure to add. Size sz2 The second Size structure to add. Returns Type Description Size The add. Equals(Object) Equals Method Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Remarks Checks equivalence of this Size and another object. GetHashCode() GetHashCode Method Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Remarks Calculates a hashing value. Subtract(Size, Size) Subtracts the width and height of one Size structure to the width and height of another Size structure. Declaration public static Size Subtract(Size sz1, Size sz2) Parameters Type Name Description Size sz1 The first Size structure to subtract. Size sz2 The second Size structure to subtract. Returns Type Description Size The subtract. ToString() ToString Method Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Remarks Formats the Size as a string in coordinate notation. Operators Addition(Size, Size) Addition Operator Declaration public static Size operator +(Size sz1, Size sz2) Parameters Type Name Description Size sz1 Size sz2 Returns Type Description Size Remarks Addition of two Size structures. Equality(Size, Size) Equality Operator Declaration public static bool operator ==(Size sz1, Size sz2) Parameters Type Name Description Size sz1 Size sz2 Returns Type Description System.Boolean Remarks Compares two Size objects. The return value is based on the equivalence of the Width and Height properties of the two Sizes. Explicit(Size to Point) Size to Point Conversion Declaration public static explicit operator Point(Size size) Parameters Type Name Description Size size Returns Type Description Point Remarks Returns a Point based on the dimensions of a given Size. Requires explicit cast. Inequality(Size, Size) Inequality Operator Declaration public static bool operator !=(Size sz1, Size sz2) Parameters Type Name Description Size sz1 Size sz2 Returns Type Description System.Boolean Remarks Compares two Size objects. The return value is based on the equivalence of the Width and Height properties of the two Sizes. Subtraction(Size, Size) Subtraction Operator Declaration public static Size operator -(Size sz1, Size sz2) Parameters Type Name Description Size sz1 Size sz2 Returns Type Description Size Remarks Subtracts two Size structures." }, + "api/Terminal.Gui/Terminal.Gui.SizeF.html": { + "href": "api/Terminal.Gui/Terminal.Gui.SizeF.html", + "title": "Struct SizeF", + "keywords": "Struct SizeF Represents the size of a rectangular region with an ordered pair of width and height. Implements System.IEquatable < SizeF > Inherited Members System.Object.Equals(System.Object, System.Object) System.Object.GetType() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public struct SizeF : IEquatable Constructors SizeF(Single, Single) Initializes a new instance of the SizeF class from the specified dimensions. Declaration public SizeF(float width, float height) Parameters Type Name Description System.Single width System.Single height SizeF(PointF) Initializes a new instance of the SizeF class from the specified PointF . Declaration public SizeF(PointF pt) Parameters Type Name Description PointF pt SizeF(SizeF) Initializes a new instance of the SizeF class from the specified existing SizeF . Declaration public SizeF(SizeF size) Parameters Type Name Description SizeF size Fields Empty Initializes a new instance of the SizeF class. Declaration public static readonly SizeF Empty Field Value Type Description SizeF Properties Height Represents the vertical component of this SizeF . Declaration public float Height { get; set; } Property Value Type Description System.Single IsEmpty Tests whether this SizeF has zero width and height. Declaration [Browsable(false)] public bool IsEmpty { get; } Property Value Type Description System.Boolean Width Represents the horizontal component of this SizeF . Declaration public float Width { get; set; } Property Value Type Description System.Single Methods Add(SizeF, SizeF) Performs vector addition of two SizeF objects. Declaration public static SizeF Add(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description SizeF Equals(Object) Tests to see whether the specified object is a SizeF with the same dimensions as this SizeF . Declaration public override bool Equals(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Boolean Overrides System.ValueType.Equals(System.Object) Equals(SizeF) Tests whether two SizeF objects are identical. Declaration public bool Equals(SizeF other) Parameters Type Name Description SizeF other Returns Type Description System.Boolean GetHashCode() Generates a hashcode from the width and height Declaration public override int GetHashCode() Returns Type Description System.Int32 Overrides System.ValueType.GetHashCode() Subtract(SizeF, SizeF) Contracts a SizeF by another SizeF . Declaration public static SizeF Subtract(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description SizeF ToString() Creates a human-readable string that represents this SizeF . Declaration public override string ToString() Returns Type Description System.String Overrides System.ValueType.ToString() Operators Addition(SizeF, SizeF) Performs vector addition of two SizeF objects. Declaration public static SizeF operator +(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description SizeF Division(SizeF, Single) Divides SizeF by a System.Single producing SizeF . Declaration public static SizeF operator /(SizeF left, float right) Parameters Type Name Description SizeF left Dividend of type SizeF . System.Single right Divisor of type System.Int32 . Returns Type Description SizeF Result of type SizeF . Equality(SizeF, SizeF) Tests whether two SizeF objects are identical. Declaration public static bool operator ==(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description System.Boolean Explicit(SizeF to PointF) Converts the specified SizeF to a PointF . Declaration public static explicit operator PointF(SizeF size) Parameters Type Name Description SizeF size Returns Type Description PointF Inequality(SizeF, SizeF) Tests whether two SizeF objects are different. Declaration public static bool operator !=(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description System.Boolean Multiply(Single, SizeF) Multiplies SizeF by a System.Single producing SizeF . Declaration public static SizeF operator *(float left, SizeF right) Parameters Type Name Description System.Single left Multiplier of type System.Single . SizeF right Multiplicand of type SizeF . Returns Type Description SizeF Product of type SizeF . Multiply(SizeF, Single) Multiplies SizeF by a System.Single producing SizeF . Declaration public static SizeF operator *(SizeF left, float right) Parameters Type Name Description SizeF left Multiplicand of type SizeF . System.Single right Multiplier of type System.Single . Returns Type Description SizeF Product of type SizeF . Subtraction(SizeF, SizeF) Contracts a SizeF by another SizeF Declaration public static SizeF operator -(SizeF sz1, SizeF sz2) Parameters Type Name Description SizeF sz1 SizeF sz2 Returns Type Description SizeF Implements System.IEquatable" + }, "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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class StatusBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() StatusBar(StatusItem[]) Initializes a new instance of the StatusBar class with the specified set of StatusItem s. The StatusBar will be drawn on the lowest line of the terminal or SuperView (if not null). Declaration public StatusBar(StatusItem[] items) Parameters Type Name Description StatusItem [] items A list of statusbar items. Properties Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] Methods Dispose(Boolean) Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) Remarks If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) ProcessHotKey(KeyEvent) This method can be overwritten by view that want to provide accelerator functionality (Alt-key for example). Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Remarks Before keys are sent to the subview on the current view, all the views are processed and the key is passed to the widgets to allow some of them to process the keystroke as a hot-key. For example, if you implement a button that has a hotkey ok \"o\", you would catch the combination Alt-o here. If the event is caught, you must return true to stop the keystroke from being dispatched to other views. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. 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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class StatusBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors StatusBar() Initializes a new instance of the StatusBar class. Declaration public StatusBar() StatusBar(StatusItem[]) Initializes a new instance of the StatusBar class with the specified set of StatusItem s. The StatusBar will be drawn on the lowest line of the terminal or SuperView (if not null). Declaration public StatusBar(StatusItem[] items) Parameters Type Name Description StatusItem [] items A list of statusbar items. Properties Items The items that compose the StatusBar Declaration public StatusItem[] Items { get; set; } Property Value Type Description StatusItem [] Methods Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessHotKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.StatusItem.html": { "href": "api/Terminal.Gui/Terminal.Gui.StatusItem.html", @@ -312,7 +422,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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TableView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() TableView(DataTable) Initialzies a TableView class using Computed layout. Declaration public TableView(DataTable table) Parameters Type Name Description System.Data.DataTable table The table to display in the control Fields DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 Properties CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key ColumnOffset Horizontal scroll offset. The index of the first column in Table to display when when rendering the view. Declaration public int ColumnOffset { get; set; } Property Value Type Description System.Int32 Remarks This property allows very wide tables to be rendered with horizontal scrolling FullRowSelect True to select the entire row at once. False to select individual cells. Defaults to false Declaration public bool FullRowSelect { get; set; } Property Value Type Description System.Boolean MaxCellWidth The maximum number of characters to render in any given column. This prevents one long column from pushing out all the others Declaration public int MaxCellWidth { get; set; } Property Value Type Description System.Int32 MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean MultiSelectedRegions When MultiSelect is enabled this property contain all rectangles of selected cells. Rectangles describe column/rows selected in Table (not screen coordinates) Declaration public Stack MultiSelectedRegions { get; } Property Value Type Description System.Collections.Generic.Stack < TableView.TableSelection > NullSymbol The text representation that should be rendered for cells with the value System.DBNull.Value Declaration public string NullSymbol { get; set; } Property Value Type Description System.String RowOffset Vertical scroll offset. The index of the first row in Table to display in the first non header line of the control when rendering the view. Declaration public int RowOffset { get; set; } Property Value Type Description System.Int32 SelectedColumn The index of System.Data.DataTable.Columns in Table that the user has currently selected Declaration public int SelectedColumn { get; set; } Property Value Type Description System.Int32 SelectedRow The index of System.Data.DataTable.Rows in Table that the user has currently selected Declaration public int SelectedRow { get; set; } Property Value Type Description System.Int32 SeparatorSymbol The symbol to add after each cell value and header value to visually seperate values (if not using vertical gridlines) Declaration public char SeparatorSymbol { get; set; } Property Value Type Description System.Char Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle Table The data table to render in the view. Setting this property automatically updates and redraws the control. Declaration public DataTable Table { get; set; } Property Value Type Description System.Data.DataTable Methods CellToScreen(Int32, Int32) Returns the screen position (relative to the control client area) that the given cell is rendered or null if it is outside the current scroll area or no table is loaded Declaration public Point? CellToScreen(int tableColumn, int tableRow) Parameters Type Name Description System.Int32 tableColumn The index of the Table column you are looking for, use System.Data.DataColumn.Ordinal System.Int32 tableRow The index of the row in Table that you are looking for Returns Type Description System.Nullable < Point > ChangeSelectionByOffset(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn by the provided offsets. Optionally starting a box selection (see MultiSelect ) Declaration public void ChangeSelectionByOffset(int offsetX, int offsetY, bool extendExistingSelection) Parameters Type Name Description System.Int32 offsetX Offset in number of columns System.Int32 offsetY Offset in number of rows System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one EnsureSelectedCellIsVisible() Updates scroll offsets to ensure that the selected cell is visible. Has no effect if Table has not been set. Declaration public void EnsureSelectedCellIsVisible() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidScrollOffsets() Updates ColumnOffset and RowOffset where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidSelection() Updates SelectedColumn , SelectedRow and MultiSelectedRegions where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidSelection() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() GetAllSelectedCells() Returns all cells in any MultiSelectedRegions (if MultiSelect is enabled) and the selected cell Declaration public IEnumerable GetAllSelectedCells() Returns Type Description System.Collections.Generic.IEnumerable < Point > IsSelected(Int32, Int32) Returns true if the given cell is selected either because it is the active cell or part of a multi cell selection (e.g. FullRowSelect ) Declaration public bool IsSelected(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description System.Boolean MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args PositionCursor() Positions the cursor in the area of the screen in which the start of the active cell is rendered. Calls base implementation if active cell is not visible due to scrolling or table is loaded etc Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. ScreenToCell(Int32, Int32) Returns the column and row of Table that corresponds to a given point on the screen (relative to the control client area). Returns null if the point is in the header, no table is loaded or outside the control bounds Declaration public Point? ScreenToCell(int clientX, int clientY) Parameters Type Name Description System.Int32 clientX X offset from the top left of the control System.Int32 clientY Y offset from the top left of the control Returns Type Description System.Nullable < Point > SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() SetSelection(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn to the given col/row in Table . Optionally starting a box selection (see MultiSelect ) Declaration public void SetSelection(int col, int row, bool extendExistingSelection) Parameters Type Name Description System.Int32 col System.Int32 row System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Remarks This always calls SetNeedsDisplay() Events CellActivated This event is raised when a cell is activated e.g. by double clicking or pressing CellActivationKey Declaration public event Action CellActivated Event Type Type Description System.Action < TableView.CellActivatedEventArgs > SelectedCellChanged This event is raised when the selected cell in the table changes. Declaration public event Action SelectedCellChanged Event Type Type Description System.Action < TableView.SelectedCellChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TableView View for tabular data based on a System.Data.DataTable . See TableView Deep Dive for more information . Inheritance System.Object Responder View TableView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TableView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TableView() Initialzies a TableView class using Computed layout. Set the Table property to begin editing Declaration public TableView() TableView(DataTable) Initialzies a TableView class using Computed layout. Declaration public TableView(DataTable table) Parameters Type Name Description System.Data.DataTable table The table to display in the control Fields DefaultMaxCellWidth The default maximum cell width for MaxCellWidth and MaxWidth Declaration public const int DefaultMaxCellWidth = 100 Field Value Type Description System.Int32 Properties CellActivationKey The key which when pressed should trigger CellActivated event. Defaults to Enter. Declaration public Key CellActivationKey { get; set; } Property Value Type Description Key ColumnOffset Horizontal scroll offset. The index of the first column in Table to display when when rendering the view. Declaration public int ColumnOffset { get; set; } Property Value Type Description System.Int32 Remarks This property allows very wide tables to be rendered with horizontal scrolling FullRowSelect True to select the entire row at once. False to select individual cells. Defaults to false Declaration public bool FullRowSelect { get; set; } Property Value Type Description System.Boolean MaxCellWidth The maximum number of characters to render in any given column. This prevents one long column from pushing out all the others Declaration public int MaxCellWidth { get; set; } Property Value Type Description System.Int32 MultiSelect True to allow regions to be selected Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean MultiSelectedRegions When MultiSelect is enabled this property contain all rectangles of selected cells. Rectangles describe column/rows selected in Table (not screen coordinates) Declaration public Stack MultiSelectedRegions { get; } Property Value Type Description System.Collections.Generic.Stack < TableView.TableSelection > NullSymbol The text representation that should be rendered for cells with the value System.DBNull.Value Declaration public string NullSymbol { get; set; } Property Value Type Description System.String RowOffset Vertical scroll offset. The index of the first row in Table to display in the first non header line of the control when rendering the view. Declaration public int RowOffset { get; set; } Property Value Type Description System.Int32 SelectedColumn The index of System.Data.DataTable.Columns in Table that the user has currently selected Declaration public int SelectedColumn { get; set; } Property Value Type Description System.Int32 SelectedRow The index of System.Data.DataTable.Rows in Table that the user has currently selected Declaration public int SelectedRow { get; set; } Property Value Type Description System.Int32 SeparatorSymbol The symbol to add after each cell value and header value to visually seperate values (if not using vertical gridlines) Declaration public char SeparatorSymbol { get; set; } Property Value Type Description System.Char Style Contains options for changing how the table is rendered Declaration public TableView.TableStyle Style { get; set; } Property Value Type Description TableView.TableStyle Table The data table to render in the view. Setting this property automatically updates and redraws the control. Declaration public DataTable Table { get; set; } Property Value Type Description System.Data.DataTable Methods CellToScreen(Int32, Int32) Returns the screen position (relative to the control client area) that the given cell is rendered or null if it is outside the current scroll area or no table is loaded Declaration public Point? CellToScreen(int tableColumn, int tableRow) Parameters Type Name Description System.Int32 tableColumn The index of the Table column you are looking for, use System.Data.DataColumn.Ordinal System.Int32 tableRow The index of the row in Table that you are looking for Returns Type Description System.Nullable < Point > ChangeSelectionByOffset(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn by the provided offsets. Optionally starting a box selection (see MultiSelect ) Declaration public void ChangeSelectionByOffset(int offsetX, int offsetY, bool extendExistingSelection) Parameters Type Name Description System.Int32 offsetX Offset in number of columns System.Int32 offsetY Offset in number of rows System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one EnsureSelectedCellIsVisible() Updates scroll offsets to ensure that the selected cell is visible. Has no effect if Table has not been set. Declaration public void EnsureSelectedCellIsVisible() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidScrollOffsets() Updates ColumnOffset and RowOffset where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() EnsureValidSelection() Updates SelectedColumn , SelectedRow and MultiSelectedRegions where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if Table has not been set. Declaration public void EnsureValidSelection() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() GetAllSelectedCells() Returns all cells in any MultiSelectedRegions (if MultiSelect is enabled) and the selected cell Declaration public IEnumerable GetAllSelectedCells() Returns Type Description System.Collections.Generic.IEnumerable < Point > IsSelected(Int32, Int32) Returns true if the given cell is selected either because it is the active cell or part of a multi cell selection (e.g. FullRowSelect ) Declaration public bool IsSelected(int col, int row) Parameters Type Name Description System.Int32 col System.Int32 row Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnCellActivated(TableView.CellActivatedEventArgs) Invokes the CellActivated event Declaration protected virtual void OnCellActivated(TableView.CellActivatedEventArgs args) Parameters Type Name Description TableView.CellActivatedEventArgs args OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs) Invokes the SelectedCellChanged event Declaration protected virtual void OnSelectedCellChanged(TableView.SelectedCellChangedEventArgs args) Parameters Type Name Description TableView.SelectedCellChangedEventArgs args PositionCursor() Positions the cursor in the area of the screen in which the start of the active cell is rendered. Calls base implementation if active cell is not visible due to scrolling or table is loaded etc Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ScreenToCell(Int32, Int32) Returns the column and row of Table that corresponds to a given point on the screen (relative to the control client area). Returns null if the point is in the header, no table is loaded or outside the control bounds Declaration public Point? ScreenToCell(int clientX, int clientY) Parameters Type Name Description System.Int32 clientX X offset from the top left of the control System.Int32 clientY Y offset from the top left of the control Returns Type Description System.Nullable < Point > SelectAll() When MultiSelect is on, creates selection over all cells in the table (replacing any old selection regions) Declaration public void SelectAll() SetSelection(Int32, Int32, Boolean) Moves the SelectedRow and SelectedColumn to the given col/row in Table . Optionally starting a box selection (see MultiSelect ) Declaration public void SetSelection(int col, int row, bool extendExistingSelection) Parameters Type Name Description System.Int32 col System.Int32 row System.Boolean extendExistingSelection True to create a multi cell selection or adjust an existing one Update() Updates the view to reflect changes to Table and to ( ColumnOffset / RowOffset ) etc Declaration public void Update() Remarks This always calls SetNeedsDisplay() Events CellActivated This event is raised when a cell is activated e.g. by double clicking or pressing CellActivationKey Declaration public event Action CellActivated Event Type Type Description System.Action < TableView.CellActivatedEventArgs > SelectedCellChanged This event is raised when the selected cell in the table changes. Declaration public event Action SelectedCellChanged Event Type Type Description System.Action < TableView.SelectedCellChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html": { "href": "api/Terminal.Gui/Terminal.Gui.TableView.SelectedCellChangedEventArgs.html", @@ -332,7 +442,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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TabView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties MaxTabTextWidth The maximum number of characters to render in a Tab header. This prevents one long tab from pushing out all the others. Declaration public uint MaxTabTextWidth { get; set; } Property Value Type Description System.UInt32 SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab Style Render choices for how to display tabs. After making changes, call ApplyStyleChanges() Declaration public TabView.TabStyle Style { get; set; } Property Value Type Description TabView.TabStyle Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > TabScrollOffset When there are too many tabs to render, this indicates the first tab to render on the screen. Declaration public int TabScrollOffset { get; set; } Property Value Type Description System.Int32 Methods AddTab(TabView.Tab, Boolean) Adds the given tab to Tabs Declaration public void AddTab(TabView.Tab tab, bool andSelect) Parameters Type Name Description TabView.Tab tab System.Boolean andSelect True to make the newly added Tab the SelectedTab ApplyStyleChanges() Updates the control to use the latest state settings in Style . This can change the size of the client area of the tab (for rendering the selected tab's content). This method includes a call to SetNeedsDisplay() Declaration public void ApplyStyleChanges() Dispose(Boolean) Disposes the control and all Tabs Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() OnSelectedTabChanged(TabView.Tab, TabView.Tab) Raises the SelectedTabChanged event Declaration protected virtual void OnSelectedTabChanged(TabView.Tab oldTab, TabView.Tab newTab) Parameters Type Name Description TabView.Tab oldTab TabView.Tab newTab ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. RemoveTab(TabView.Tab) Removes the given tab from Tabs . Caller is responsible for disposing the tab's hosted View if appropriate. Declaration public void RemoveTab(TabView.Tab tab) Parameters Type Name Description TabView.Tab tab SwitchTabBy(Int32) Changes the SelectedTab by the given amount . Positive for right, negative for left. If no tab is currently selected then the first tab will become selected Declaration public void SwitchTabBy(int amount) Parameters Type Name Description System.Int32 amount Events SelectedTabChanged Event for when SelectedTab changes Declaration public event EventHandler SelectedTabChanged Event Type Type Description System.EventHandler < TabView.TabChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TabView Control that hosts multiple sub views, presenting a single one at once Inheritance System.Object Responder View TabView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TabView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TabView() Initialzies a TabView class using Computed layout. Declaration public TabView() Fields DefaultMaxTabTextWidth The default MaxTabTextWidth to set on new TabView controls Declaration public const uint DefaultMaxTabTextWidth = 30U Field Value Type Description System.UInt32 Properties MaxTabTextWidth The maximum number of characters to render in a Tab header. This prevents one long tab from pushing out all the others. Declaration public uint MaxTabTextWidth { get; set; } Property Value Type Description System.UInt32 SelectedTab The currently selected member of Tabs chosen by the user Declaration public TabView.Tab SelectedTab { get; set; } Property Value Type Description TabView.Tab Style Render choices for how to display tabs. After making changes, call ApplyStyleChanges() Declaration public TabView.TabStyle Style { get; set; } Property Value Type Description TabView.TabStyle Tabs All tabs currently hosted by the control Declaration public IReadOnlyCollection Tabs { get; } Property Value Type Description System.Collections.Generic.IReadOnlyCollection < TabView.Tab > TabScrollOffset When there are too many tabs to render, this indicates the first tab to render on the screen. Declaration public int TabScrollOffset { get; set; } Property Value Type Description System.Int32 Methods AddTab(TabView.Tab, Boolean) Adds the given tab to Tabs Declaration public void AddTab(TabView.Tab tab, bool andSelect) Parameters Type Name Description TabView.Tab tab System.Boolean andSelect True to make the newly added Tab the SelectedTab ApplyStyleChanges() Updates the control to use the latest state settings in Style . This can change the size of the client area of the tab (for rendering the selected tab's content). This method includes a call to SetNeedsDisplay() Declaration public void ApplyStyleChanges() Dispose(Boolean) Disposes the control and all Tabs Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides View.Dispose(Boolean) EnsureSelectedTabIsVisible() Updates TabScrollOffset to ensure that SelectedTab is visible Declaration public void EnsureSelectedTabIsVisible() EnsureValidScrollOffsets() Updates TabScrollOffset to be a valid index of Tabs Declaration public void EnsureValidScrollOffsets() Remarks Changes will not be immediately visible in the display until you call SetNeedsDisplay() OnSelectedTabChanged(TabView.Tab, TabView.Tab) Raises the SelectedTabChanged event Declaration protected virtual void OnSelectedTabChanged(TabView.Tab oldTab, TabView.Tab newTab) Parameters Type Name Description TabView.Tab oldTab TabView.Tab newTab ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RemoveTab(TabView.Tab) Removes the given tab from Tabs . Caller is responsible for disposing the tab's hosted View if appropriate. Declaration public void RemoveTab(TabView.Tab tab) Parameters Type Name Description TabView.Tab tab SwitchTabBy(Int32) Changes the SelectedTab by the given amount . Positive for right, negative for left. If no tab is currently selected then the first tab will become selected Declaration public void SwitchTabBy(int amount) Parameters Type Name Description System.Int32 amount Events SelectedTabChanged Event for when SelectedTab changes Declaration public event EventHandler SelectedTabChanged Event Type Type Description System.EventHandler < TabView.TabChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html": { "href": "api/Terminal.Gui/Terminal.Gui.TabView.Tab.html", @@ -367,17 +477,17 @@ "api/Terminal.Gui/Terminal.Gui.TextField.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextField.html", "title": "Class TextField", - "keywords": "Class TextField Single-line text entry View Inheritance System.Object Responder View TextField DateField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TextField View provides editing functionality and mouse support. Constructors TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() TextField(ustring) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(ustring text) Parameters Type Name Description NStack.ustring text Initial text contents. TextField(Int32, Int32, Int32, ustring) Initializes a new instance of the TextField class using Absolute positioning. Declaration public TextField(int x, int y, int w, ustring text) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.Int32 w The width. NStack.ustring text Initial text contents. TextField(String) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(string text) Parameters Type Name Description System.String text Initial text contents. Properties CanFocus Gets or sets a value indicating whether this Responder can focus. Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus CursorPosition Sets or gets the current cursor position. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public override Rect Frame { get; set; } Property Value Type Description Rect The frame. Overrides View.Frame Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . 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 Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean Remarks This makes the text entry suitable for entering passwords. SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks Used Tracks whether the text field should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean Methods ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnLeave(View) OnTextChanging(ustring) Virtual method that invoke the TextChanging event if it's defined. Declaration public virtual TextChangingEventArgs OnTextChanging(ustring newText) Parameters Type Name Description NStack.ustring newText The new text to be replaced. Returns Type Description TextChangingEventArgs Returns the TextChangingEventArgs Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Processes key presses for the TextField . Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Events TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > Remarks This event is raised when the Text changes. TextChanging Changing event, raised before the Text changes and can be canceled or changing the new text. Declaration public event Action TextChanging Event Type Type Description System.Action < TextChangingEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TextField Single-line text entry View Inheritance System.Object Responder View TextField DateField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TextField View provides editing functionality and mouse support. Constructors TextField() Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField() TextField(ustring) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(ustring text) Parameters Type Name Description NStack.ustring text Initial text contents. TextField(Int32, Int32, Int32, ustring) Initializes a new instance of the TextField class using Absolute positioning. Declaration public TextField(int x, int y, int w, ustring text) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.Int32 w The width. NStack.ustring text Initial text contents. TextField(String) Initializes a new instance of the TextField class using Computed positioning. Declaration public TextField(string text) Parameters Type Name Description System.String text Initial text contents. Properties CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus CursorPosition Sets or gets the current cursor position. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame 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 Secret Sets the secret property. Declaration public bool Secret { get; set; } Property Value Type Description System.Boolean Remarks This makes the text entry suitable for entering passwords. SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedStart Start position of the selected text. Declaration public int SelectedStart { get; set; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Text Sets or gets the text held by the view. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks Used Tracks whether the text field should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean Methods ClearAllSelection() Clear the selected text. Declaration public void ClearAllSelection() Copy() Copy the selected text to the clipboard. Declaration public virtual void Copy() Cut() Cut the selected text to the clipboard. Declaration public virtual void Cut() MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) OnTextChanging(ustring) Virtual method that invoke the TextChanging event if it's defined. Declaration public virtual TextChangingEventArgs OnTextChanging(ustring newText) Parameters Type Name Description NStack.ustring newText The new text to be replaced. Returns Type Description TextChangingEventArgs Returns the TextChangingEventArgs Paste() Paste the selected text from the clipboard. Declaration public virtual void Paste() PositionCursor() Sets the cursor position. Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Processes key presses for the TextField . Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Events TextChanged Changed event, raised when the text has changed. Declaration public event Action TextChanged Event Type Type Description System.Action < NStack.ustring > Remarks This event is raised when the Text changes. TextChanging Changing event, raised before the Text changes and can be canceled or changing the new text. Declaration public event Action TextChanging Event Type Type Description System.Action < TextChangingEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextFormatter.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextFormatter.html", "title": "Class TextFormatter", - "keywords": "Class TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. Inheritance System.Object TextFormatter Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextFormatter Properties Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. CursorPosition Gets the cursor position from HotKey . If the HotKey is defined, the cursor will be positioned over it. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key HotKeyPos The position in the text of the hotkey. The hotkey will be rendered using the hot color. Declaration public int HotKeyPos { get; set; } Property Value Type Description System.Int32 HotKeySpecifier The specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune HotKeyTagMask Specifies the mask to apply to the hotkey to tag it as the hotkey. The default value of 0x100000 causes the underlying Rune to be identified as a \"private use\" Unicode character. Declaration public uint HotKeyTagMask { get; set; } Property Value Type Description System.UInt32 Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > Remarks Upon a 'get' of this property, if the text needs to be formatted (if NeedsFormat is true ) Format(ustring, Int32, Boolean, Boolean, Boolean) will be called internally. NeedsFormat Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute) is called. If it is false when Draw is called, the Draw call will be faster. Declaration public bool NeedsFormat { get; set; } Property Value Type Description System.Boolean Remarks This is set to true when the properties of TextFormatter are set. Size Gets or sets the size of the area the text will be constrained to when formatted. Declaration public Size Size { get; set; } Property Value Type Description Size Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods CalcRect(Int32, Int32, ustring) Calculates the rectangle required to hold text, assuming no word wrapping. Declaration public static Rect CalcRect(int x, int y, ustring text) 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 Returns Type Description Rect ClipAndJustify(ustring, Int32, Boolean) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, bool justify) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. System.Boolean justify Justify. Returns Type Description NStack.ustring Justified and clipped text. ClipAndJustify(ustring, Int32, TextAlignment) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. TextAlignment talign Alignment. Returns Type Description NStack.ustring Justified and clipped text. Draw(Rect, Attribute, Attribute) Draws the text held by TextFormatter to Driver using the colors specified. Declaration public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor) Parameters Type Name Description Rect bounds Specifies the screen-relative location and maximum size for drawing the text. Attribute normalColor The color to use for all text except the hotkey Attribute hotColor The color to use to draw the hotkey FindHotKey(ustring, Rune, Boolean, out Int32, out Key) Finds the hotkey and its location in text. Declaration public static bool FindHotKey(ustring text, Rune hotKeySpecifier, bool firstUpperCase, out int hotPos, out Key hotKey) Parameters Type Name Description NStack.ustring text The text to look in. System.Rune hotKeySpecifier The hotkey specifier (e.g. '_') to look for. System.Boolean firstUpperCase If true the legacy behavior of identifying the first upper case character as the hotkey will be enabled. Regardless of the value of this parameter, hotKeySpecifier takes precedence. System.Int32 hotPos Outputs the Rune index into text . Key hotKey Outputs the hotKey. Returns Type Description System.Boolean true if a hotkey was found; false otherwise. Format(ustring, Int32, Boolean, Boolean, Boolean) 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) 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. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. Format(ustring, Int32, TextAlignment, Boolean, Boolean) 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) 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. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. IsHorizontalDirection(TextDirection) Check if it is a horizontal direction Declaration public static bool IsHorizontalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsLeftToRight(TextDirection) Check if it is Left to Right direction Declaration public static bool IsLeftToRight(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsTopToBottom(TextDirection) Check if it is Top to Bottom direction Declaration public static bool IsTopToBottom(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsVerticalDirection(TextDirection) Check if it is a vertical direction Declaration public static bool IsVerticalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean Justify(ustring, Int32, Char) Justifies the text to fill the width provided. Space will be added between words (demarked by spaces and tabs) to make the text just fit width . Spaces will not be added to the ends. Declaration public static ustring Justify(ustring text, int width, char spaceChar = ' ') Parameters Type Name Description NStack.ustring text System.Int32 width System.Char spaceChar Character to replace whitespace and pad with. For debugging purposes. Returns Type Description NStack.ustring The justified text. MaxLines(ustring, Int32) Computes the number of lines needed to render the specified text given the width. Declaration public static int MaxLines(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Number of lines. MaxWidth(ustring, Int32) Computes the maximum width needed to render the text (single line or multiple lines) given a minimum width. Declaration public static int MaxWidth(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Max width of lines. RemoveHotKeySpecifier(ustring, Int32, Rune) Removes the hotkey specifier from text. Declaration public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier) Parameters Type Name Description NStack.ustring text The text to manipulate. System.Int32 hotPos Returns the position of the hot-key in the text. -1 if not found. System.Rune hotKeySpecifier The hot-key specifier (e.g. '_') to look for. Returns Type Description NStack.ustring The input text with the hotkey specifier ('_') removed. ReplaceHotKeyWithTag(ustring, Int32) Replaces the Rune at the index specified by the hotPos parameter with a tag identifying it as the hotkey. Declaration public ustring ReplaceHotKeyWithTag(ustring text, int hotPos) Parameters Type Name Description NStack.ustring text The text to tag the hotkey in. System.Int32 hotPos The Rune index of the hotkey in text . Returns Type Description NStack.ustring The text with the hotkey tagged. Remarks The returned string will not render correctly without first un-doing the tag. To undo the tag, search for Runes with a bitmask of otKeyTagMask and remove that bitmask. WordWrap(ustring, Int32, Boolean) 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) 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. Returns Type Description System.Collections.Generic.List < NStack.ustring > Returns a list of word wrapped lines. Remarks This method does not do any justification. This method strips Newline ('\\n' and '\\r\\n') sequences before processing." + "keywords": "Class TextFormatter Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap. Inheritance System.Object TextFormatter Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ToString() Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextFormatter Properties Alignment Controls the horizontal text-alignment property. Declaration public TextAlignment Alignment { get; set; } Property Value Type Description TextAlignment The text alignment. CursorPosition Gets the cursor position from HotKey . If the HotKey is defined, the cursor will be positioned over it. Declaration public int CursorPosition { get; set; } Property Value Type Description System.Int32 Direction Controls the text-direction property. Declaration public TextDirection Direction { get; set; } Property Value Type Description TextDirection The text vertical alignment. HotKey Gets the hotkey. Will be an upper case letter or digit. Declaration public Key HotKey { get; } Property Value Type Description Key HotKeyPos The position in the text of the hotkey. The hotkey will be rendered using the hot color. Declaration public int HotKeyPos { get; set; } Property Value Type Description System.Int32 HotKeySpecifier The specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune HotKeyTagMask Specifies the mask to apply to the hotkey to tag it as the hotkey. The default value of 0x100000 causes the underlying Rune to be identified as a \"private use\" Unicode character. Declaration public uint HotKeyTagMask { get; set; } Property Value Type Description System.UInt32 Lines Gets the formatted lines. Declaration public List Lines { get; } Property Value Type Description System.Collections.Generic.List < NStack.ustring > Remarks Upon a 'get' of this property, if the text needs to be formatted (if NeedsFormat is true ) Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) will be called internally. NeedsFormat Gets or sets whether the TextFormatter needs to format the text when Draw(Rect, Attribute, Attribute) is called. If it is false when Draw is called, the Draw call will be faster. Declaration public bool NeedsFormat { get; set; } Property Value Type Description System.Boolean Remarks This is set to true when the properties of TextFormatter are set. Size Gets or sets the size of the area the text will be constrained to when formatted. Declaration public Size Size { get; set; } Property Value Type Description Size Text The text to be displayed. This text is never modified. Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring VerticalAlignment Controls the vertical text-alignment property. Declaration public VerticalTextAlignment VerticalAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text vertical alignment. Methods CalcRect(Int32, Int32, ustring) Calculates the rectangle required to hold text, assuming no word wrapping. Declaration public static Rect CalcRect(int x, int y, ustring text) 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 Returns Type Description Rect ClipAndJustify(ustring, Int32, Boolean) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, bool justify) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. System.Boolean justify Justify. Returns Type Description NStack.ustring Justified and clipped text. ClipAndJustify(ustring, Int32, TextAlignment) Justifies text within a specified width. Declaration public static ustring ClipAndJustify(ustring text, int width, TextAlignment talign) Parameters Type Name Description NStack.ustring text The text to justify. System.Int32 width If the text length is greater that width it will be clipped. TextAlignment talign Alignment. Returns Type Description NStack.ustring Justified and clipped text. Draw(Rect, Attribute, Attribute) Draws the text held by TextFormatter to Driver using the colors specified. Declaration public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor) Parameters Type Name Description Rect bounds Specifies the screen-relative location and maximum size for drawing the text. Attribute normalColor The color to use for all text except the hotkey Attribute hotColor The color to use to draw the hotkey FindHotKey(ustring, Rune, Boolean, out Int32, out Key) Finds the hotkey and its location in text. Declaration public static bool FindHotKey(ustring text, Rune hotKeySpecifier, bool firstUpperCase, out int hotPos, out Key hotKey) Parameters Type Name Description NStack.ustring text The text to look in. System.Rune hotKeySpecifier The hotkey specifier (e.g. '_') to look for. System.Boolean firstUpperCase If true the legacy behavior of identifying the first upper case character as the hotkey will be enabled. Regardless of the value of this parameter, hotKeySpecifier takes precedence. System.Int32 hotPos Outputs the Rune index into text . Key hotKey Outputs the hotKey. Returns Type Description System.Boolean true if a hotkey was found; false otherwise. Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, bool justify, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. System.Boolean justify Specifies whether the text should be justified. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) Reformats text into lines, applying text alignment and optionally wrapping text to new lines on word boundaries. Declaration public static List Format(ustring text, int width, TextAlignment talign, bool wordWrap, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text System.Int32 width The width to bound the text to for word wrapping and clipping. TextAlignment talign Specifies how the text will be aligned horizontally. System.Boolean wordWrap If true , the text will be wrapped to new lines as need. If false , forces text to fit a single line. Line breaks are converted to spaces. The text will be clipped to width System.Boolean preserveTrailingSpaces If true and 'wordWrap' also true, the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > A list of word wrapped lines. Remarks An empty text string will result in one empty line. If width is 0, a single, empty line will be returned. If width is int.MaxValue, the text will be formatted to the maximum width possible. IsHorizontalDirection(TextDirection) Check if it is a horizontal direction Declaration public static bool IsHorizontalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsLeftToRight(TextDirection) Check if it is Left to Right direction Declaration public static bool IsLeftToRight(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsTopToBottom(TextDirection) Check if it is Top to Bottom direction Declaration public static bool IsTopToBottom(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean IsVerticalDirection(TextDirection) Check if it is a vertical direction Declaration public static bool IsVerticalDirection(TextDirection textDirection) Parameters Type Name Description TextDirection textDirection Returns Type Description System.Boolean Justify(ustring, Int32, Char) Justifies the text to fill the width provided. Space will be added between words (demarked by spaces and tabs) to make the text just fit width . Spaces will not be added to the ends. Declaration public static ustring Justify(ustring text, int width, char spaceChar = ' ') Parameters Type Name Description NStack.ustring text System.Int32 width System.Char spaceChar Character to replace whitespace and pad with. For debugging purposes. Returns Type Description NStack.ustring The justified text. MaxLines(ustring, Int32) Computes the number of lines needed to render the specified text given the width. Declaration public static int MaxLines(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Number of lines. MaxWidth(ustring, Int32) Computes the maximum width needed to render the text (single line or multiple lines) given a minimum width. Declaration public static int MaxWidth(ustring text, int width) Parameters Type Name Description NStack.ustring text Text, may contain newlines. System.Int32 width The minimum width for the text. Returns Type Description System.Int32 Max width of lines. RemoveHotKeySpecifier(ustring, Int32, Rune) Removes the hotkey specifier from text. Declaration public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier) Parameters Type Name Description NStack.ustring text The text to manipulate. System.Int32 hotPos Returns the position of the hot-key in the text. -1 if not found. System.Rune hotKeySpecifier The hot-key specifier (e.g. '_') to look for. Returns Type Description NStack.ustring The input text with the hotkey specifier ('_') removed. ReplaceHotKeyWithTag(ustring, Int32) Replaces the Rune at the index specified by the hotPos parameter with a tag identifying it as the hotkey. Declaration public ustring ReplaceHotKeyWithTag(ustring text, int hotPos) Parameters Type Name Description NStack.ustring text The text to tag the hotkey in. System.Int32 hotPos The Rune index of the hotkey in text . Returns Type Description NStack.ustring The text with the hotkey tagged. Remarks The returned string will not render correctly without first un-doing the tag. To undo the tag, search for Runes with a bitmask of otKeyTagMask and remove that bitmask. WordWrap(ustring, Int32, Boolean, Int32) Formats the provided text to fit within the width provided using word wrapping. Declaration public static List WordWrap(ustring text, int width, bool preserveTrailingSpaces = false, int tabWidth = 0) Parameters Type Name Description NStack.ustring text The text to word wrap System.Int32 width The width to contain the text to System.Boolean preserveTrailingSpaces If true , the wrapped text will keep the trailing spaces. If false , the trailing spaces will be trimmed. System.Int32 tabWidth The tab width. Returns Type Description System.Collections.Generic.List < NStack.ustring > Returns a list of word wrapped lines. Remarks This method does not do any justification. This method strips Newline ('\\n' and '\\r\\n') sequences before processing." }, - "api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html": { - "href": "api/Terminal.Gui/Terminal.Gui.TextValidateField-1.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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) 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 where T : ITextValidateProvider Type Parameters Name Description T Constructors TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() TextValidateField(ustring) Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField(ustring mask) Parameters Type Name Description NStack.ustring mask Mask TextValidateField(ustring, ustring) Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField(ustring mask, ustring text) Parameters Type Name Description NStack.ustring mask NStack.ustring text Initial Value Properties IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean Mask Mask Declaration public ustring Mask { get; set; } Property Value Type Description NStack.ustring Provider Get the Provider Declaration public T Provider { get; } Property Value Type Description T Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Contains the details about the mouse event. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextValidateField : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Constructors TextValidateField() Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField() TextValidateField(ITextValidateProvider) Initializes a new instance of the TextValidateField class using Computed positioning. Declaration public TextValidateField(ITextValidateProvider provider) Parameters Type Name Description ITextValidateProvider provider Properties IsValid This property returns true if the input is valid. Declaration public virtual bool IsValid { get; } Property Value Type Description System.Boolean Provider Provider Declaration public ITextValidateProvider Provider { get; set; } Property Value Type Description ITextValidateProvider Text Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) PositionCursor() Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html", @@ -387,32 +497,32 @@ "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html", "title": "Interface ITextValidateProvider", - "keywords": "Interface ITextValidateProvider TextValidateField Providers Interface. All TextValidateField are created with a ITextValidateProvider. Namespace : Terminal.Gui.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public interface ITextValidateProvider Properties Fixed Set that this provider uses a fixed width. e.g. Masked ones are fixed. Declaration bool Fixed { get; } Property Value Type Description System.Boolean IsValid True if the input is valid, otherwise false. Declaration bool IsValid { get; } Property Value Type Description System.Boolean Mask Mask used for validation. Not always a mask, can by a regex expression. TODO: Maybe we can change the name. Declaration ustring Mask { get; set; } Property Value Type Description NStack.ustring Text Set the input text, and get the formatted string for display. Declaration ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Cursor(Int32) Set Cursor position to pos . Declaration int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 Return first valid position. CursorEnd() Find the last valid character position. Declaration int CursorEnd() Returns Type Description System.Int32 New cursor position. CursorLeft(Int32) First valid position before pos . Declaration int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorRight(Int32) First valid position after pos . Declaration int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Current position. Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorStart() Find the first valid character position. Declaration int CursorStart() Returns Type Description System.Int32 New cursor position. Delete(Int32) Deletes the current character in pos . Declaration bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean true if the character was successfully removed, otherwise false. InsertAt(Char, Int32) Insert character ch in position pos . Declaration bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean true if the character was successfully inserted, otherwise false." + "keywords": "Interface ITextValidateProvider TextValidateField Providers Interface. All TextValidateField are created with a ITextValidateProvider. Namespace : Terminal.Gui.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public interface ITextValidateProvider Properties DisplayText Gets the formatted string for display. Declaration ustring DisplayText { get; } Property Value Type Description NStack.ustring Fixed Set that this provider uses a fixed width. e.g. Masked ones are fixed. Declaration bool Fixed { get; } Property Value Type Description System.Boolean IsValid True if the input is valid, otherwise false. Declaration bool IsValid { get; } Property Value Type Description System.Boolean Text Set the input text and get the current value. Declaration ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Cursor(Int32) Set Cursor position to pos . Declaration int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 Return first valid position. CursorEnd() Find the last valid character position. Declaration int CursorEnd() Returns Type Description System.Int32 New cursor position. CursorLeft(Int32) First valid position before pos . Declaration int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorRight(Int32) First valid position after pos . Declaration int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Current position. Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorStart() Find the first valid character position. Declaration int CursorStart() Returns Type Description System.Int32 New cursor position. Delete(Int32) Deletes the current character in pos . Declaration bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean true if the character was successfully removed, otherwise false. InsertAt(Char, Int32) Insert character ch in position pos . Declaration bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean true if the character was successfully inserted, otherwise false." }, "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html", "title": "Class NetMaskedTextProvider", - "keywords": "Class NetMaskedTextProvider .Net MaskedTextProvider Provider for TextValidateField. Wrapper around MaskedTextProvider Masking elements Inheritance System.Object NetMaskedTextProvider Implements ITextValidateProvider 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.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public class NetMaskedTextProvider : ITextValidateProvider Constructors NetMaskedTextProvider() Empty Constructor Declaration public NetMaskedTextProvider() Properties Fixed Set that this provider uses a fixed width. e.g. Masked ones are fixed. Declaration public bool Fixed { get; } Property Value Type Description System.Boolean IsValid True if the input is valid, otherwise false. Declaration public bool IsValid { get; } Property Value Type Description System.Boolean Mask Mask used for validation. Not always a mask, can by a regex expression. TODO: Maybe we can change the name. Declaration public ustring Mask { get; set; } Property Value Type Description NStack.ustring Text Set the input text, and get the formatted string for display. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Cursor(Int32) Set Cursor position to pos . Declaration public int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 Return first valid position. CursorEnd() Find the last valid character position. Declaration public int CursorEnd() Returns Type Description System.Int32 New cursor position. CursorLeft(Int32) First valid position before pos . Declaration public int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorRight(Int32) First valid position after pos . Declaration public int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Current position. Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorStart() Find the first valid character position. Declaration public int CursorStart() Returns Type Description System.Int32 New cursor position. Delete(Int32) Deletes the current character in pos . Declaration public bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean true if the character was successfully removed, otherwise false. InsertAt(Char, Int32) Insert character ch in position pos . Declaration public bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean true if the character was successfully inserted, otherwise false. Implements ITextValidateProvider" + "keywords": "Class NetMaskedTextProvider .Net MaskedTextProvider Provider for TextValidateField. Wrapper around MaskedTextProvider Masking elements Inheritance System.Object NetMaskedTextProvider Implements ITextValidateProvider 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.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public class NetMaskedTextProvider : ITextValidateProvider Constructors NetMaskedTextProvider(String) Empty Constructor Declaration public NetMaskedTextProvider(string mask) Parameters Type Name Description System.String mask Properties DisplayText Declaration public ustring DisplayText { get; } Property Value Type Description NStack.ustring Fixed Declaration public bool Fixed { get; } Property Value Type Description System.Boolean IsValid Declaration public bool IsValid { get; } Property Value Type Description System.Boolean Mask Mask property Declaration public ustring Mask { get; set; } Property Value Type Description NStack.ustring Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring Methods Cursor(Int32) Declaration public int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorEnd() Declaration public int CursorEnd() Returns Type Description System.Int32 CursorLeft(Int32) Declaration public int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorRight(Int32) Declaration public int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorStart() Declaration public int CursorStart() Returns Type Description System.Int32 Delete(Int32) Declaration public bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean InsertAt(Char, Int32) Declaration public bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean Implements ITextValidateProvider" }, "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html", "title": "Class TextRegexProvider", - "keywords": "Class TextRegexProvider Regex Provider for TextValidateField. Inheritance System.Object TextRegexProvider Implements ITextValidateProvider 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.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public class TextRegexProvider : ITextValidateProvider Constructors TextRegexProvider() Empty Constructor Declaration public TextRegexProvider() Properties Fixed Set that this provider uses a fixed width. e.g. Masked ones are fixed. Declaration public bool Fixed { get; } Property Value Type Description System.Boolean IsValid True if the input is valid, otherwise false. Declaration public bool IsValid { get; } Property Value Type Description System.Boolean Mask Mask used for validation. Not always a mask, can by a regex expression. TODO: Maybe we can change the name. Declaration public ustring Mask { get; set; } Property Value Type Description NStack.ustring Text Set the input text, and get the formatted string for display. Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring ValidateOnInput When true, validates with the regex pattern on each input, preventing the input if it's not valid. Declaration public bool ValidateOnInput { get; set; } Property Value Type Description System.Boolean Methods Cursor(Int32) Set Cursor position to pos . Declaration public int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 Return first valid position. CursorEnd() Find the last valid character position. Declaration public int CursorEnd() Returns Type Description System.Int32 New cursor position. CursorLeft(Int32) First valid position before pos . Declaration public int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorRight(Int32) First valid position after pos . Declaration public int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Current position. Returns Type Description System.Int32 New cursor position if any, otherwise returns pos CursorStart() Find the first valid character position. Declaration public int CursorStart() Returns Type Description System.Int32 New cursor position. Delete(Int32) Deletes the current character in pos . Declaration public bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean true if the character was successfully removed, otherwise false. InsertAt(Char, Int32) Insert character ch in position pos . Declaration public bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean true if the character was successfully inserted, otherwise false. Implements ITextValidateProvider" + "keywords": "Class TextRegexProvider Regex Provider for TextValidateField. Inheritance System.Object TextRegexProvider Implements ITextValidateProvider 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.TextValidateProviders Assembly : Terminal.Gui.dll Syntax public class TextRegexProvider : ITextValidateProvider Constructors TextRegexProvider(String) Empty Constructor. Declaration public TextRegexProvider(string pattern) Parameters Type Name Description System.String pattern Properties DisplayText Declaration public ustring DisplayText { get; } Property Value Type Description NStack.ustring Fixed Declaration public bool Fixed { get; } Property Value Type Description System.Boolean IsValid Declaration public bool IsValid { get; } Property Value Type Description System.Boolean Pattern Regex pattern property. Declaration public ustring Pattern { get; set; } Property Value Type Description NStack.ustring Text Declaration public ustring Text { get; set; } Property Value Type Description NStack.ustring ValidateOnInput When true, validates with the regex pattern on each input, preventing the input if it's not valid. Declaration public bool ValidateOnInput { get; set; } Property Value Type Description System.Boolean Methods Cursor(Int32) Declaration public int Cursor(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorEnd() Declaration public int CursorEnd() Returns Type Description System.Int32 CursorLeft(Int32) Declaration public int CursorLeft(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorRight(Int32) Declaration public int CursorRight(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Int32 CursorStart() Declaration public int CursorStart() Returns Type Description System.Int32 Delete(Int32) Declaration public bool Delete(int pos) Parameters Type Name Description System.Int32 pos Returns Type Description System.Boolean InsertAt(Char, Int32) Declaration public bool InsertAt(char ch, int pos) Parameters Type Name Description System.Char ch System.Int32 pos Returns Type Description System.Boolean Implements ITextValidateProvider" }, "api/Terminal.Gui/Terminal.Gui.TextView.html": { "href": "api/Terminal.Gui/Terminal.Gui.TextView.html", "title": "Class TextView", - "keywords": "Class TextView Multi-line text editing View Inheritance System.Object Responder View TextView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks TextView provides a multi-line text editor. Users interact with it with the standard Emacs commands for movement or the arrow keys. Shortcut Action performed Left cursor, Control-b Moves the editing point left. Right cursor, Control-f Moves the editing point right. Alt-b Moves one word back. Alt-f Moves one word forward. Up cursor, Control-p Moves the editing point one line up. Down cursor, Control-n Moves the editing point one line down Home key, Control-a Moves the cursor to the beginning of the line. End key, Control-e Moves the cursor to the end of the line. Control-Home Scrolls to the first line and moves the cursor there. Control-End Scrolls to the last line and moves the cursor there. Delete, Control-d Deletes the character in front of the cursor. Backspace Deletes the character behind the cursor. Control-k Deletes the text until the end of the line and replaces the kill buffer with the deleted text. You can paste this text in a different place by using Control-y. Control-y Pastes the content of the kill ring into the current position. Alt-d Deletes the word above the cursor and adds it to the kill ring. You can paste the contents of the kill ring with Control-y. Control-q Quotes the next input character, to prevent the normal processing of key handling to take place. Constructors TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() TextView(Rect) Initializes a TextView on the specified area, with absolute position and size. Declaration public TextView(Rect frame) Parameters Type Name Description Rect frame Remarks Properties BottomOffset The bottom offset needed to use a horizontal scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int BottomOffset { get; set; } Property Value Type Description System.Int32 CanFocus Gets or sets a value indicating whether this Responder can focus. Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public override Rect Frame { get; set; } Property Value Type Description Rect The frame. Overrides View.Frame Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 ReadOnly Gets or sets whether the TextView is in read-only mode or not Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean Boolean value(Default false) RightOffset The right offset needed to use a vertical scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int RightOffset { get; set; } Property Value Type Description System.Int32 SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 Text Sets or gets the text in the TextView . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Remarks TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 Used Tracks whether the text view should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods 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. Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the next text based on the match case with the option to replace it. Declaration public bool FindNextText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was forward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If is replacing. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the previous text based on the match case with the option to replace it. Declaration public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was backward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If the text was found. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() LoadFile(String) Loads the contents of the file into the TextView . Declaration public bool LoadFile(string path) Parameters Type Name Description System.String path Path to the file to load. Returns Type Description System.Boolean true , if file was loaded, false otherwise. LoadStream(Stream) Loads the contents of the stream into the TextView . Declaration public void LoadStream(Stream stream) Parameters Type Name Description System.IO.Stream stream Stream to load the contents from. MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnEnter(View) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides View.OnLeave(View) Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. ReplaceAllText(ustring, Boolean, Boolean, ustring) Replaces all the text based on the match case. Declaration public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. Returns Type Description System.Boolean true If the text was found. false otherwise. ScrollTo(Int32, Boolean) Will scroll the TextView to display the specified row at the top if isRow is true or will scroll the TextView to display the specified column at the left if isRow is false. Declaration public void ScrollTo(int idx, bool isRow = true) Parameters Type Name Description System.Int32 idx Row that should be displayed at the top or Column that should be displayed at the left, if the value is negative it will be reset to zero System.Boolean isRow If true (default) the idx is a row, column otherwise. SelectAll() Select all text. Declaration public void SelectAll() Events TextChanged Raised when the Text of the TextView changes. Declaration public event Action TextChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TextView Multi-line text editing View Inheritance System.Object Responder View TextView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks TextView provides a multi-line text editor. Users interact with it with the standard Emacs commands for movement or the arrow keys. Shortcut Action performed Left cursor, Control-b Moves the editing point left. Right cursor, Control-f Moves the editing point right. Alt-b Moves one word back. Alt-f Moves one word forward. Up cursor, Control-p Moves the editing point one line up. Down cursor, Control-n Moves the editing point one line down Home key, Control-a Moves the cursor to the beginning of the line. End key, Control-e Moves the cursor to the end of the line. Control-Home Scrolls to the first line and moves the cursor there. Control-End Scrolls to the last line and moves the cursor there. Delete, Control-d Deletes the character in front of the cursor. Backspace Deletes the character behind the cursor. Control-k Deletes the text until the end of the line and replaces the kill buffer with the deleted text. You can paste this text in a different place by using Control-y. Control-y Pastes the content of the kill ring into the current position. Alt-d Deletes the word above the cursor and adds it to the kill ring. You can paste the contents of the kill ring with Control-y. Control-q Quotes the next input character, to prevent the normal processing of key handling to take place. Constructors TextView() Initializes a TextView on the specified area, with dimensions controlled with the X, Y, Width and Height properties. Declaration public TextView() TextView(Rect) Initializes a TextView on the specified area, with absolute position and size. Declaration public TextView(Rect frame) Parameters Type Name Description Rect frame Remarks Properties AllowsReturn Gets or sets a value indicating whether pressing ENTER in a TextView creates a new line of text in the view or activates the default button for the toplevel. Declaration public bool AllowsReturn { get; set; } Property Value Type Description System.Boolean AllowsTab Gets or sets a value indicating whether pressing the TAB key in a TextView types a TAB character in the view instead of moving the focus to the next view in the tab order. Declaration public bool AllowsTab { get; set; } Property Value Type Description System.Boolean BottomOffset The bottom offset needed to use a horizontal scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int BottomOffset { get; set; } Property Value Type Description System.Int32 CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides View.CanFocus CurrentColumn Gets the cursor column. Declaration public int CurrentColumn { get; } Property Value Type Description System.Int32 The cursor column. CurrentRow Gets the current cursor row. Declaration public int CurrentRow { get; } Property Value Type Description System.Int32 CursorPosition Sets or gets the current cursor position. Declaration public Point CursorPosition { get; set; } Property Value Type Description Point DesiredCursorVisibility Get / Set the wished cursor when the field is focused Declaration public CursorVisibility DesiredCursorVisibility { get; set; } Property Value Type Description CursorVisibility Frame Declaration public override Rect Frame { get; set; } Property Value Type Description Rect Overrides View.Frame LeftColumn Gets or sets the left column. Declaration public int LeftColumn { get; set; } Property Value Type Description System.Int32 Lines Gets the number of lines. Declaration public int Lines { get; } Property Value Type Description System.Int32 Maxlength Gets the maximum visible length line. Declaration public int Maxlength { get; } Property Value Type Description System.Int32 Multiline Gets or sets a value indicating whether this TextView is a multiline text view. Declaration public bool Multiline { get; set; } Property Value Type Description System.Boolean ReadOnly Gets or sets whether the TextView is in read-only mode or not Declaration public bool ReadOnly { get; set; } Property Value Type Description System.Boolean Boolean value(Default false) RightOffset The right offset needed to use a vertical scrollbar or for another reason. This is only needed with the keyboard navigation. Declaration public int RightOffset { get; set; } Property Value Type Description System.Int32 SelectedLength Length of the selected text. Declaration public int SelectedLength { get; } Property Value Type Description System.Int32 SelectedText The selected text. Declaration public ustring SelectedText { get; } Property Value Type Description NStack.ustring Selecting Get or sets the selecting. Declaration public bool Selecting { get; set; } Property Value Type Description System.Boolean SelectionStartColumn Start column position of the selected text. Declaration public int SelectionStartColumn { get; set; } Property Value Type Description System.Int32 SelectionStartRow Start row position of the selected text. Declaration public int SelectionStartRow { get; set; } Property Value Type Description System.Int32 TabWidth Gets or sets a value indicating the number of whitespace when pressing the TAB key. Declaration public int TabWidth { get; set; } Property Value Type Description System.Int32 Text Sets or gets the text in the TextView . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text Remarks TopRow Gets or sets the top row. Declaration public int TopRow { get; set; } Property Value Type Description System.Int32 Used Tracks whether the text view should be considered \"used\", that is, that the user has moved in the entry, so new input should be appended at the cursor position, rather than clearing the entry Declaration public bool Used { get; set; } Property Value Type Description System.Boolean WordWrap Allows word wrap the to fit the available container width. Declaration public bool WordWrap { get; set; } Property Value Type Description System.Boolean Methods 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. Copy() Copy the selected text to the clipboard contents. Declaration public void Copy() Cut() Cut the selected text to the clipboard contents. Declaration public void Cut() FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the next text based on the match case with the option to replace it. Declaration public bool FindNextText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was forward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If is replacing. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean) Find the previous text based on the match case with the option to replace it. Declaration public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean gaveFullTurn true If all the text was backward searched. false otherwise. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. System.Boolean replace true If the text was found. false otherwise. Returns Type Description System.Boolean true If the text was found. false otherwise. FindTextChanged() Reset the flag to stop continuous find. Declaration public void FindTextChanged() LoadFile(String) Loads the contents of the file into the TextView . Declaration public bool LoadFile(string path) Parameters Type Name Description System.String path Path to the file to load. Returns Type Description System.Boolean true , if file was loaded, false otherwise. LoadStream(Stream) Loads the contents of the stream into the TextView . Declaration public void LoadStream(Stream stream) Parameters Type Name Description System.IO.Stream stream Stream to load the contents from. MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) MoveEnd() Will scroll the TextView to the last line and position the cursor there. Declaration public void MoveEnd() MoveHome() Will scroll the TextView to the first line and position the cursor there. Declaration public void MoveHome() OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnEnter(View) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides View.OnLeave(View) Paste() Paste the clipboard contents into the current selected position. Declaration public void Paste() PositionCursor() Positions the cursor on the current row and column Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) ReplaceAllText(ustring, Boolean, Boolean, ustring) Replaces all the text based on the match case. Declaration public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null) Parameters Type Name Description NStack.ustring textToFind The text to find. System.Boolean matchCase The match case setting. System.Boolean matchWholeWord The match whole word setting. NStack.ustring textToReplace The text to replace. Returns Type Description System.Boolean true If the text was found. false otherwise. ScrollTo(Int32, Boolean) Will scroll the TextView to display the specified row at the top if isRow is true or will scroll the TextView to display the specified column at the left if isRow is false. Declaration public void ScrollTo(int idx, bool isRow = true) Parameters Type Name Description System.Int32 idx Row that should be displayed at the top or Column that should be displayed at the left, if the value is negative it will be reset to zero System.Boolean isRow If true (default) the idx is a row, column otherwise. SelectAll() Select all text. Declaration public void SelectAll() Events TextChanged Raised when the Text of the TextView changes. Declaration public event Action TextChanged Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.TimeField.html": { "href": "api/Terminal.Gui/Terminal.Gui.TimeField.html", "title": "Class TimeField", - "keywords": "Class TimeField Time editing View Inheritance System.Object Responder View TextField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Frame TextField.Text TextField.Secret TextField.CursorPosition TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TimeField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TimeField View provides time editing functionality with mouse support. Constructors TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() TimeField(Int32, Int32, TimeSpan, Boolean) Initializes a new instance of TimeField using Absolute positioning. Declaration public TimeField(int x, int y, TimeSpan time, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.TimeSpan time Initial time. System.Boolean isShort If true, the seconds are hidden. Sets the IsShortFormat property. TimeField(TimeSpan) Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField(TimeSpan time) Parameters Type Name Description System.TimeSpan time Initial time Properties IsShortFormat Get or sets whether TimeField uses the short or long time format. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Remarks Methods MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides TextField.MouseEvent(MouseEvent) OnTimeChanged(DateTimeEventArgs) Event firing method that invokes the TimeChanged event. Declaration public virtual void OnTimeChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.TimeSpan > args The event arguments ProcessKey(KeyEvent) 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 TextField.ProcessKey(KeyEvent) Remarks The TextField control responds to the following keys: Keys Function Delete , Backspace Deletes the character before cursor. Events TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> Remarks This event is raised when the Time changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class TimeField Time editing View Inheritance System.Object Responder View TextField TimeField Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members TextField.Used TextField.ReadOnly TextField.TextChanging TextField.TextChanged TextField.OnLeave(View) TextField.Frame TextField.Text TextField.Secret TextField.CursorPosition TextField.PositionCursor() TextField.Redraw(Rect) TextField.CanFocus TextField.SelectedStart TextField.SelectedLength TextField.SelectedText TextField.ClearAllSelection() TextField.Copy() TextField.Cut() TextField.Paste() TextField.OnTextChanging(ustring) TextField.DesiredCursorVisibility TextField.OnEnter(View) View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TimeField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The TimeField View provides time editing functionality with mouse support. Constructors TimeField() Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField() TimeField(Int32, Int32, TimeSpan, Boolean) Initializes a new instance of TimeField using Absolute positioning. Declaration public TimeField(int x, int y, TimeSpan time, bool isShort = false) Parameters Type Name Description System.Int32 x The x coordinate. System.Int32 y The y coordinate. System.TimeSpan time Initial time. System.Boolean isShort If true, the seconds are hidden. Sets the IsShortFormat property. TimeField(TimeSpan) Initializes a new instance of TimeField using Computed positioning. Declaration public TimeField(TimeSpan time) Parameters Type Name Description System.TimeSpan time Initial time Properties IsShortFormat Get or sets whether TimeField uses the short or long time format. Declaration public bool IsShortFormat { get; set; } Property Value Type Description System.Boolean Time Gets or sets the time of the TimeField . Declaration public TimeSpan Time { get; set; } Property Value Type Description System.TimeSpan Remarks Methods MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent ev) Parameters Type Name Description MouseEvent ev Returns Type Description System.Boolean Overrides TextField.MouseEvent(MouseEvent) OnTimeChanged(DateTimeEventArgs) Event firing method that invokes the TimeChanged event. Declaration public virtual void OnTimeChanged(DateTimeEventArgs args) Parameters Type Name Description DateTimeEventArgs < System.TimeSpan > args The event arguments ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent kb) Parameters Type Name Description KeyEvent kb Returns Type Description System.Boolean Overrides TextField.ProcessKey(KeyEvent) Events TimeChanged TimeChanged event, raised when the Date has changed. Declaration public event Action> TimeChanged Event Type Type Description System.Action < DateTimeEventArgs < System.TimeSpan >> Remarks This event is raised when the Time changes. Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Toplevel.html": { "href": "api/Terminal.Gui/Terminal.Gui.Toplevel.html", "title": "Class Toplevel", - "keywords": "Class Toplevel Toplevel views can be modally executed. Inheritance System.Object Responder View Toplevel Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) 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 Toplevel : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Toplevels can be modally executing views, started by calling Run(Toplevel, Func) . They return control to the caller when RequestStop() has been called (which sets the Running property to false). A Toplevel is created when an application initialzies Terminal.Gui by callling Init(ConsoleDriver, IMainLoopDriver) . The application Toplevel can be accessed via Top . Additional Toplevels can be created and run (e.g. Dialog s. To run a Toplevel, create the Toplevel and call Run(Toplevel, Func) . Toplevels can also opt-in to more sophisticated initialization by implementing System.ComponentModel.ISupportInitialize . When they do so, the System.ComponentModel.ISupportInitialize.BeginInit() and System.ComponentModel.ISupportInitialize.EndInit() methods will be called before running the view. If first-run-only initialization is preferred, the System.ComponentModel.ISupportInitializeNotification can be implemented too, in which case the System.ComponentModel.ISupportInitialize methods will only be called if System.ComponentModel.ISupportInitializeNotification.IsInitialized is false . This allows proper View inheritance hierarchies to override base class layout code optimally by doing so only on first run, instead of on every run. Constructors Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() Toplevel(Rect) Initializes a new instance of the Toplevel class with the specified absolute layout. Declaration public Toplevel(Rect frame) Parameters Type Name Description Rect frame A superview-relative rectangle specifying the location and size for the new Toplevel Properties CanFocus Gets or sets a value indicating whether this Toplevel can focus. Declaration public override bool CanFocus { get; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus MenuBar Gets or sets the menu for this Toplevel Declaration public MenuBar MenuBar { get; set; } Property Value Type Description MenuBar Modal Determines whether the Toplevel is modal or not. Causes ProcessKey(KeyEvent) to propagate keys upwards by default unless set to true . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean Running Gets or sets whether the MainLoop for this Toplevel is running or not. Declaration public bool Running { get; set; } Property Value Type Description System.Boolean Remarks Setting this property directly is discouraged. Use RequestStop() instead. StatusBar Gets or sets the status bar for this Toplevel Declaration public StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods Add(View) Adds a subview (child) to this view. Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The create. OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) ProcessColdKey(KeyEvent) This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior. Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) Remarks After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key. This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public override void RemoveAll() Overrides View.RemoveAll() WillPresent() Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func) after the views have been laid out, and before the views are drawn for the first time. Declaration public virtual void WillPresent() Events Loaded Fired once the Toplevel's Application.RunState has begin loaded. A Loaded event handler is a good place to finalize initialization before calling ` RunLoop(Application.RunState, Boolean) . Declaration public event Action Loaded Event Type Type Description System.Action Ready Fired once the Toplevel's MainLoop has started it's first iteration. Subscribe to this event to perform tasks when the Toplevel has been laid out and focus has been set. changes. A Ready event handler is a good place to finalize initialization after calling ` Run(Func) (topLevel)`. Declaration public event Action Ready Event Type Type Description System.Action Unloaded Fired once the Toplevel's Application.RunState has begin unloaded. A Unloaded event handler is a good place to disposing after calling ` End(Application.RunState) . Declaration public event Action Unloaded Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Toplevel Toplevel views can be modally executed. Inheritance System.Object Responder View Toplevel Window Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) 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 Toplevel : View, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks Toplevels can be modally executing views, started by calling Run(Toplevel, Func) . They return control to the caller when RequestStop() has been called (which sets the Running property to false). A Toplevel is created when an application initialzies Terminal.Gui by callling Init(ConsoleDriver, IMainLoopDriver) . The application Toplevel can be accessed via Top . Additional Toplevels can be created and run (e.g. Dialog s. To run a Toplevel, create the Toplevel and call Run(Toplevel, Func) . Toplevels can also opt-in to more sophisticated initialization by implementing System.ComponentModel.ISupportInitialize . When they do so, the System.ComponentModel.ISupportInitialize.BeginInit() and System.ComponentModel.ISupportInitialize.EndInit() methods will be called before running the view. If first-run-only initialization is preferred, the System.ComponentModel.ISupportInitializeNotification can be implemented too, in which case the System.ComponentModel.ISupportInitialize methods will only be called if System.ComponentModel.ISupportInitializeNotification.IsInitialized is false . This allows proper View inheritance hierarchies to override base class layout code optimally by doing so only on first run, instead of on every run. Constructors Toplevel() Initializes a new instance of the Toplevel class with Computed layout, defaulting to full screen. Declaration public Toplevel() Toplevel(Rect) Initializes a new instance of the Toplevel class with the specified absolute layout. Declaration public Toplevel(Rect frame) Parameters Type Name Description Rect frame A superview-relative rectangle specifying the location and size for the new Toplevel Properties CanFocus Gets or sets a value indicating whether this Toplevel can focus. Declaration public override bool CanFocus { get; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides View.CanFocus MenuBar Gets or sets the menu for this Toplevel Declaration public MenuBar MenuBar { get; set; } Property Value Type Description MenuBar Modal Determines whether the Toplevel is modal or not. Causes ProcessKey(KeyEvent) to propagate keys upwards by default unless set to true . Declaration public bool Modal { get; set; } Property Value Type Description System.Boolean Running Gets or sets whether the MainLoop for this Toplevel is running or not. Declaration public bool Running { get; set; } Property Value Type Description System.Boolean Remarks Setting this property directly is discouraged. Use RequestStop() instead. StatusBar Gets or sets the status bar for this Toplevel Declaration public StatusBar StatusBar { get; set; } Property Value Type Description StatusBar Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides View.Add(View) Create() Convenience factory method that creates a new Toplevel with the current terminal dimensions. Declaration public static Toplevel Create() Returns Type Description Toplevel The create. OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.OnKeyUp(KeyEvent) ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessColdKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides View.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides View.RemoveAll() WillPresent() Invoked by Begin(Toplevel) as part of the Run(Toplevel, Func) after the views have been laid out, and before the views are drawn for the first time. Declaration public virtual void WillPresent() Events Loaded Fired once the Toplevel's Application.RunState has begin loaded. A Loaded event handler is a good place to finalize initialization before calling ` RunLoop(Application.RunState, Boolean) . Declaration public event Action Loaded Event Type Type Description System.Action Ready Fired once the Toplevel's MainLoop has started it's first iteration. Subscribe to this event to perform tasks when the Toplevel has been laid out and focus has been set. changes. A Ready event handler is a good place to finalize initialization after calling ` Run(Func) (topLevel)`. Declaration public event Action Ready Event Type Type Description System.Action Unloaded Fired once the Toplevel's Application.RunState has begin unloaded. A Unloaded event handler is a good place to disposing after calling ` End(Application.RunState) . Declaration public event Action Unloaded Event Type Type Description System.Action Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html": { "href": "api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html", @@ -452,7 +562,7 @@ "api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html": { "href": "api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html", "title": "Class TreeBuilder", - "keywords": "Class TreeBuilder Abstract implementation of ITreeBuilder . Inheritance System.Object TreeBuilder DelegateTreeBuilder TreeNodeBuilder Implements ITreeBuilder 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.Trees Assembly : Terminal.Gui.dll Syntax public abstract class TreeBuilder : ITreeBuilder Type Parameters Name Description T Constructors TreeBuilder(Boolean) Constructs base and initializes SupportsCanExpand Declaration public TreeBuilder(bool supportsCanExpand) Parameters Type Name Description System.Boolean supportsCanExpand Pass true if you intend to implement CanExpand(T) otherwise false Properties SupportsCanExpand Returns true if CanExpand(T) is implemented by this class Declaration public bool SupportsCanExpand { get; protected set; } Property Value Type Description System.Boolean Methods CanExpand(T) Override this method to return a rapid answer as to whether GetChildren(T) returns results. If you are implementing this method ensure you passed true in base constructor or set SupportsCanExpand Declaration public virtual bool CanExpand(T toExpand) Parameters Type Name Description T toExpand Returns Type Description System.Boolean GetChildren(T) Returns all children of a given forObject which should be added to the tree as new branches underneath it Declaration public abstract IEnumerable GetChildren(T forObject) Parameters Type Name Description T forObject Returns Type Description System.Collections.Generic.IEnumerable Implements ITreeBuilder" + "keywords": "Class TreeBuilder Abstract implementation of ITreeBuilder . Inheritance System.Object TreeBuilder DelegateTreeBuilder TreeNodeBuilder Implements ITreeBuilder 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.Trees Assembly : Terminal.Gui.dll Syntax public abstract class TreeBuilder : ITreeBuilder Type Parameters Name Description T Constructors TreeBuilder(Boolean) Constructs base and initializes SupportsCanExpand Declaration public TreeBuilder(bool supportsCanExpand) Parameters Type Name Description System.Boolean supportsCanExpand Pass true if you intend to implement CanExpand(T) otherwise false Properties SupportsCanExpand Declaration public bool SupportsCanExpand { get; protected set; } Property Value Type Description System.Boolean Methods CanExpand(T) Override this method to return a rapid answer as to whether GetChildren(T) returns results. If you are implementing this method ensure you passed true in base constructor or set SupportsCanExpand Declaration public virtual bool CanExpand(T toExpand) Parameters Type Name Description T toExpand Returns Type Description System.Boolean GetChildren(T) Declaration public abstract IEnumerable GetChildren(T forObject) Parameters Type Name Description T forObject Returns Type Description System.Collections.Generic.IEnumerable Implements ITreeBuilder" }, "api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html": { "href": "api/Terminal.Gui/Terminal.Gui.Trees.TreeNode.html", @@ -477,7 +587,7 @@ "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.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView where T : class Type Parameters Name Description T Constructors TreeView() Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Children will not be rendered until you set TreeBuilder Declaration public TreeView() TreeView(ITreeBuilder) Initialises TreeBuilder .Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Declaration public TreeView(ITreeBuilder builder) Parameters Type Name Description ITreeBuilder builder Fields NoBuilderError Error message to display when the control is not properly initialized at draw time (nodes added but no tree builder set) Declaration public static ustring NoBuilderError Field Value Type Description NStack.ustring Properties AllowLetterBasedNavigation True makes a letter key press navigate to the next visible branch that begins with that letter/digit Declaration public bool AllowLetterBasedNavigation { get; set; } Property Value Type Description System.Boolean AspectGetter Returns the string representation of model objects hosted in the tree. Default implementation is to call System.Object.ToString() Declaration public AspectGetterDelegate AspectGetter { get; set; } Property Value Type Description AspectGetterDelegate ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean ObjectActivationButton Mouse event to trigger ObjectActivated . Defaults to double click ( Button1DoubleClicked ). Set to null to disable this feature. Declaration public MouseFlags? ObjectActivationButton { get; set; } Property Value Type Description System.Nullable < MouseFlags > ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key Objects The root objects in the tree, note that this collection is of root objects only Declaration public IEnumerable Objects { get; } Property Value Type Description System.Collections.Generic.IEnumerable ScrollOffsetHorizontal The amount of tree view that has been scrolled to the right (horizontally) Declaration public int ScrollOffsetHorizontal { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() ScrollOffsetVertical The amount of tree view that has been scrolled off the top of the screen (by the user scrolling down) Declaration public int ScrollOffsetVertical { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() SelectedObject The currently selected object in the tree. When MultiSelect is true this is the object at which the cursor is at Declaration public T SelectedObject { get; set; } Property Value Type Description T Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle TreeBuilder Determines how sub branches of the tree are dynamically built at runtime as the user expands root nodes Declaration public ITreeBuilder TreeBuilder { get; set; } Property Value Type Description ITreeBuilder Methods AddObject(T) Adds a new root level object unless it is already a root of the tree Declaration public void AddObject(T o) Parameters Type Name Description T o AddObjects(IEnumerable) Adds many new root level objects. Objects that are already root objects are ignored Declaration public void AddObjects(IEnumerable collection) Parameters Type Name Description System.Collections.Generic.IEnumerable collection Objects to add as new root level objects AdjustSelection(Int32, Boolean) The number of screen lines to move the currently selected object by. Supports negative offset . Each branch occupies 1 line on screen Declaration public void AdjustSelection(int offset, bool expandSelection = false) Parameters Type Name Description System.Int32 offset Positive to move the selection down the screen, negative to move it up System.Boolean expandSelection True to expand the selection (assuming MultiSelect is enabled). False to replace Remarks If nothing is currently selected or the selected object is no longer in the tree then the first object in the tree is selected instead AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() CanExpand(T) Returns true if the given object o is exposed in the tree and can be expanded otherwise false Declaration public bool CanExpand(T o) Parameters Type Name Description T o Returns Type Description System.Boolean ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() Collapse(T) Collapses the supplied object if it is currently expanded Declaration public void Collapse(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() CollapseAll(T) Collapses the supplied object if it is currently expanded. Also collapses all children branches (this will only become apparent when/if the user expands it again) Declaration public void CollapseAll(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseImpl(T, Boolean) Implementation of Collapse(T) and CollapseAll(T) . Performs operation and updates selection if disapeared Declaration protected void CollapseImpl(T toCollapse, bool all) Parameters Type Name Description T toCollapse System.Boolean all CursorLeft(Boolean) Determines systems behaviour when the left arrow key is pressed. Default behaviour is to collapse the current tree node if possible otherwise changes selection to current branches parent Declaration protected virtual void CursorLeft(bool ctrl) Parameters Type Name Description System.Boolean ctrl EnsureVisible(T) Adjusts the ScrollOffsetVertical to ensure the given model is visible. Has no effect if already visible Declaration public void EnsureVisible(T model) Parameters Type Name Description T model Expand(T) Expands the supplied object if it is contained in the tree (either as a root object or as an exposed branch object) Declaration public void Expand(T toExpand) Parameters Type Name Description T toExpand The object to expand ExpandAll() Fully expands all nodes in the tree, if the tree is very big and built dynamically this may take a while (e.g. for file system) Declaration public void ExpandAll() ExpandAll(T) Expands the supplied object and all child objects Declaration public void ExpandAll(T toExpand) Parameters Type Name Description T toExpand The object to expand GetAllSelectedObjects() Returns SelectedObject (if not null) and all multi selected objects if MultiSelect is true Declaration public IEnumerable GetAllSelectedObjects() Returns Type Description System.Collections.Generic.IEnumerable GetChildren(T) Returns the currently expanded children of the passed object. Returns an empty collection if the branch is not exposed or not expanded Declaration public IEnumerable GetChildren(T o) Parameters Type Name Description T o An object in the tree Returns Type Description System.Collections.Generic.IEnumerable GetContentWidth(Boolean) Returns the maximum width line in the tree including prefix and expansion symbols Declaration public int GetContentWidth(bool visible) Parameters Type Name Description System.Boolean visible True to consider only rows currently visible (based on window bounds and ScrollOffsetVertical . False to calculate the width of every exposed branch in the tree Returns Type Description System.Int32 GetParent(T) Returns the parent object of o in the tree. Returns null if the object is not exposed in the tree Declaration public T GetParent(T o) Parameters Type Name Description T o An object in the tree Returns Type Description T GetScrollOffsetOf(T) Returns the index of the object o if it is currently exposed (it's parent(s) have been expanded). This can be used with ScrollOffsetVertical and SetNeedsDisplay() to scroll to a specific object Declaration public int GetScrollOffsetOf(T o) Parameters Type Name Description T o An object that appears in your tree and is currently exposed Returns Type Description System.Int32 The index the object was found at or -1 if it is not currently revealed or not in the tree at all Remarks Uses the Equals method and returns the first index at which the object is found or -1 if it is not found GoTo(T) Changes the SelectedObject to toSelect and scrolls to ensure it is visible. Has no effect if toSelect is not exposed in the tree (e.g. its parents are collapsed) Declaration public void GoTo(T toSelect) Parameters Type Name Description T toSelect GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() IsExpanded(T) Returns true if the given object o is exposed in the tree and expanded otherwise false Declaration public bool IsExpanded(T o) Parameters Type Name Description T o Returns Type Description System.Boolean IsSelected(T) Returns true if the model is either the SelectedObject or part of a MultiSelect Declaration public bool IsSelected(T model) Parameters Type Name Description T model Returns Type Description System.Boolean MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. RebuildTree() Rebuilds the tree structure for all exposed objects starting with the root objects. Call this method when you know there are changes to the tree but don't know which objects have changed (otherwise use RefreshObject(T, Boolean) ) Declaration public void RebuildTree() Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides View.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. RefreshObject(T, Boolean) Refreshes the state of the object o in the tree. This will recompute children, string representation etc Declaration public void RefreshObject(T o, bool startAtTop = false) Parameters Type Name Description T o System.Boolean startAtTop True to also refresh all ancestors of the objects branch (starting with the root). False to refresh only the passed node Remarks This has no effect if the object is not exposed in the tree. Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o Remarks If o is the currently SelectedObject then the selection is cleared SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events ObjectActivated This event is raised when an object is activated e.g. by double clicking or pressing ObjectActivationKey Declaration public event Action> ObjectActivated Event Type Type Description System.Action < ObjectActivatedEventArgs > SelectionChanged Called when the SelectedObject changes Declaration public event EventHandler> SelectionChanged Event Type Type Description System.EventHandler < SelectionChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" + "keywords": "Class TreeView Hierarchical tree view with expandable branches. Branch objects are dynamically determined when expanded using a user defined ITreeBuilder See TreeView Deep Dive for more information . Inheritance System.Object Responder View TreeView TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView Inherited Members View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.CanFocus View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View) View.Add(View[]) View.RemoveAll() View.Remove(View) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.ProcessColdKey(KeyEvent) View.KeyDown View.OnKeyDown(KeyEvent) View.KeyUp View.OnKeyUp(KeyEvent) View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.Text View.AutoSize View.TextAlignment View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class TreeView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, ITreeView where T : class Type Parameters Name Description T Constructors TreeView() Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Children will not be rendered until you set TreeBuilder Declaration public TreeView() TreeView(ITreeBuilder) Initialises TreeBuilder .Creates a new tree view with absolute positioning. Use AddObjects(IEnumerable) to set set root objects for the tree. Declaration public TreeView(ITreeBuilder builder) Parameters Type Name Description ITreeBuilder builder Fields NoBuilderError Error message to display when the control is not properly initialized at draw time (nodes added but no tree builder set) Declaration public static ustring NoBuilderError Field Value Type Description NStack.ustring Properties AllowLetterBasedNavigation True makes a letter key press navigate to the next visible branch that begins with that letter/digit Declaration public bool AllowLetterBasedNavigation { get; set; } Property Value Type Description System.Boolean AspectGetter Returns the string representation of model objects hosted in the tree. Default implementation is to call System.Object.ToString() Declaration public AspectGetterDelegate AspectGetter { get; set; } Property Value Type Description AspectGetterDelegate ContentHeight The current number of rows in the tree (ignoring the controls bounds) Declaration public int ContentHeight { get; } Property Value Type Description System.Int32 MultiSelect True to allow multiple objects to be selected at once Declaration public bool MultiSelect { get; set; } Property Value Type Description System.Boolean ObjectActivationButton Mouse event to trigger ObjectActivated . Defaults to double click ( Button1DoubleClicked ). Set to null to disable this feature. Declaration public MouseFlags? ObjectActivationButton { get; set; } Property Value Type Description System.Nullable < MouseFlags > ObjectActivationKey Key which when pressed triggers ObjectActivated . Defaults to Enter Declaration public Key ObjectActivationKey { get; set; } Property Value Type Description Key Objects The root objects in the tree, note that this collection is of root objects only Declaration public IEnumerable Objects { get; } Property Value Type Description System.Collections.Generic.IEnumerable ScrollOffsetHorizontal The amount of tree view that has been scrolled to the right (horizontally) Declaration public int ScrollOffsetHorizontal { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() ScrollOffsetVertical The amount of tree view that has been scrolled off the top of the screen (by the user scrolling down) Declaration public int ScrollOffsetVertical { get; set; } Property Value Type Description System.Int32 Remarks Setting a value of less than 0 will result in a offset of 0. To see changes in the UI call SetNeedsDisplay() SelectedObject The currently selected object in the tree. When MultiSelect is true this is the object at which the cursor is at Declaration public T SelectedObject { get; set; } Property Value Type Description T Style Contains options for changing how the tree is rendered Declaration public TreeStyle Style { get; set; } Property Value Type Description TreeStyle TreeBuilder Determines how sub branches of the tree are dynamically built at runtime as the user expands root nodes Declaration public ITreeBuilder TreeBuilder { get; set; } Property Value Type Description ITreeBuilder Methods AddObject(T) Adds a new root level object unless it is already a root of the tree Declaration public void AddObject(T o) Parameters Type Name Description T o AddObjects(IEnumerable) Adds many new root level objects. Objects that are already root objects are ignored Declaration public void AddObjects(IEnumerable collection) Parameters Type Name Description System.Collections.Generic.IEnumerable collection Objects to add as new root level objects AdjustSelection(Int32, Boolean) The number of screen lines to move the currently selected object by. Supports negative offset . Each branch occupies 1 line on screen Declaration public void AdjustSelection(int offset, bool expandSelection = false) Parameters Type Name Description System.Int32 offset Positive to move the selection down the screen, negative to move it up System.Boolean expandSelection True to expand the selection (assuming MultiSelect is enabled). False to replace Remarks If nothing is currently selected or the selected object is no longer in the tree then the first object in the tree is selected instead AdjustSelectionToBranchEnd() Moves the selection to the last child in the currently selected level Declaration public void AdjustSelectionToBranchEnd() AdjustSelectionToBranchStart() Moves the selection to the first child in the currently selected level Declaration public void AdjustSelectionToBranchStart() CanExpand(T) Returns true if the given object o is exposed in the tree and can be expanded otherwise false Declaration public bool CanExpand(T o) Parameters Type Name Description T o Returns Type Description System.Boolean ClearObjects() Removes all objects from the tree and clears SelectedObject Declaration public void ClearObjects() Collapse(T) Collapses the supplied object if it is currently expanded Declaration public void Collapse(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseAll() Collapses all root nodes in the tree Declaration public void CollapseAll() CollapseAll(T) Collapses the supplied object if it is currently expanded. Also collapses all children branches (this will only become apparent when/if the user expands it again) Declaration public void CollapseAll(T toCollapse) Parameters Type Name Description T toCollapse The object to collapse CollapseImpl(T, Boolean) Implementation of Collapse(T) and CollapseAll(T) . Performs operation and updates selection if disapeared Declaration protected void CollapseImpl(T toCollapse, bool all) Parameters Type Name Description T toCollapse System.Boolean all CursorLeft(Boolean) Determines systems behaviour when the left arrow key is pressed. Default behaviour is to collapse the current tree node if possible otherwise changes selection to current branches parent Declaration protected virtual void CursorLeft(bool ctrl) Parameters Type Name Description System.Boolean ctrl EnsureVisible(T) Adjusts the ScrollOffsetVertical to ensure the given model is visible. Has no effect if already visible Declaration public void EnsureVisible(T model) Parameters Type Name Description T model Expand(T) Expands the supplied object if it is contained in the tree (either as a root object or as an exposed branch object) Declaration public void Expand(T toExpand) Parameters Type Name Description T toExpand The object to expand ExpandAll() Fully expands all nodes in the tree, if the tree is very big and built dynamically this may take a while (e.g. for file system) Declaration public void ExpandAll() ExpandAll(T) Expands the supplied object and all child objects Declaration public void ExpandAll(T toExpand) Parameters Type Name Description T toExpand The object to expand GetAllSelectedObjects() Returns SelectedObject (if not null) and all multi selected objects if MultiSelect is true Declaration public IEnumerable GetAllSelectedObjects() Returns Type Description System.Collections.Generic.IEnumerable GetChildren(T) Returns the currently expanded children of the passed object. Returns an empty collection if the branch is not exposed or not expanded Declaration public IEnumerable GetChildren(T o) Parameters Type Name Description T o An object in the tree Returns Type Description System.Collections.Generic.IEnumerable GetContentWidth(Boolean) Returns the maximum width line in the tree including prefix and expansion symbols Declaration public int GetContentWidth(bool visible) Parameters Type Name Description System.Boolean visible True to consider only rows currently visible (based on window bounds and ScrollOffsetVertical . False to calculate the width of every exposed branch in the tree Returns Type Description System.Int32 GetParent(T) Returns the parent object of o in the tree. Returns null if the object is not exposed in the tree Declaration public T GetParent(T o) Parameters Type Name Description T o An object in the tree Returns Type Description T GetScrollOffsetOf(T) Returns the index of the object o if it is currently exposed (it's parent(s) have been expanded). This can be used with ScrollOffsetVertical and SetNeedsDisplay() to scroll to a specific object Declaration public int GetScrollOffsetOf(T o) Parameters Type Name Description T o An object that appears in your tree and is currently exposed Returns Type Description System.Int32 The index the object was found at or -1 if it is not currently revealed or not in the tree at all Remarks Uses the Equals method and returns the first index at which the object is found or -1 if it is not found GoTo(T) Changes the SelectedObject to toSelect and scrolls to ensure it is visible. Has no effect if toSelect is not exposed in the tree (e.g. its parents are collapsed) Declaration public void GoTo(T toSelect) Parameters Type Name Description T toSelect GoToEnd() Changes the SelectedObject to the last object in the tree and scrolls so that it is visible Declaration public void GoToEnd() GoToFirst() Changes the SelectedObject to the first root object and resets the ScrollOffsetVertical to 0 Declaration public void GoToFirst() InvalidateLineMap() Clears any cached results of Terminal.Gui.TreeView`1.BuildLineMap Declaration protected void InvalidateLineMap() IsExpanded(T) Returns true if the given object o is exposed in the tree and expanded otherwise false Declaration public bool IsExpanded(T o) Parameters Type Name Description T o Returns Type Description System.Boolean IsSelected(T) Returns true if the model is either the SelectedObject or part of a MultiSelect Declaration public bool IsSelected(T model) Parameters Type Name Description T model Returns Type Description System.Boolean MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent me) Parameters Type Name Description MouseEvent me Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) OnObjectActivated(ObjectActivatedEventArgs) Raises the ObjectActivated event Declaration protected virtual void OnObjectActivated(ObjectActivatedEventArgs e) Parameters Type Name Description ObjectActivatedEventArgs e OnSelectionChanged(SelectionChangedEventArgs) Raises the SelectionChanged event Declaration protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) Parameters Type Name Description SelectionChangedEventArgs e PositionCursor() Positions the cursor at the start of the selected objects line (if visible) Declaration public override void PositionCursor() Overrides View.PositionCursor() ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides View.ProcessKey(KeyEvent) RebuildTree() Rebuilds the tree structure for all exposed objects starting with the root objects. Call this method when you know there are changes to the tree but don't know which objects have changed (otherwise use RefreshObject(T, Boolean) ) Declaration public void RebuildTree() Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides View.Redraw(Rect) RefreshObject(T, Boolean) Refreshes the state of the object o in the tree. This will recompute children, string representation etc Declaration public void RefreshObject(T o, bool startAtTop = false) Parameters Type Name Description T o System.Boolean startAtTop True to also refresh all ancestors of the objects branch (starting with the root). False to refresh only the passed node Remarks This has no effect if the object is not exposed in the tree. Remove(T) Removes the given root object from the tree Declaration public void Remove(T o) Parameters Type Name Description T o Remarks If o is the currently SelectedObject then the selection is cleared SelectAll() Selects all objects in the tree when MultiSelect is enabled otherwise does nothing Declaration public void SelectAll() Events ObjectActivated This event is raised when an object is activated e.g. by double clicking or pressing ObjectActivationKey Declaration public event Action> ObjectActivated Event Type Type Description System.Action < ObjectActivatedEventArgs > SelectionChanged Called when the SelectedObject changes Declaration public event EventHandler> SelectionChanged Event Type Type Description System.EventHandler < SelectionChangedEventArgs > Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize ITreeView" }, "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html": { "href": "api/Terminal.Gui/Terminal.Gui.VerticalTextAlignment.html", @@ -492,7 +602,7 @@ "api/Terminal.Gui/Terminal.Gui.View.html": { "href": "api/Terminal.Gui/Terminal.Gui.View.html", "title": "Class View", - "keywords": "Class View View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views. Inheritance System.Object Responder View Button CheckBox ComboBox FrameView HexView Label ListView MenuBar ProgressBar RadioGroup ScrollBarView ScrollView StatusBar TableView TabView TextField TextValidateField TextView Toplevel TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class View : Responder, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The View defines the base functionality for user interface elements in Terminal.Gui. Views can contain one or more subviews, can respond to user input and render themselves on the screen. Views supports two layout styles: Absolute or Computed. The choice as to which layout style is used by the View is determined when the View is initialized. To create a View using Absolute layout, call a constructor that takes a Rect parameter to specify the absolute position and size (the View. Frame )/. To create a View using Computed layout use a constructor that does not take a Rect parameter and set the X, Y, Width and Height properties on the view. Both approaches use coordinates that are relative to the container they are being added to. To switch between Absolute and Computed layout, use the LayoutStyle property. Computed layout is more flexible and supports dynamic console apps where controls adjust layout as the terminal resizes or other Views change size or position. The X, Y, Width and Height properties are Dim and Pos objects that dynamically update the position of a view. The X and Y properties are of type Pos and you can use either absolute positions, percentages or anchor points. The Width and Height properties are of type Dim and can use absolute position, percentages and anchors. These are useful as they will take care of repositioning views when view's frames are resized or if the terminal size changes. Absolute layout requires specifying coordinates and sizes of Views explicitly, and the View will typically stay in a fixed position and size. To change the position and size use the Frame property. Subviews (child views) can be added to a View by calling the Add(View) method. The container of a View can be accessed with the SuperView property. To flag a region of the View's Bounds to be redrawn call SetNeedsDisplay(Rect) . To flag the entire view for redraw call SetNeedsDisplay() . Views have a ColorScheme property that defines the default colors that subviews should use for rendering. This ensures that the views fit in the context where they are being used, and allows for themes to be plugged in. For example, the default colors for windows and toplevels uses a blue background, while it uses a white background for dialog boxes and a red background for errors. Subclasses should not rely on ColorScheme being set at construction time. If a ColorScheme is not set on a view, the view will inherit the value from its SuperView and the value might only be valid once a view has been added to a SuperView. By using ColorScheme applications will work both in color as well as black and white displays. Views that are focusable should implement the PositionCursor() to make sure that the cursor is placed in a location that makes sense. Unix terminals do not have a way of hiding the cursor, so it can be distracting to have the cursor left at the last focused view. So views should make sure that they place the cursor in a visually sensible place. The LayoutSubviews() method is invoked when the size or layout of a view has changed. The default processing system will keep the size and dimensions for views that use the Absolute , and will recompute the frames for the vies that use Computed . Constructors View() Initializes a new instance of View using Computed layout. Declaration public View() Remarks Use X , Y , Width , and Height properties to dynamically control the size and location of the view. The Label will be created using Computed coordinates. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. This constructor initialize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. View(ustring) Initializes a new instance of View using Computed layout. Declaration public View(ustring text) Parameters Type Name Description NStack.ustring text text to initialize the Text property with. Remarks The View will be created using Computed coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. View(Int32, Int32, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(int x, int y, ustring text) Parameters Type Name Description System.Int32 x column to locate the Label. System.Int32 y row to locate the Label. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. No line wrapping is provided. View(Rect) Initializes a new instance of a Absolute View class with the absolute dimensions specified in the frame parameter. Declaration public View(Rect frame) Parameters Type Name Description Rect frame The region covered by this view. Remarks This constructor initialize a View with a LayoutStyle of Absolute . Use View() to initialize a View with LayoutStyle of Computed View(Rect, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(Rect rect, ustring text) Parameters Type Name Description Rect rect Location. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If rect.Height is greater than one, word wrapping is provided. Properties AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean Bounds The bounds represent the View-relative rectangle used for this view; the area inside of the view. Declaration public Rect Bounds { get; set; } Property Value Type Description Rect The bounds. Remarks Updates to the Bounds update the Frame , and has the same side effects as updating the Frame . Because Bounds coordinates are relative to the upper-left corner of the View , the coordinates of the upper-left corner of the rectangle returned by this property are (0,0). Use this property to obtain the size and coordinates of the client area of the control for tasks such as drawing on the surface of the control. CanFocus Gets or sets a value indicating whether this Responder can focus. Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean true if can focus; otherwise, false . Overrides Responder.CanFocus ColorScheme The color scheme for this view, if it is not defined, it returns the SuperView 's color scheme. Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object Remarks This property is not used internally. Driver Points to the current driver in use by the view, it is a convenience property for simplifying the development of new views. Declaration public static ConsoleDriver Driver { get; } Property Value Type Description ConsoleDriver Focused Returns the currently focused view inside this view, or null if nothing is focused. Declaration public View Focused { get; } Property Value Type Description View The focused. Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public virtual Rect Frame { get; set; } Property Value Type Description Rect The frame. Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . HasFocus Gets or sets a value indicating whether this Responder has focus. Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean true if has focus; otherwise, false . Overrides Responder.HasFocus Height Gets or sets the height of the view. Only used the LayoutStyle is Computed . Declaration public Dim Height { get; set; } Property Value Type Description Dim The height. HotKey Gets or sets the HotKey defined for this view. A user pressing HotKey on the keyboard while this view has focus will cause the Clicked event to fire. Declaration public Key HotKey { get; set; } Property Value Type Description Key HotKeySpecifier Gets or sets the specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. Remarks The id should be unique across all Views that share a SuperView. IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean IsInitialized Get or sets if the View was already initialized. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public bool IsInitialized { get; set; } Property Value Type Description System.Boolean LayoutStyle Controls how the View's Frame is computed during the LayoutSubviews method, if the style is set to Absolute , LayoutSubviews does not change the Frame . If the style is Computed the Frame is updated using the X , Y , Width , and Height properties. Declaration public LayoutStyle LayoutStyle { get; set; } Property Value Type Description LayoutStyle The layout style. MostFocused Returns the most focused view in the chain of subviews (the leaf view that has the focus). Declaration public View MostFocused { get; } Property Value Type Description View The most focused. Shortcut This is the global setting that can be used as a global shortcut to invoke an action if provided. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Subviews This returns a list of the subviews contained by this view. Declaration public IList Subviews { get; } Property Value Type Description System.Collections.Generic.IList < View > The subviews. SuperView Returns the container for this view, or null if this view has not been added to a container. Declaration public View SuperView { get; } Property Value Type Description View The super view. TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 TabIndexes This returns a tab index list of the subviews contained by this view. Declaration public IList TabIndexes { get; } Property Value Type Description System.Collections.Generic.IList < View > The tabIndexes. TabStop This only be true if the CanFocus is also true and the focus can be avoided by setting this to false Declaration public bool TabStop { get; set; } Property Value Type Description System.Boolean Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks If provided, the text will be drawn before any subviews are drawn. The text will be drawn starting at the view origin (0, 0) and will be formatted according to the TextAlignment property. If the view's height is greater than 1, the text will word-wrap to additional lines if it does not fit horizontally. If the view's height is 1, the text will be clipped. Set the HotKeySpecifier to enable hotkey support. To disable hotkey support set HotKeySpecifier to (Rune)0xffff . TextAlignment Gets or sets how the View's Text is aligned horizontally when drawn. Changing this property will redisplay the View . Declaration public virtual TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. TextDirection Gets or sets the direction of the View's Text . Changing this property will redisplay the View . Declaration public virtual TextDirection TextDirection { get; set; } Property Value Type Description TextDirection The text alignment. VerticalTextAlignment Gets or sets how the View's Text is aligned verticaly when drawn. Changing this property will redisplay the View . Declaration public virtual VerticalTextAlignment VerticalTextAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text alignment. Visible Gets or sets the view visibility. Declaration public bool Visible { get; set; } Property Value Type Description System.Boolean WantContinuousButtonPressed Gets or sets a value indicating whether this View want continuous button pressed event. Declaration public virtual bool WantContinuousButtonPressed { get; set; } Property Value Type Description System.Boolean WantMousePositionReports Gets or sets a value indicating whether this View wants mouse position reports. Declaration public virtual bool WantMousePositionReports { get; set; } Property Value Type Description System.Boolean true if want mouse position reports; otherwise, false . Width Gets or sets the width of the view. Only used the LayoutStyle is Computed . Declaration public Dim Width { get; set; } Property Value Type Description Dim The width. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. X Gets or sets the X position for the view (the column). Only used the LayoutStyle is Computed . Declaration public Pos X { get; set; } Property Value Type Description Pos The X Position. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Y Gets or sets the Y position for the view (the row). Only used the LayoutStyle is Computed . Declaration public Pos Y { get; set; } Property Value Type Description Pos The y position (line). Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Methods Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() Add(View[]) Adds the specified views (children) to the view. Declaration public void Add(params View[] views) Parameters Type Name Description View [] views Array of one or more views (can be optional parameter). Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() AddRune(Int32, Int32, Rune) Displays the specified character in the specified column and row of the View. Declaration public void AddRune(int col, int row, Rune ch) Parameters Type Name Description System.Int32 col Column (view-relative). System.Int32 row Row (view-relative). System.Rune ch Ch. BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() BringSubviewForward(View) Moves the subview backwards in the hierarchy, only one step Declaration public void BringSubviewForward(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. BringSubviewToFront(View) Brings the specified subview to the front so it is drawn on top of any other views. Declaration public void BringSubviewToFront(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks SendSubviewToBack(View) . Clear() Clears the view region with the current color. Declaration public void Clear() Remarks This clears the entire region used by this view. Clear(Rect) Clears the specified region with the current color. Declaration public void Clear(Rect regionScreen) Parameters Type Name Description Rect regionScreen The screen-relative region to clear. Remarks ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() ClipToBounds() Sets the ConsoleDriver 's clip region to the current View's Bounds . Declaration public Rect ClipToBounds() Returns Type Description Rect The existing driver's clip region, which can be then re-applied by setting Driver .Clip ( Clip ). Remarks Bounds is View-relative. Dispose(Boolean) Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) Remarks If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. DrawFrame(Rect, Int32, Boolean) Draws a frame in the current view, clipped by the boundary of this view Declaration public void DrawFrame(Rect region, int padding = 0, bool fill = false) Parameters Type Name Description Rect region View-relative region for the frame to be drawn. System.Int32 padding The padding to add around the outside of the drawn frame. System.Boolean fill If set to true it fill will the contents. DrawHotString(ustring, Boolean, ColorScheme) Utility function to draw strings that contains a hotkey using a ColorScheme and the \"focused\" state. Declaration public void DrawHotString(ustring text, bool focused, ColorScheme scheme) Parameters Type Name Description NStack.ustring text String to display, the underscore before a letter flags the next letter as the hotkey. System.Boolean focused If set to true this uses the focused colors from the color scheme, otherwise the regular ones. ColorScheme scheme The color scheme to use. DrawHotString(ustring, Attribute, Attribute) Utility function to draw strings that contain a hotkey. Declaration public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor) Parameters Type Name Description NStack.ustring text String to display, the hotkey specifier before a letter flags the next letter as the hotkey. Attribute hotColor Hot color. Attribute normalColor Normal color. Remarks The hotkey is any character following the hotkey specifier, which is the underscore ('_') character by default. The hotkey specifier can be changed via HotKeySpecifier EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() EnsureFocus() Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing. Declaration public void EnsureFocus() FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. GetCurrentHeight(out Int32) Calculate the height based on the Height settings. Declaration public bool GetCurrentHeight(out int currentHeight) Parameters Type Name Description System.Int32 currentHeight The real current height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. GetCurrentWidth(out Int32) Gets the current width based on the Width settings. Declaration public bool GetCurrentWidth(out int currentWidth) Parameters Type Name Description System.Int32 currentWidth The real current width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. LayoutSubviews() Invoked when a view starts executing or when the dimensions of the view have changed, for example in response to the container view or terminal resizing. Declaration public virtual void LayoutSubviews() Remarks Calls Terminal.Gui.View.OnLayoutComplete(Terminal.Gui.View.LayoutEventArgs) (which raises the LayoutComplete event) before it returns. Move(Int32, Int32) This moves the cursor to the specified column and row in the view. Declaration public void Move(int col, int row) Parameters Type Name Description System.Int32 col Col. System.Int32 row Row. 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. OnDrawContent(Rect) Enables overrides to draw infinitely scrolled content and/or a background behind added controls. Declaration public virtual void OnDrawContent(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called before any subviews added with Add(View) have been drawn. OnEnter(View) Method invoked when a view gets focus. Declaration public override bool OnEnter(View view) Parameters Type Name Description View view The view that is losing focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) OnLeave(View) Method invoked when a view loses focus. Declaration public override bool OnLeave(View view) Parameters Type Name Description View view The view that is getting focus. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.OnLeave(View) OnMouseClick(View.MouseEventArgs) Invokes the MouseClick event. Declaration protected void OnMouseClick(View.MouseEventArgs args) Parameters Type Name Description View.MouseEventArgs args OnMouseEnter(MouseEvent) Method invoked when a mouse event is generated for the first time. Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.OnMouseEnter(MouseEvent) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public virtual bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. OnMouseLeave(MouseEvent) Method invoked when a mouse event is generated for the last time. Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.OnMouseLeave(MouseEvent) OnRemoved(View) Method invoked when a subview is being removed from this view. Declaration public virtual void OnRemoved(View view) Parameters Type Name Description View view The subview being removed. PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() ProcessColdKey(KeyEvent) This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior. Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) Remarks After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key. This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus. ProcessHotKey(KeyEvent) This method can be overwritten by view that want to provide accelerator functionality (Alt-key for example). Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) Remarks Before keys are sent to the subview on the current view, all the views are processed and the key is passed to the widgets to allow some of them to process the keystroke as a hot-key. For example, if you implement a button that has a hotkey ok \"o\", you would catch the combination Alt-o here. If the event is caught, you must return true to stop the keystroke from being dispatched to other views. ProcessKey(KeyEvent) If the view is focused, gives the view a chance to process the keystroke. Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) Remarks Views can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed using the ProcessColdKey method to other views to process. The View implementation does nothing but return false, so it is not necessary to call base.ProcessKey if you derive directly from View, but you should if you derive other View subclasses. Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public virtual void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public virtual void Remove(View view) Parameters Type Name Description View view Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() ScreenToView(Int32, Int32) Converts a point from screen-relative coordinates to view-relative coordinates. Declaration public Point ScreenToView(int x, int y) Parameters Type Name Description System.Int32 x X screen-coordinate point. System.Int32 y Y screen-coordinate point. Returns Type Description Point The mapped point. SendSubviewBackwards(View) Moves the subview backwards in the hierarchy, only one step Declaration public void SendSubviewBackwards(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. SendSubviewToBack(View) Sends the specified subview to the front so it is the first view drawn Declaration public void SendSubviewToBack(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks BringSubviewToFront(View) . SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() SetClip(Rect) Sets the clip region to the specified view-relative region. Declaration public Rect SetClip(Rect region) Parameters Type Name Description Rect region View-relative clip region. Returns Type Description Rect The previous screen-relative clip region. SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() SetHeight(Int32, out Int32) Calculate the height based on the Height settings. Declaration public bool SetHeight(int desiredHeight, out int resultHeight) Parameters Type Name Description System.Int32 desiredHeight The desired height. System.Int32 resultHeight The real result height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() SetNeedsDisplay(Rect) Flags the view-relative region on this View as needing to be repainted. Declaration public void SetNeedsDisplay(Rect region) Parameters Type Name Description Rect region The view-relative region that must be flagged for repaint. SetWidth(Int32, out Int32) Calculate the width based on the Width settings. Declaration public bool SetWidth(int desiredWidth, out int resultWidth) Parameters Type Name Description System.Int32 desiredWidth The desired width. System.Int32 resultWidth The real result width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Events Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > DrawContent Event invoked when the content area of the View is to be drawn. Declaration public event Action DrawContent Event Type Type Description System.Action < Rect > Remarks Will be invoked before any subviews added with Add(View) have been drawn. Rect provides the view-relative rectangle describing the currently visible viewport into the View . Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > Initialized Event called only once when the View is being initialized for the first time. Allows configurations and assignments to be performed before the View being shown. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public event EventHandler Initialized Event Type Type Description System.EventHandler KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > KeyPress Invoked when a character key is pressed and occurs after the key up event. Declaration public event Action KeyPress Event Type Type Description System.Action < View.KeyEventEventArgs > KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > MouseEnter Event fired when the view receives the mouse event for the first time. Declaration public event Action MouseEnter Event Type Type Description System.Action < View.MouseEventArgs > MouseLeave Event fired when the view receives a mouse event for the last time. Declaration public event Action MouseLeave Event Type Type Description System.Action < View.MouseEventArgs > Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > 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 ComboBox FrameView GraphView HexView Label ListView MenuBar ProgressBar RadioGroup ScrollBarView ScrollView StatusBar TableView TabView TextField TextValidateField TextView Toplevel TreeView Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Responder.MouseEvent(MouseEvent) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class View : Responder, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The View defines the base functionality for user interface elements in Terminal.Gui. Views can contain one or more subviews, can respond to user input and render themselves on the screen. Views supports two layout styles: Absolute or Computed. The choice as to which layout style is used by the View is determined when the View is initialized. To create a View using Absolute layout, call a constructor that takes a Rect parameter to specify the absolute position and size (the View. Frame )/. To create a View using Computed layout use a constructor that does not take a Rect parameter and set the X, Y, Width and Height properties on the view. Both approaches use coordinates that are relative to the container they are being added to. To switch between Absolute and Computed layout, use the LayoutStyle property. Computed layout is more flexible and supports dynamic console apps where controls adjust layout as the terminal resizes or other Views change size or position. The X, Y, Width and Height properties are Dim and Pos objects that dynamically update the position of a view. The X and Y properties are of type Pos and you can use either absolute positions, percentages or anchor points. The Width and Height properties are of type Dim and can use absolute position, percentages and anchors. These are useful as they will take care of repositioning views when view's frames are resized or if the terminal size changes. Absolute layout requires specifying coordinates and sizes of Views explicitly, and the View will typically stay in a fixed position and size. To change the position and size use the Frame property. Subviews (child views) can be added to a View by calling the Add(View) method. The container of a View can be accessed with the SuperView property. To flag a region of the View's Bounds to be redrawn call SetNeedsDisplay(Rect) . To flag the entire view for redraw call SetNeedsDisplay() . Views have a ColorScheme property that defines the default colors that subviews should use for rendering. This ensures that the views fit in the context where they are being used, and allows for themes to be plugged in. For example, the default colors for windows and toplevels uses a blue background, while it uses a white background for dialog boxes and a red background for errors. Subclasses should not rely on ColorScheme being set at construction time. If a ColorScheme is not set on a view, the view will inherit the value from its SuperView and the value might only be valid once a view has been added to a SuperView. By using ColorScheme applications will work both in color as well as black and white displays. Views that are focusable should implement the PositionCursor() to make sure that the cursor is placed in a location that makes sense. Unix terminals do not have a way of hiding the cursor, so it can be distracting to have the cursor left at the last focused view. So views should make sure that they place the cursor in a visually sensible place. The LayoutSubviews() method is invoked when the size or layout of a view has changed. The default processing system will keep the size and dimensions for views that use the Absolute , and will recompute the frames for the vies that use Computed . Constructors View() Initializes a new instance of View using Computed layout. Declaration public View() Remarks Use X , Y , Width , and Height properties to dynamically control the size and location of the view. The Label will be created using Computed coordinates. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. This constructor initialize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. View(ustring) Initializes a new instance of View using Computed layout. Declaration public View(ustring text) Parameters Type Name Description NStack.ustring text text to initialize the Text property with. Remarks The View will be created using Computed coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If Height is greater than one, word wrapping is provided. View(Int32, Int32, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(int x, int y, ustring text) Parameters Type Name Description System.Int32 x column to locate the Label. System.Int32 y row to locate the Label. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. No line wrapping is provided. View(Rect) Initializes a new instance of a Absolute View class with the absolute dimensions specified in the frame parameter. Declaration public View(Rect frame) Parameters Type Name Description Rect frame The region covered by this view. Remarks This constructor initialize a View with a LayoutStyle of Absolute . Use View() to initialize a View with LayoutStyle of Computed View(Rect, ustring) Initializes a new instance of View using Absolute layout. Declaration public View(Rect rect, ustring text) Parameters Type Name Description Rect rect Location. NStack.ustring text text to initialize the Text property with. Remarks The View will be created at the given coordinates with the given string. The initial size ( Frame will be adjusted to fit the contents of Text , including newlines ('\\n') for multiple lines. If rect.Height is greater than one, word wrapping is provided. Properties AutoSize Used by Text to resize the view's Bounds with the Size . Setting AutoSize to true only work if the Width and Height are null or Absolute values and doesn't work with Computed layout, to avoid breaking the Pos and Dim settings. Declaration public virtual bool AutoSize { get; set; } Property Value Type Description System.Boolean Bounds The bounds represent the View-relative rectangle used for this view; the area inside of the view. Declaration public Rect Bounds { get; set; } Property Value Type Description Rect The bounds. Remarks Updates to the Bounds update the Frame , and has the same side effects as updating the Frame . Because Bounds coordinates are relative to the upper-left corner of the View , the coordinates of the upper-left corner of the rectangle returned by this property are (0,0). Use this property to obtain the size and coordinates of the client area of the control for tasks such as drawing on the surface of the control. CanFocus Declaration public override bool CanFocus { get; set; } Property Value Type Description System.Boolean Overrides Responder.CanFocus ColorScheme The color scheme for this view, if it is not defined, it returns the SuperView 's color scheme. Declaration public ColorScheme ColorScheme { get; set; } Property Value Type Description ColorScheme Data Gets or sets arbitrary data for the view. Declaration public object Data { get; set; } Property Value Type Description System.Object Remarks This property is not used internally. Driver Points to the current driver in use by the view, it is a convenience property for simplifying the development of new views. Declaration public static ConsoleDriver Driver { get; } Property Value Type Description ConsoleDriver Focused Returns the currently focused view inside this view, or null if nothing is focused. Declaration public View Focused { get; } Property Value Type Description View The focused. Frame Gets or sets the frame for the view. The frame is relative to the view's container ( SuperView ). Declaration public virtual Rect Frame { get; set; } Property Value Type Description Rect The frame. Remarks Change the Frame when using the Absolute layout style to move or resize views. Altering the Frame of a view will trigger the redrawing of the view as well as the redrawing of the affected regions of the SuperView . HasFocus Declaration public override bool HasFocus { get; } Property Value Type Description System.Boolean Overrides Responder.HasFocus Height Gets or sets the height of the view. Only used the LayoutStyle is Computed . Declaration public Dim Height { get; set; } Property Value Type Description Dim The height. HotKey Gets or sets the HotKey defined for this view. A user pressing HotKey on the keyboard while this view has focus will cause the Clicked event to fire. Declaration public Key HotKey { get; set; } Property Value Type Description Key HotKeySpecifier Gets or sets the specifier character for the hotkey (e.g. '_'). Set to '\\xffff' to disable hotkey support for this View instance. The default is '\\xffff'. Declaration public Rune HotKeySpecifier { get; set; } Property Value Type Description System.Rune Id Gets or sets an identifier for the view; Declaration public ustring Id { get; set; } Property Value Type Description NStack.ustring The identifier. Remarks The id should be unique across all Views that share a SuperView. IsCurrentTop Returns a value indicating if this View is currently on Top (Active) Declaration public bool IsCurrentTop { get; } Property Value Type Description System.Boolean IsInitialized Get or sets if the View was already initialized. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public bool IsInitialized { get; set; } Property Value Type Description System.Boolean LayoutStyle Controls how the View's Frame is computed during the LayoutSubviews method, if the style is set to Absolute , LayoutSubviews does not change the Frame . If the style is Computed the Frame is updated using the X , Y , Width , and Height properties. Declaration public LayoutStyle LayoutStyle { get; set; } Property Value Type Description LayoutStyle The layout style. MostFocused Returns the most focused view in the chain of subviews (the leaf view that has the focus). Declaration public View MostFocused { get; } Property Value Type Description View The most focused. Shortcut This is the global setting that can be used as a global shortcut to invoke an action if provided. Declaration public Key Shortcut { get; set; } Property Value Type Description Key ShortcutAction The action to run if the Shortcut is defined. Declaration public virtual Action ShortcutAction { get; set; } Property Value Type Description System.Action ShortcutTag The keystroke combination used in the Shortcut as string. Declaration public ustring ShortcutTag { get; } Property Value Type Description NStack.ustring Subviews This returns a list of the subviews contained by this view. Declaration public IList Subviews { get; } Property Value Type Description System.Collections.Generic.IList < View > The subviews. SuperView Returns the container for this view, or null if this view has not been added to a container. Declaration public View SuperView { get; } Property Value Type Description View The super view. TabIndex Indicates the index of the current View from the TabIndexes list. Declaration public int TabIndex { get; set; } Property Value Type Description System.Int32 TabIndexes This returns a tab index list of the subviews contained by this view. Declaration public IList TabIndexes { get; } Property Value Type Description System.Collections.Generic.IList < View > The tabIndexes. TabStop This only be true if the CanFocus is also true and the focus can be avoided by setting this to false Declaration public bool TabStop { get; set; } Property Value Type Description System.Boolean Text The text displayed by the View . Declaration public virtual ustring Text { get; set; } Property Value Type Description NStack.ustring Remarks If provided, the text will be drawn before any subviews are drawn. The text will be drawn starting at the view origin (0, 0) and will be formatted according to the TextAlignment property. If the view's height is greater than 1, the text will word-wrap to additional lines if it does not fit horizontally. If the view's height is 1, the text will be clipped. Set the HotKeySpecifier to enable hotkey support. To disable hotkey support set HotKeySpecifier to (Rune)0xffff . TextAlignment Gets or sets how the View's Text is aligned horizontally when drawn. Changing this property will redisplay the View . Declaration public virtual TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. TextDirection Gets or sets the direction of the View's Text . Changing this property will redisplay the View . Declaration public virtual TextDirection TextDirection { get; set; } Property Value Type Description TextDirection The text alignment. VerticalTextAlignment Gets or sets how the View's Text is aligned verticaly when drawn. Changing this property will redisplay the View . Declaration public virtual VerticalTextAlignment VerticalTextAlignment { get; set; } Property Value Type Description VerticalTextAlignment The text alignment. Visible Gets or sets the view visibility. Declaration public bool Visible { get; set; } Property Value Type Description System.Boolean WantContinuousButtonPressed Gets or sets a value indicating whether this View want continuous button pressed event. Declaration public virtual bool WantContinuousButtonPressed { get; set; } Property Value Type Description System.Boolean WantMousePositionReports Gets or sets a value indicating whether this View wants mouse position reports. Declaration public virtual bool WantMousePositionReports { get; set; } Property Value Type Description System.Boolean true if want mouse position reports; otherwise, false . Width Gets or sets the width of the view. Only used the LayoutStyle is Computed . Declaration public Dim Width { get; set; } Property Value Type Description Dim The width. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. X Gets or sets the X position for the view (the column). Only used the LayoutStyle is Computed . Declaration public Pos X { get; set; } Property Value Type Description Pos The X Position. Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Y Gets or sets the Y position for the view (the row). Only used the LayoutStyle is Computed . Declaration public Pos Y { get; set; } Property Value Type Description Pos The y position (line). Remarks If LayoutStyle is Absolute changing this property has no effect and its value is indeterminate. Methods Add(View) Adds a subview (child) to this view. Declaration public virtual void Add(View view) Parameters Type Name Description View view Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() Add(View[]) Adds the specified views (children) to the view. Declaration public void Add(params View[] views) Parameters Type Name Description View [] views Array of one or more views (can be optional parameter). Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() AddRune(Int32, Int32, Rune) Displays the specified character in the specified column and row of the View. Declaration public void AddRune(int col, int row, Rune ch) Parameters Type Name Description System.Int32 col Column (view-relative). System.Int32 row Row (view-relative). System.Rune ch Ch. BeginInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are beginning initialized. Declaration public void BeginInit() BringSubviewForward(View) Moves the subview backwards in the hierarchy, only one step Declaration public void BringSubviewForward(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. BringSubviewToFront(View) Brings the specified subview to the front so it is drawn on top of any other views. Declaration public void BringSubviewToFront(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks SendSubviewToBack(View) . Clear() Clears the view region with the current color. Declaration public void Clear() Remarks This clears the entire region used by this view. Clear(Rect) Clears the specified region with the current color. Declaration public void Clear(Rect regionScreen) Parameters Type Name Description Rect regionScreen The screen-relative region to clear. Remarks ClearLayoutNeeded() Removes the Terminal.Gui.View.SetNeedsLayout setting on this view. Declaration protected void ClearLayoutNeeded() ClearNeedsDisplay() Removes the SetNeedsDisplay() and the Terminal.Gui.View.ChildNeedsDisplay setting on this view. Declaration protected void ClearNeedsDisplay() ClipToBounds() Sets the ConsoleDriver 's clip region to the current View's Bounds . Declaration public Rect ClipToBounds() Returns Type Description Rect The existing driver's clip region, which can be then re-applied by setting Driver .Clip ( Clip ). Remarks Bounds is View-relative. Dispose(Boolean) Declaration protected override void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing Overrides Responder.Dispose(Boolean) DrawFrame(Rect, Int32, Boolean) Draws a frame in the current view, clipped by the boundary of this view Declaration public void DrawFrame(Rect region, int padding = 0, bool fill = false) Parameters Type Name Description Rect region View-relative region for the frame to be drawn. System.Int32 padding The padding to add around the outside of the drawn frame. System.Boolean fill If set to true it fill will the contents. DrawHotString(ustring, Boolean, ColorScheme) Utility function to draw strings that contains a hotkey using a ColorScheme and the \"focused\" state. Declaration public void DrawHotString(ustring text, bool focused, ColorScheme scheme) Parameters Type Name Description NStack.ustring text String to display, the underscore before a letter flags the next letter as the hotkey. System.Boolean focused If set to true this uses the focused colors from the color scheme, otherwise the regular ones. ColorScheme scheme The color scheme to use. DrawHotString(ustring, Attribute, Attribute) Utility function to draw strings that contain a hotkey. Declaration public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor) Parameters Type Name Description NStack.ustring text String to display, the hotkey specifier before a letter flags the next letter as the hotkey. Attribute hotColor Hot color. Attribute normalColor Normal color. Remarks The hotkey is any character following the hotkey specifier, which is the underscore ('_') character by default. The hotkey specifier can be changed via HotKeySpecifier EndInit() This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are ending initialized. Declaration public void EndInit() EnsureFocus() Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing. Declaration public void EnsureFocus() FocusFirst() Focuses the first focusable subview if one exists. Declaration public void FocusFirst() FocusLast() Focuses the last focusable subview if one exists. Declaration public void FocusLast() FocusNext() Focuses the next view. Declaration public bool FocusNext() Returns Type Description System.Boolean true , if next was focused, false otherwise. FocusPrev() Focuses the previous view. Declaration public bool FocusPrev() Returns Type Description System.Boolean true , if previous was focused, false otherwise. GetCurrentHeight(out Int32) Calculate the height based on the Height settings. Declaration public bool GetCurrentHeight(out int currentHeight) Parameters Type Name Description System.Int32 currentHeight The real current height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. GetCurrentWidth(out Int32) Gets the current width based on the Width settings. Declaration public bool GetCurrentWidth(out int currentWidth) Parameters Type Name Description System.Int32 currentWidth The real current width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. LayoutSubviews() Invoked when a view starts executing or when the dimensions of the view have changed, for example in response to the container view or terminal resizing. Declaration public virtual void LayoutSubviews() Remarks Calls Terminal.Gui.View.OnLayoutComplete(Terminal.Gui.View.LayoutEventArgs) (which raises the LayoutComplete event) before it returns. Move(Int32, Int32) This moves the cursor to the specified column and row in the view. Declaration public void Move(int col, int row) Parameters Type Name Description System.Int32 col Col. System.Int32 row Row. 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. OnDrawContent(Rect) Enables overrides to draw infinitely scrolled content and/or a background behind added controls. Declaration public virtual void OnDrawContent(Rect viewport) Parameters Type Name Description Rect viewport The view-relative rectangle describing the currently visible viewport into the View Remarks This method will be called before any subviews added with Add(View) have been drawn. OnEnter(View) Declaration public override bool OnEnter(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnEnter(View) OnKeyDown(KeyEvent) Declaration public override bool OnKeyDown(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.OnKeyDown(KeyEvent) OnKeyUp(KeyEvent) Declaration public override bool OnKeyUp(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Contains the details about the key that produced the event. Returns Type Description System.Boolean Overrides Responder.OnKeyUp(KeyEvent) OnLeave(View) Declaration public override bool OnLeave(View view) Parameters Type Name Description View view Returns Type Description System.Boolean Overrides Responder.OnLeave(View) OnMouseClick(View.MouseEventArgs) Invokes the MouseClick event. Declaration protected void OnMouseClick(View.MouseEventArgs args) Parameters Type Name Description View.MouseEventArgs args OnMouseEnter(MouseEvent) Declaration public override bool OnMouseEnter(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseEnter(MouseEvent) OnMouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public virtual bool OnMouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean true , if the event was handled, false otherwise. OnMouseLeave(MouseEvent) Declaration public override bool OnMouseLeave(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.OnMouseLeave(MouseEvent) OnRemoved(View) Method invoked when a subview is being removed from this view. Declaration public virtual void OnRemoved(View view) Parameters Type Name Description View view The subview being removed. PositionCursor() Positions the cursor in the right position based on the currently focused view in the chain. Declaration public virtual void PositionCursor() ProcessColdKey(KeyEvent) Declaration public override bool ProcessColdKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessColdKey(KeyEvent) ProcessHotKey(KeyEvent) Declaration public override bool ProcessHotKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessHotKey(KeyEvent) ProcessKey(KeyEvent) Declaration public override bool ProcessKey(KeyEvent keyEvent) Parameters Type Name Description KeyEvent keyEvent Returns Type Description System.Boolean Overrides Responder.ProcessKey(KeyEvent) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public virtual void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public virtual void Remove(View view) Parameters Type Name Description View view Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public virtual void RemoveAll() ScreenToView(Int32, Int32) Converts a point from screen-relative coordinates to view-relative coordinates. Declaration public Point ScreenToView(int x, int y) Parameters Type Name Description System.Int32 x X screen-coordinate point. System.Int32 y Y screen-coordinate point. Returns Type Description Point The mapped point. SendSubviewBackwards(View) Moves the subview backwards in the hierarchy, only one step Declaration public void SendSubviewBackwards(View subview) Parameters Type Name Description View subview The subview to send backwards Remarks If you want to send the view all the way to the back use SendSubviewToBack. SendSubviewToBack(View) Sends the specified subview to the front so it is the first view drawn Declaration public void SendSubviewToBack(View subview) Parameters Type Name Description View subview The subview to send to the front Remarks BringSubviewToFront(View) . SetChildNeedsDisplay() Indicates that any child views (in the Subviews list) need to be repainted. Declaration public void SetChildNeedsDisplay() SetClip(Rect) Sets the clip region to the specified view-relative region. Declaration public Rect SetClip(Rect region) Parameters Type Name Description Rect region View-relative clip region. Returns Type Description Rect The previous screen-relative clip region. SetFocus() Causes the specified view and the entire parent hierarchy to have the focused order updated. Declaration public void SetFocus() SetHeight(Int32, out Int32) Calculate the height based on the Height settings. Declaration public bool SetHeight(int desiredHeight, out int resultHeight) Parameters Type Name Description System.Int32 desiredHeight The desired height. System.Int32 resultHeight The real result height. Returns Type Description System.Boolean true if the height can be directly assigned, false otherwise. SetNeedsDisplay() Sets a flag indicating this view needs to be redisplayed because its state has changed. Declaration public void SetNeedsDisplay() SetNeedsDisplay(Rect) Flags the view-relative region on this View as needing to be repainted. Declaration public void SetNeedsDisplay(Rect region) Parameters Type Name Description Rect region The view-relative region that must be flagged for repaint. SetWidth(Int32, out Int32) Calculate the width based on the Width settings. Declaration public bool SetWidth(int desiredWidth, out int resultWidth) Parameters Type Name Description System.Int32 desiredWidth The desired width. System.Int32 resultWidth The real result width. Returns Type Description System.Boolean true if the width can be directly assigned, false otherwise. ToString() Pretty prints the View Declaration public override string ToString() Returns Type Description System.String Overrides System.Object.ToString() Events Added Event fired when a subview is being added to this view. Declaration public event Action Added Event Type Type Description System.Action < View > DrawContent Event invoked when the content area of the View is to be drawn. Declaration public event Action DrawContent Event Type Type Description System.Action < Rect > Remarks Will be invoked before any subviews added with Add(View) have been drawn. Rect provides the view-relative rectangle describing the currently visible viewport into the View . Enter Event fired when the view gets focus. Declaration public event Action Enter Event Type Type Description System.Action < View.FocusEventArgs > Initialized Event called only once when the View is being initialized for the first time. Allows configurations and assignments to be performed before the View being shown. This derived from System.ComponentModel.ISupportInitializeNotification to allow notify all the views that are being initialized. Declaration public event EventHandler Initialized Event Type Type Description System.EventHandler KeyDown Invoked when a key is pressed Declaration public event Action KeyDown Event Type Type Description System.Action < View.KeyEventEventArgs > KeyPress Invoked when a character key is pressed and occurs after the key up event. Declaration public event Action KeyPress Event Type Type Description System.Action < View.KeyEventEventArgs > KeyUp Invoked when a key is released Declaration public event Action KeyUp Event Type Type Description System.Action < View.KeyEventEventArgs > LayoutComplete Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutComplete Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. LayoutStarted Fired after the Views's LayoutSubviews() method has completed. Declaration public event Action LayoutStarted Event Type Type Description System.Action < View.LayoutEventArgs > Remarks Subscribe to this event to perform tasks when the View has been resized or the layout has otherwise changed. Leave Event fired when the view looses focus. Declaration public event Action Leave Event Type Type Description System.Action < View.FocusEventArgs > MouseClick Event fired when a mouse event is generated. Declaration public event Action MouseClick Event Type Type Description System.Action < View.MouseEventArgs > MouseEnter Event fired when the view receives the mouse event for the first time. Declaration public event Action MouseEnter Event Type Type Description System.Action < View.MouseEventArgs > MouseLeave Event fired when the view receives a mouse event for the last time. Declaration public event Action MouseLeave Event Type Type Description System.Action < View.MouseEventArgs > Removed Event fired when a subview is being removed from this view. Declaration public event Action Removed Event Type Type Description System.Action < View > 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", @@ -512,7 +622,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 Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.WillPresent() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Window : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The 'client area' of a Window is a rectangle deflated by one or more rows/columns from Bounds . A this time there is no API to determine this rectangle. Constructors Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() Window(ustring) Initializes a new instance of the Window class with an optional title using Computed positioning. Declaration public Window(ustring title = null) Parameters Type Name Description NStack.ustring title Title. Remarks This constructor intitalize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(ustring, Int32) 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(ustring title = null, int padding = 0) Parameters Type Name Description NStack.ustring title Title. System.Int32 padding Number of characters to use for padding of the drawn frame. Remarks This constructor intitalize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(Rect, ustring) Initializes a new instance of the Window class with an optional title using Absolute positioning. Declaration public Window(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title Remarks This constructor intitalizes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with Computed . Window(Rect, ustring, Int32) 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) 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. Remarks This constructor intitalizes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with LayoutStyle of Computed Properties Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods Add(View) Adds a subview (child) to this view. Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) Remarks The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View) RemoveAll() MouseEvent(MouseEvent) Method invoked when a mouse event is generated Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Contains the details about the mouse event. Returns Type Description System.Boolean true , if the event was handled, false otherwise. Overrides Responder.MouseEvent(MouseEvent) Redraw(Rect) Redraws this view and its subviews; only redraws the views that have been flagged for a re-display. Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds The bounds (view-relative region) to redraw. Overrides Toplevel.Redraw(Rect) Remarks Always use Bounds (view-relative) when calling Redraw(Rect) , NOT Frame (superview-relative). Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver. Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the region parameter. Remove(View) Removes a subview added via Add(View) or Add(View[]) from this View. Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) Remarks RemoveAll() Removes all subviews (children) added via Add(View) or Add(View[]) from this View. Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" + "keywords": "Class Window A Toplevel View that draws a border around its Frame with a Title at the top. Inheritance System.Object Responder View Toplevel Window Dialog Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize Inherited Members Toplevel.Running Toplevel.Loaded Toplevel.Ready Toplevel.Unloaded Toplevel.Create() Toplevel.CanFocus Toplevel.Modal Toplevel.MenuBar Toplevel.StatusBar Toplevel.OnKeyDown(KeyEvent) Toplevel.OnKeyUp(KeyEvent) Toplevel.ProcessKey(KeyEvent) Toplevel.ProcessColdKey(KeyEvent) Toplevel.WillPresent() View.Added View.Removed View.Enter View.Leave View.MouseEnter View.MouseLeave View.MouseClick View.HotKey View.HotKeySpecifier View.Shortcut View.ShortcutTag View.ShortcutAction View.Data View.Driver View.Subviews View.TabIndexes View.TabIndex View.TabStop View.Id View.IsCurrentTop View.WantMousePositionReports View.WantContinuousButtonPressed View.Frame View.LayoutStyle View.Bounds View.X View.Y View.Width View.Height View.SuperView View.SetNeedsDisplay() View.ClearLayoutNeeded() View.SetNeedsDisplay(Rect) View.SetChildNeedsDisplay() View.Add(View[]) View.BringSubviewToFront(View) View.SendSubviewToBack(View) View.SendSubviewBackwards(View) View.BringSubviewForward(View) View.Clear() View.Clear(Rect) View.ScreenToView(Int32, Int32) View.ClipToBounds() View.SetClip(Rect) View.DrawFrame(Rect, Int32, Boolean) View.DrawHotString(ustring, Attribute, Attribute) View.DrawHotString(ustring, Boolean, ColorScheme) View.Move(Int32, Int32) 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.SetFocus() View.KeyPress View.ProcessHotKey(KeyEvent) View.KeyDown View.KeyUp View.EnsureFocus() View.FocusFirst() View.FocusLast() View.FocusPrev() View.FocusNext() View.LayoutStarted View.LayoutComplete View.Initialized View.LayoutSubviews() View.AutoSize View.VerticalTextAlignment View.TextDirection View.IsInitialized View.ToString() View.OnMouseEnter(MouseEvent) View.OnMouseLeave(MouseEvent) View.OnMouseEvent(MouseEvent) View.OnMouseClick(View.MouseEventArgs) View.Dispose(Boolean) View.BeginInit() View.EndInit() View.Visible View.SetWidth(Int32, Int32) View.SetHeight(Int32, Int32) View.GetCurrentWidth(Int32) View.GetCurrentHeight(Int32) Responder.Dispose() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : Terminal.Gui Assembly : Terminal.Gui.dll Syntax public class Window : Toplevel, IDisposable, ISupportInitializeNotification, ISupportInitialize Remarks The 'client area' of a Window is a rectangle deflated by one or more rows/columns from Bounds . A this time there is no API to determine this rectangle. Constructors Window() Initializes a new instance of the Window class using Computed positioning. Declaration public Window() Window(ustring) Initializes a new instance of the Window class with an optional title using Computed positioning. Declaration public Window(ustring title = null) Parameters Type Name Description NStack.ustring title Title. Remarks This constructor intitalize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(ustring, Int32) 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(ustring title = null, int padding = 0) Parameters Type Name Description NStack.ustring title Title. System.Int32 padding Number of characters to use for padding of the drawn frame. Remarks This constructor intitalize a View with a LayoutStyle of Computed . Use X , Y , Width , and Height properties to dynamically control the size and location of the view. Window(Rect, ustring) Initializes a new instance of the Window class with an optional title using Absolute positioning. Declaration public Window(Rect frame, ustring title = null) Parameters Type Name Description Rect frame Superview-relative rectangle specifying the location and size NStack.ustring title Title Remarks This constructor intitalizes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with Computed . Window(Rect, ustring, Int32) 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) 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. Remarks This constructor intitalizes a Window with a LayoutStyle of Absolute . Use constructors that do not take Rect parameters to initialize a Window with LayoutStyle of Computed Properties Text The text displayed by the Label . Declaration public override ustring Text { get; set; } Property Value Type Description NStack.ustring Overrides View.Text TextAlignment Controls the text-alignment property of the label, changing it will redisplay the Label . Declaration public override TextAlignment TextAlignment { get; set; } Property Value Type Description TextAlignment The text alignment. Overrides View.TextAlignment Title The title to be displayed for this window. Declaration public ustring Title { get; set; } Property Value Type Description NStack.ustring The title Methods Add(View) Declaration public override void Add(View view) Parameters Type Name Description View view Overrides Toplevel.Add(View) MouseEvent(MouseEvent) Declaration public override bool MouseEvent(MouseEvent mouseEvent) Parameters Type Name Description MouseEvent mouseEvent Returns Type Description System.Boolean Overrides Responder.MouseEvent(MouseEvent) Redraw(Rect) Declaration public override void Redraw(Rect bounds) Parameters Type Name Description Rect bounds Overrides Toplevel.Redraw(Rect) Remove(View) Declaration public override void Remove(View view) Parameters Type Name Description View view Overrides Toplevel.Remove(View) RemoveAll() Declaration public override void RemoveAll() Overrides Toplevel.RemoveAll() Implements System.IDisposable System.ComponentModel.ISupportInitializeNotification System.ComponentModel.ISupportInitialize" }, "api/Terminal.Gui/Unix.Terminal.Curses.Event.html": { "href": "api/Terminal.Gui/Unix.Terminal.Curses.Event.html", diff --git a/docs/manifest.json b/docs/manifest.json index 209813543..8a605d3f5 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -54,7 +54,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Application.html", - "hash": "E7FgmYHALiCRQI5PyUr33w==" + "hash": "tknYrYdqsBXQwGEzz63FVA==" } }, "is_incremental": false, @@ -78,7 +78,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Button.html", - "hash": "cCDpAmGsziX/1gkNFhZaOw==" + "hash": "t+Mt8Cl2T4pOuS9akJrJkw==" } }, "is_incremental": false, @@ -90,7 +90,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.CheckBox.html", - "hash": "7SIGxe5m0KBZon2+HdbxHA==" + "hash": "HHJFj9xaw2uTXo1eEzqOfw==" } }, "is_incremental": false, @@ -150,7 +150,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ComboBox.html", - "hash": "yb088BwTsrsya1JHexjVNQ==" + "hash": "FIxEF4a4QShtbNoySXLc/Q==" } }, "is_incremental": false, @@ -174,7 +174,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html", - "hash": "fczElz3ZbIGyczGzs6yaAg==" + "hash": "AFWFkoU5E3FjhkDblEKQkg==" } }, "is_incremental": false, @@ -198,7 +198,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.DateField.html", - "hash": "E5yt8wTnVr/cw181ud9qyw==" + "hash": "a2u7b4sQCU4VoXLvyERzTw==" } }, "is_incremental": false, @@ -222,7 +222,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Dialog.html", - "hash": "ftyfgWbKw2fKWTz0vJwoqg==" + "hash": "O4J5wg1/XOF0Y3qXN8gJFw==" } }, "is_incremental": false, @@ -270,7 +270,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FakeDriver.html", - "hash": "gm7uaMleiAkiScp0YRfQHw==" + "hash": "Xw73R0SJYG9jg+TKIQpdKw==" } }, "is_incremental": false, @@ -294,7 +294,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FileDialog.html", - "hash": "pN65na5sr116E2g4vsnMtw==" + "hash": "pUwoXOqwdYkTDqa5A4YR5Q==" } }, "is_incremental": false, @@ -306,7 +306,235 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.FrameView.html", - "hash": "gHLZAou+CijLjYikEyjo5g==" + "hash": "KR2PgYMBUC/JIV8/3jbSRw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.GraphView.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.GraphView.html", + "hash": "ZsIALs+0kF/AtkxCPCTKGg==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html", + "hash": "0T9qDzdJ5WdDsUK6mF9n4Q==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html", + "hash": "kV8CFT+Ntjt/u7lBy++KeA==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html", + "hash": "p3lOpiT1Cc2yeWE04loKTw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html", + "hash": "RlFS+zRmbZU/jswYqc+a4w==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html", + "hash": "ZFPPs+kmNNDBzRgrNied/w==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html", + "hash": "uWn9J5di0ZvrXqPbknCwNw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html", + "hash": "DVy4aDoHVYL2IwWye+ZzIw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html", + "hash": "KgyBk3Fw1EnUKg6GgzCJfA==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html", + "hash": "0qmai4bsile3iZQHHpsgsQ==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html", + "hash": "xPBNjsV9ZP/bx02+3XDnHQ==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html", + "hash": "9ey6L2IBXLbbJJvqChF9nw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html", + "hash": "DMqnakMna/sKRyV5VS0pHw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html", + "hash": "ONvtgNcUcv+O1rYPNhkFiA==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html", + "hash": "+8a6vMKO3lCSsb+/aaZ5dQ==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html", + "hash": "KH1ruHcHOj1BkjmvKJJ3Zw==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html", + "hash": "uU49OZvsgPjZA+Mfe+yxxQ==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html", + "hash": "Sw1BMaEn4IUq/P/b6kNQ2A==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.Graphs.html", + "hash": "cvRkjKlX0mSHTuQVhJU8yw==" } }, "is_incremental": false, @@ -318,7 +546,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.HexView.html", - "hash": "90mHqLgdu0QcghGd9GIWTA==" + "hash": "L7w4q91fKapXpc/FjwXkNg==" } }, "is_incremental": false, @@ -402,7 +630,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Label.html", - "hash": "ki19Sl+3mfCl+SgTAoFwAw==" + "hash": "iOweCLY9+xLsRWWwBVvEhA==" } }, "is_incremental": false, @@ -426,7 +654,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ListView.html", - "hash": "a2N6cYcEZ50Ydf6yukKHDg==" + "hash": "pAekUwXCyutfzqilsSUCMw==" } }, "is_incremental": false, @@ -474,7 +702,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.MenuBar.html", - "hash": "iGGmFRMrs7mnsO1iFhkp6g==" + "hash": "UjkiwpYk/FjxTb3bB6I78Q==" } }, "is_incremental": false, @@ -576,6 +804,18 @@ "is_incremental": false, "version": "" }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.PointF.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.PointF.html", + "hash": "AE4zYlS6RoNpHdYTjGLwCA==" + } + }, + "is_incremental": false, + "version": "" + }, { "type": "ManagedReference", "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Pos.yml", @@ -594,7 +834,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ProgressBar.html", - "hash": "n7rns915W+qPKrhG4X+e3g==" + "hash": "JwUgu0SQI3uNSa9JSbrErg==" } }, "is_incremental": false, @@ -618,7 +858,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.RadioGroup.html", - "hash": "b+yb4iqICkBITFoC6DCgTg==" + "hash": "BqdPOBoBB05mNQu+Nu8mrg==" } }, "is_incremental": false, @@ -636,6 +876,18 @@ "is_incremental": false, "version": "" }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.RectangleF.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.RectangleF.html", + "hash": "5O0dsis4N26kv+kYIEYy9A==" + } + }, + "is_incremental": false, + "version": "" + }, { "type": "ManagedReference", "source_relative_path": "api/Terminal.Gui/Terminal.Gui.Responder.yml", @@ -666,7 +918,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollBarView.html", - "hash": "WePxRFu5XiYEVKxGKrkkaw==" + "hash": "59Bw9cW1MQoQYYKlAX9rSQ==" } }, "is_incremental": false, @@ -678,7 +930,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.ScrollView.html", - "hash": "RzTmV/MW1ZdB+O89GLs+Ig==" + "hash": "yjfcih9MwGK/5irY0/2vfQ==" } }, "is_incremental": false, @@ -708,13 +960,25 @@ "is_incremental": false, "version": "" }, + { + "type": "ManagedReference", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.SizeF.yml", + "output": { + ".html": { + "relative_path": "api/Terminal.Gui/Terminal.Gui.SizeF.html", + "hash": "eKxFuQr92WaHgwpZmShYIg==" + } + }, + "is_incremental": false, + "version": "" + }, { "type": "ManagedReference", "source_relative_path": "api/Terminal.Gui/Terminal.Gui.StatusBar.yml", "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.StatusBar.html", - "hash": "mNJX9TucmH0cEbkDFzFyBQ==" + "hash": "HurOjbNcmFRrDytcIVnxpA==" } }, "is_incremental": false, @@ -774,7 +1038,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TabView.html", - "hash": "2BBMoEkUJ8yN4TUQVyJyCw==" + "hash": "mGZqZ4hG2qa04AHB77yN7g==" } }, "is_incremental": false, @@ -846,7 +1110,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TableView.html", - "hash": "N2domvoUe5OCHjmJmKprRQ==" + "hash": "ajwJyFaF+FFnT1y9cn9eLg==" } }, "is_incremental": false, @@ -894,7 +1158,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextField.html", - "hash": "S/VQ/9Yeupak67gvUi4Zqg==" + "hash": "+hdGDsJciDVWbE3CsoocRg==" } }, "is_incremental": false, @@ -906,7 +1170,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextFormatter.html", - "hash": "9cOHvIyIF+F0EdFm32H9oQ==" + "hash": "FZAYDf+aNJnkwzjkYiXeLw==" } }, "is_incremental": false, @@ -914,11 +1178,11 @@ }, { "type": "ManagedReference", - "source_relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField-1.yml", + "source_relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField.yml", "output": { ".html": { - "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html", - "hash": "TWDspGiDuS0gKa3a/l875A==" + "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateField.html", + "hash": "XUTk2UUnfhOTqoanNKdInQ==" } }, "is_incremental": false, @@ -930,7 +1194,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html", - "hash": "Ii+qJziqdvBP7SuLQGsRYw==" + "hash": "jqRPhYDmkgbbeqSDEE9meg==" } }, "is_incremental": false, @@ -942,7 +1206,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html", - "hash": "OBLTyl9tlbkqTmq8ianP1A==" + "hash": "1YP/s0cVk5dxMfN+vcikFw==" } }, "is_incremental": false, @@ -954,7 +1218,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html", - "hash": "rdw8DGlj/iGIIBZTAEyX3A==" + "hash": "QqYopcviK+Psz0BdsaOUrg==" } }, "is_incremental": false, @@ -978,7 +1242,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TextView.html", - "hash": "JbiEFRIP3T4BfB8x+fzDcw==" + "hash": "xzX6STKbXuZgV9uJsYNswQ==" } }, "is_incremental": false, @@ -990,7 +1254,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TimeField.html", - "hash": "snjqmnLDz8hLxq9r7uNCgg==" + "hash": "pK9/8Y8/9e6bD8qPy/YNeA==" } }, "is_incremental": false, @@ -1002,7 +1266,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Toplevel.html", - "hash": "W9KVlQzGJnqUOwwGlUjeaA==" + "hash": "N7GJDz+T27M2HRgfcrGryg==" } }, "is_incremental": false, @@ -1014,7 +1278,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.TreeView-1.html", - "hash": "Ta743mOaCDg96ZZtsB0VCw==" + "hash": "mNFja11I4Ih0tR7PbtL3DA==" } }, "is_incremental": false, @@ -1038,7 +1302,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.AspectGetterDelegate-1.html", - "hash": "Frfz16AGs7YsOa4QkugCjQ==" + "hash": "wR4j9q7BrwodKBIMSMfIbw==" } }, "is_incremental": false, @@ -1086,7 +1350,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.ObjectActivatedEventArgs-1.html", - "hash": "b0znEAxeyv/D/JuQyxlufQ==" + "hash": "j0MkS6a8Snkj3vN7KzagHQ==" } }, "is_incremental": false, @@ -1110,7 +1374,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Trees.TreeBuilder-1.html", - "hash": "HNa9ePsfPSMxcEAVSlvztw==" + "hash": "QxAJLDAExs52z5dW4ZsKHA==" } }, "is_incremental": false, @@ -1230,7 +1494,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.View.html", - "hash": "5EoAZY4LVuXh9vXEKMP0nA==" + "hash": "J7EUoTmDNVNlWlt9QLwwlA==" } }, "is_incremental": false, @@ -1242,7 +1506,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.Window.html", - "hash": "JI3iaVNmO1nrswDE7ypZdg==" + "hash": "PrG3UAGfwk5rY5sMUpTaHA==" } }, "is_incremental": false, @@ -1254,7 +1518,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/Terminal.Gui.html", - "hash": "kilB/r755HL23+gvYX/uzA==" + "hash": "/hSMfhwc3+kW0t3F2nouXw==" } }, "is_incremental": false, @@ -1326,7 +1590,7 @@ "output": { ".html": { "relative_path": "api/Terminal.Gui/toc.html", - "hash": "IaMlfaLPj1oEdH/jRcQqwA==" + "hash": "rLYtUKfAalVjrv4b1ry7SQ==" } }, "is_incremental": false, @@ -1730,8 +1994,8 @@ "ManagedReferenceDocumentProcessor": { "can_incremental": true, "incrementalPhase": "build", - "total_file_count": 126, - "skipped_file_count": 126 + "total_file_count": 148, + "skipped_file_count": 78 }, "ResourceDocumentProcessor": { "can_incremental": false, diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index 91a9178fe..10ead69ca 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -1717,6 +1717,19 @@ references: commentId: F:Terminal.Gui.ConsoleDriver.Selected fullName: Terminal.Gui.ConsoleDriver.Selected nameWithType: ConsoleDriver.Selected +- uid: Terminal.Gui.ConsoleDriver.SendKeys(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean) + name: SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SendKeys_System_Char_System_ConsoleKey_System_Boolean_System_Boolean_System_Boolean_ + commentId: M:Terminal.Gui.ConsoleDriver.SendKeys(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean) + fullName: Terminal.Gui.ConsoleDriver.SendKeys(System.Char, System.ConsoleKey, System.Boolean, System.Boolean, System.Boolean) + nameWithType: ConsoleDriver.SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) +- uid: Terminal.Gui.ConsoleDriver.SendKeys* + name: SendKeys + href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SendKeys_ + commentId: Overload:Terminal.Gui.ConsoleDriver.SendKeys + isSpec: "True" + fullName: Terminal.Gui.ConsoleDriver.SendKeys + nameWithType: ConsoleDriver.SendKeys - uid: Terminal.Gui.ConsoleDriver.SetAttribute(Terminal.Gui.Attribute) name: SetAttribute(Attribute) href: api/Terminal.Gui/Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_ @@ -3311,6 +3324,19 @@ references: isSpec: "True" fullName: Terminal.Gui.FakeDriver.Cols nameWithType: FakeDriver.Cols +- uid: Terminal.Gui.FakeDriver.Contents + name: Contents + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_Contents + commentId: P:Terminal.Gui.FakeDriver.Contents + fullName: Terminal.Gui.FakeDriver.Contents + nameWithType: FakeDriver.Contents +- uid: Terminal.Gui.FakeDriver.Contents* + name: Contents + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_Contents_ + commentId: Overload:Terminal.Gui.FakeDriver.Contents + isSpec: "True" + fullName: Terminal.Gui.FakeDriver.Contents + nameWithType: FakeDriver.Contents - uid: Terminal.Gui.FakeDriver.CookMouse name: CookMouse() href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_CookMouse @@ -3473,6 +3499,19 @@ references: isSpec: "True" fullName: Terminal.Gui.FakeDriver.Rows nameWithType: FakeDriver.Rows +- uid: Terminal.Gui.FakeDriver.SendKeys(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean) + name: SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_SendKeys_System_Char_System_ConsoleKey_System_Boolean_System_Boolean_System_Boolean_ + commentId: M:Terminal.Gui.FakeDriver.SendKeys(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean) + fullName: Terminal.Gui.FakeDriver.SendKeys(System.Char, System.ConsoleKey, System.Boolean, System.Boolean, System.Boolean) + nameWithType: FakeDriver.SendKeys(Char, ConsoleKey, Boolean, Boolean, Boolean) +- uid: Terminal.Gui.FakeDriver.SendKeys* + name: SendKeys + href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_SendKeys_ + commentId: Overload:Terminal.Gui.FakeDriver.SendKeys + isSpec: "True" + fullName: Terminal.Gui.FakeDriver.SendKeys + nameWithType: FakeDriver.SendKeys - uid: Terminal.Gui.FakeDriver.SetAttribute(Terminal.Gui.Attribute) name: SetAttribute(Attribute) href: api/Terminal.Gui/Terminal.Gui.FakeDriver.html#Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute_ @@ -4042,6 +4081,1333 @@ references: isSpec: "True" fullName: Terminal.Gui.FrameView.Title nameWithType: FrameView.Title +- uid: Terminal.Gui.Graphs + name: Terminal.Gui.Graphs + href: api/Terminal.Gui/Terminal.Gui.Graphs.html + commentId: N:Terminal.Gui.Graphs + fullName: Terminal.Gui.Graphs + nameWithType: Terminal.Gui.Graphs +- uid: Terminal.Gui.Graphs.Axis + name: Axis + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html + commentId: T:Terminal.Gui.Graphs.Axis + fullName: Terminal.Gui.Graphs.Axis + nameWithType: Axis +- uid: Terminal.Gui.Graphs.Axis.#ctor(Terminal.Gui.Graphs.Orientation) + name: Axis(Orientation) + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis__ctor_Terminal_Gui_Graphs_Orientation_ + commentId: M:Terminal.Gui.Graphs.Axis.#ctor(Terminal.Gui.Graphs.Orientation) + fullName: Terminal.Gui.Graphs.Axis.Axis(Terminal.Gui.Graphs.Orientation) + nameWithType: Axis.Axis(Orientation) +- uid: Terminal.Gui.Graphs.Axis.#ctor* + name: Axis + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis__ctor_ + commentId: Overload:Terminal.Gui.Graphs.Axis.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Axis + nameWithType: Axis.Axis +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + name: DrawAxisLabel(GraphView, Int32, String) + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLabel_Terminal_Gui_GraphView_System_Int32_System_String_ + commentId: M:Terminal.Gui.Graphs.Axis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLabel(Terminal.Gui.GraphView, System.Int32, System.String) + nameWithType: Axis.DrawAxisLabel(GraphView, Int32, String) +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLabel* + name: DrawAxisLabel + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLabel_ + commentId: Overload:Terminal.Gui.Graphs.Axis.DrawAxisLabel + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLabel + nameWithType: Axis.DrawAxisLabel +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView) + name: DrawAxisLabels(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLabels_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView) + nameWithType: Axis.DrawAxisLabels(GraphView) +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLabels* + name: DrawAxisLabels + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLabels_ + commentId: Overload:Terminal.Gui.Graphs.Axis.DrawAxisLabels + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLabels + nameWithType: Axis.DrawAxisLabels +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView) + name: DrawAxisLine(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView) + nameWithType: Axis.DrawAxisLine(GraphView) +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + name: DrawAxisLine(GraphView, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView, System.Int32, System.Int32) + nameWithType: Axis.DrawAxisLine(GraphView, Int32, Int32) +- uid: Terminal.Gui.Graphs.Axis.DrawAxisLine* + name: DrawAxisLine + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_DrawAxisLine_ + commentId: Overload:Terminal.Gui.Graphs.Axis.DrawAxisLine + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.DrawAxisLine + nameWithType: Axis.DrawAxisLine +- uid: Terminal.Gui.Graphs.Axis.Increment + name: Increment + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment + commentId: P:Terminal.Gui.Graphs.Axis.Increment + fullName: Terminal.Gui.Graphs.Axis.Increment + nameWithType: Axis.Increment +- uid: Terminal.Gui.Graphs.Axis.Increment* + name: Increment + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment_ + commentId: Overload:Terminal.Gui.Graphs.Axis.Increment + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Increment + nameWithType: Axis.Increment +- uid: Terminal.Gui.Graphs.Axis.LabelGetter + name: LabelGetter + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_LabelGetter + commentId: F:Terminal.Gui.Graphs.Axis.LabelGetter + fullName: Terminal.Gui.Graphs.Axis.LabelGetter + nameWithType: Axis.LabelGetter +- uid: Terminal.Gui.Graphs.Axis.Minimum + name: Minimum + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Minimum + commentId: P:Terminal.Gui.Graphs.Axis.Minimum + fullName: Terminal.Gui.Graphs.Axis.Minimum + nameWithType: Axis.Minimum +- uid: Terminal.Gui.Graphs.Axis.Minimum* + name: Minimum + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Minimum_ + commentId: Overload:Terminal.Gui.Graphs.Axis.Minimum + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Minimum + nameWithType: Axis.Minimum +- uid: Terminal.Gui.Graphs.Axis.Orientation + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation + commentId: P:Terminal.Gui.Graphs.Axis.Orientation + fullName: Terminal.Gui.Graphs.Axis.Orientation + nameWithType: Axis.Orientation +- uid: Terminal.Gui.Graphs.Axis.Orientation* + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation_ + commentId: Overload:Terminal.Gui.Graphs.Axis.Orientation + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Orientation + nameWithType: Axis.Orientation +- uid: Terminal.Gui.Graphs.Axis.Reset + name: Reset() + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Reset + commentId: M:Terminal.Gui.Graphs.Axis.Reset + fullName: Terminal.Gui.Graphs.Axis.Reset() + nameWithType: Axis.Reset() +- uid: Terminal.Gui.Graphs.Axis.Reset* + name: Reset + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Reset_ + commentId: Overload:Terminal.Gui.Graphs.Axis.Reset + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Reset + nameWithType: Axis.Reset +- uid: Terminal.Gui.Graphs.Axis.ShowLabelsEvery + name: ShowLabelsEvery + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_ShowLabelsEvery + commentId: P:Terminal.Gui.Graphs.Axis.ShowLabelsEvery + fullName: Terminal.Gui.Graphs.Axis.ShowLabelsEvery + nameWithType: Axis.ShowLabelsEvery +- uid: Terminal.Gui.Graphs.Axis.ShowLabelsEvery* + name: ShowLabelsEvery + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_ShowLabelsEvery_ + commentId: Overload:Terminal.Gui.Graphs.Axis.ShowLabelsEvery + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.ShowLabelsEvery + nameWithType: Axis.ShowLabelsEvery +- uid: Terminal.Gui.Graphs.Axis.Text + name: Text + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Text + commentId: F:Terminal.Gui.Graphs.Axis.Text + fullName: Terminal.Gui.Graphs.Axis.Text + nameWithType: Axis.Text +- uid: Terminal.Gui.Graphs.Axis.Visible + name: Visible + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Visible + commentId: P:Terminal.Gui.Graphs.Axis.Visible + fullName: Terminal.Gui.Graphs.Axis.Visible + nameWithType: Axis.Visible +- uid: Terminal.Gui.Graphs.Axis.Visible* + name: Visible + href: api/Terminal.Gui/Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Visible_ + commentId: Overload:Terminal.Gui.Graphs.Axis.Visible + isSpec: "True" + fullName: Terminal.Gui.Graphs.Axis.Visible + nameWithType: Axis.Visible +- uid: Terminal.Gui.Graphs.AxisIncrementToRender + name: AxisIncrementToRender + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html + commentId: T:Terminal.Gui.Graphs.AxisIncrementToRender + fullName: Terminal.Gui.Graphs.AxisIncrementToRender + nameWithType: AxisIncrementToRender +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.#ctor(Terminal.Gui.Graphs.Orientation,System.Int32,System.Single) + name: AxisIncrementToRender(Orientation, Int32, Single) + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender__ctor_Terminal_Gui_Graphs_Orientation_System_Int32_System_Single_ + commentId: M:Terminal.Gui.Graphs.AxisIncrementToRender.#ctor(Terminal.Gui.Graphs.Orientation,System.Int32,System.Single) + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.AxisIncrementToRender(Terminal.Gui.Graphs.Orientation, System.Int32, System.Single) + nameWithType: AxisIncrementToRender.AxisIncrementToRender(Orientation, Int32, Single) +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.#ctor* + name: AxisIncrementToRender + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender__ctor_ + commentId: Overload:Terminal.Gui.Graphs.AxisIncrementToRender.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.AxisIncrementToRender + nameWithType: AxisIncrementToRender.AxisIncrementToRender +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.Orientation + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_Orientation + commentId: P:Terminal.Gui.Graphs.AxisIncrementToRender.Orientation + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.Orientation + nameWithType: AxisIncrementToRender.Orientation +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.Orientation* + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_Orientation_ + commentId: Overload:Terminal.Gui.Graphs.AxisIncrementToRender.Orientation + isSpec: "True" + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.Orientation + nameWithType: AxisIncrementToRender.Orientation +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation + name: ScreenLocation + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_ScreenLocation + commentId: P:Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation + nameWithType: AxisIncrementToRender.ScreenLocation +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation* + name: ScreenLocation + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_ScreenLocation_ + commentId: Overload:Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation + isSpec: "True" + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.ScreenLocation + nameWithType: AxisIncrementToRender.ScreenLocation +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.Value + name: Value + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_Value + commentId: P:Terminal.Gui.Graphs.AxisIncrementToRender.Value + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.Value + nameWithType: AxisIncrementToRender.Value +- uid: Terminal.Gui.Graphs.AxisIncrementToRender.Value* + name: Value + href: api/Terminal.Gui/Terminal.Gui.Graphs.AxisIncrementToRender.html#Terminal_Gui_Graphs_AxisIncrementToRender_Value_ + commentId: Overload:Terminal.Gui.Graphs.AxisIncrementToRender.Value + isSpec: "True" + fullName: Terminal.Gui.Graphs.AxisIncrementToRender.Value + nameWithType: AxisIncrementToRender.Value +- uid: Terminal.Gui.Graphs.BarSeries + name: BarSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html + commentId: T:Terminal.Gui.Graphs.BarSeries + fullName: Terminal.Gui.Graphs.BarSeries + nameWithType: BarSeries +- uid: Terminal.Gui.Graphs.BarSeries.AdjustColor(Terminal.Gui.Graphs.GraphCellToRender) + name: AdjustColor(GraphCellToRender) + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_AdjustColor_Terminal_Gui_Graphs_GraphCellToRender_ + commentId: M:Terminal.Gui.Graphs.BarSeries.AdjustColor(Terminal.Gui.Graphs.GraphCellToRender) + fullName: Terminal.Gui.Graphs.BarSeries.AdjustColor(Terminal.Gui.Graphs.GraphCellToRender) + nameWithType: BarSeries.AdjustColor(GraphCellToRender) +- uid: Terminal.Gui.Graphs.BarSeries.AdjustColor* + name: AdjustColor + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_AdjustColor_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.AdjustColor + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.AdjustColor + nameWithType: BarSeries.AdjustColor +- uid: Terminal.Gui.Graphs.BarSeries.Bar + name: BarSeries.Bar + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html + commentId: T:Terminal.Gui.Graphs.BarSeries.Bar + fullName: Terminal.Gui.Graphs.BarSeries.Bar + nameWithType: BarSeries.Bar +- uid: Terminal.Gui.Graphs.BarSeries.Bar.#ctor(System.String,Terminal.Gui.Graphs.GraphCellToRender,System.Single) + name: Bar(String, GraphCellToRender, Single) + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar__ctor_System_String_Terminal_Gui_Graphs_GraphCellToRender_System_Single_ + commentId: M:Terminal.Gui.Graphs.BarSeries.Bar.#ctor(System.String,Terminal.Gui.Graphs.GraphCellToRender,System.Single) + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Bar(System.String, Terminal.Gui.Graphs.GraphCellToRender, System.Single) + nameWithType: BarSeries.Bar.Bar(String, GraphCellToRender, Single) +- uid: Terminal.Gui.Graphs.BarSeries.Bar.#ctor* + name: Bar + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar__ctor_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Bar.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Bar + nameWithType: BarSeries.Bar.Bar +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Fill + name: Fill + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Fill + commentId: P:Terminal.Gui.Graphs.BarSeries.Bar.Fill + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Fill + nameWithType: BarSeries.Bar.Fill +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Fill* + name: Fill + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Fill_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Bar.Fill + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Fill + nameWithType: BarSeries.Bar.Fill +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Text + name: Text + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Text + commentId: P:Terminal.Gui.Graphs.BarSeries.Bar.Text + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Text + nameWithType: BarSeries.Bar.Text +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Text* + name: Text + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Text_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Bar.Text + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Text + nameWithType: BarSeries.Bar.Text +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Value + name: Value + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Value + commentId: P:Terminal.Gui.Graphs.BarSeries.Bar.Value + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Value + nameWithType: BarSeries.Bar.Value +- uid: Terminal.Gui.Graphs.BarSeries.Bar.Value* + name: Value + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Value_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Bar.Value + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Bar.Value + nameWithType: BarSeries.Bar.Value +- uid: Terminal.Gui.Graphs.BarSeries.BarEvery + name: BarEvery + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_BarEvery + commentId: P:Terminal.Gui.Graphs.BarSeries.BarEvery + fullName: Terminal.Gui.Graphs.BarSeries.BarEvery + nameWithType: BarSeries.BarEvery +- uid: Terminal.Gui.Graphs.BarSeries.BarEvery* + name: BarEvery + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_BarEvery_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.BarEvery + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.BarEvery + nameWithType: BarSeries.BarEvery +- uid: Terminal.Gui.Graphs.BarSeries.Bars + name: Bars + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Bars + commentId: P:Terminal.Gui.Graphs.BarSeries.Bars + fullName: Terminal.Gui.Graphs.BarSeries.Bars + nameWithType: BarSeries.Bars +- uid: Terminal.Gui.Graphs.BarSeries.Bars* + name: Bars + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Bars_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Bars + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Bars + nameWithType: BarSeries.Bars +- uid: Terminal.Gui.Graphs.BarSeries.DrawBarLine(Terminal.Gui.GraphView,Terminal.Gui.Point,Terminal.Gui.Point,Terminal.Gui.Graphs.BarSeries.Bar) + name: DrawBarLine(GraphView, Point, Point, BarSeries.Bar) + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawBarLine_Terminal_Gui_GraphView_Terminal_Gui_Point_Terminal_Gui_Point_Terminal_Gui_Graphs_BarSeries_Bar_ + commentId: M:Terminal.Gui.Graphs.BarSeries.DrawBarLine(Terminal.Gui.GraphView,Terminal.Gui.Point,Terminal.Gui.Point,Terminal.Gui.Graphs.BarSeries.Bar) + fullName: Terminal.Gui.Graphs.BarSeries.DrawBarLine(Terminal.Gui.GraphView, Terminal.Gui.Point, Terminal.Gui.Point, Terminal.Gui.Graphs.BarSeries.Bar) + nameWithType: BarSeries.DrawBarLine(GraphView, Point, Point, BarSeries.Bar) +- uid: Terminal.Gui.Graphs.BarSeries.DrawBarLine* + name: DrawBarLine + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawBarLine_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.DrawBarLine + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.DrawBarLine + nameWithType: BarSeries.DrawBarLine +- uid: Terminal.Gui.Graphs.BarSeries.DrawLabels + name: DrawLabels + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawLabels + commentId: P:Terminal.Gui.Graphs.BarSeries.DrawLabels + fullName: Terminal.Gui.Graphs.BarSeries.DrawLabels + nameWithType: BarSeries.DrawLabels +- uid: Terminal.Gui.Graphs.BarSeries.DrawLabels* + name: DrawLabels + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawLabels_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.DrawLabels + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.DrawLabels + nameWithType: BarSeries.DrawLabels +- uid: Terminal.Gui.Graphs.BarSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + name: DrawSeries(GraphView, Rect, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.Graphs.BarSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.Graphs.BarSeries.DrawSeries(Terminal.Gui.GraphView, Terminal.Gui.Rect, Terminal.Gui.RectangleF) + nameWithType: BarSeries.DrawSeries(GraphView, Rect, RectangleF) +- uid: Terminal.Gui.Graphs.BarSeries.DrawSeries* + name: DrawSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_DrawSeries_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.DrawSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.DrawSeries + nameWithType: BarSeries.DrawSeries +- uid: Terminal.Gui.Graphs.BarSeries.Offset + name: Offset + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Offset + commentId: P:Terminal.Gui.Graphs.BarSeries.Offset + fullName: Terminal.Gui.Graphs.BarSeries.Offset + nameWithType: BarSeries.Offset +- uid: Terminal.Gui.Graphs.BarSeries.Offset* + name: Offset + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Offset_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Offset + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Offset + nameWithType: BarSeries.Offset +- uid: Terminal.Gui.Graphs.BarSeries.Orientation + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Orientation + commentId: P:Terminal.Gui.Graphs.BarSeries.Orientation + fullName: Terminal.Gui.Graphs.BarSeries.Orientation + nameWithType: BarSeries.Orientation +- uid: Terminal.Gui.Graphs.BarSeries.Orientation* + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_Orientation_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.Orientation + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.Orientation + nameWithType: BarSeries.Orientation +- uid: Terminal.Gui.Graphs.BarSeries.OverrideBarColor + name: OverrideBarColor + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_OverrideBarColor + commentId: P:Terminal.Gui.Graphs.BarSeries.OverrideBarColor + fullName: Terminal.Gui.Graphs.BarSeries.OverrideBarColor + nameWithType: BarSeries.OverrideBarColor +- uid: Terminal.Gui.Graphs.BarSeries.OverrideBarColor* + name: OverrideBarColor + href: api/Terminal.Gui/Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_OverrideBarColor_ + commentId: Overload:Terminal.Gui.Graphs.BarSeries.OverrideBarColor + isSpec: "True" + fullName: Terminal.Gui.Graphs.BarSeries.OverrideBarColor + nameWithType: BarSeries.OverrideBarColor +- uid: Terminal.Gui.Graphs.GraphCellToRender + name: GraphCellToRender + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html + commentId: T:Terminal.Gui.Graphs.GraphCellToRender + fullName: Terminal.Gui.Graphs.GraphCellToRender + nameWithType: GraphCellToRender +- uid: Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune) + name: GraphCellToRender(Rune) + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender__ctor_System_Rune_ + commentId: M:Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune) + fullName: Terminal.Gui.Graphs.GraphCellToRender.GraphCellToRender(System.Rune) + nameWithType: GraphCellToRender.GraphCellToRender(Rune) +- uid: Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune,System.Nullable{Terminal.Gui.Attribute}) + name: GraphCellToRender(Rune, Nullable) + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender__ctor_System_Rune_System_Nullable_Terminal_Gui_Attribute__ + commentId: M:Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune,System.Nullable{Terminal.Gui.Attribute}) + name.vb: GraphCellToRender(Rune, Nullable(Of Attribute)) + fullName: Terminal.Gui.Graphs.GraphCellToRender.GraphCellToRender(System.Rune, System.Nullable) + fullName.vb: Terminal.Gui.Graphs.GraphCellToRender.GraphCellToRender(System.Rune, System.Nullable(Of Terminal.Gui.Attribute)) + nameWithType: GraphCellToRender.GraphCellToRender(Rune, Nullable) + nameWithType.vb: GraphCellToRender.GraphCellToRender(Rune, Nullable(Of Attribute)) +- uid: Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune,Terminal.Gui.Attribute) + name: GraphCellToRender(Rune, Attribute) + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender__ctor_System_Rune_Terminal_Gui_Attribute_ + commentId: M:Terminal.Gui.Graphs.GraphCellToRender.#ctor(System.Rune,Terminal.Gui.Attribute) + fullName: Terminal.Gui.Graphs.GraphCellToRender.GraphCellToRender(System.Rune, Terminal.Gui.Attribute) + nameWithType: GraphCellToRender.GraphCellToRender(Rune, Attribute) +- uid: Terminal.Gui.Graphs.GraphCellToRender.#ctor* + name: GraphCellToRender + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender__ctor_ + commentId: Overload:Terminal.Gui.Graphs.GraphCellToRender.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.GraphCellToRender.GraphCellToRender + nameWithType: GraphCellToRender.GraphCellToRender +- uid: Terminal.Gui.Graphs.GraphCellToRender.Color + name: Color + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender_Color + commentId: P:Terminal.Gui.Graphs.GraphCellToRender.Color + fullName: Terminal.Gui.Graphs.GraphCellToRender.Color + nameWithType: GraphCellToRender.Color +- uid: Terminal.Gui.Graphs.GraphCellToRender.Color* + name: Color + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender_Color_ + commentId: Overload:Terminal.Gui.Graphs.GraphCellToRender.Color + isSpec: "True" + fullName: Terminal.Gui.Graphs.GraphCellToRender.Color + nameWithType: GraphCellToRender.Color +- uid: Terminal.Gui.Graphs.GraphCellToRender.Rune + name: Rune + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender_Rune + commentId: P:Terminal.Gui.Graphs.GraphCellToRender.Rune + fullName: Terminal.Gui.Graphs.GraphCellToRender.Rune + nameWithType: GraphCellToRender.Rune +- uid: Terminal.Gui.Graphs.GraphCellToRender.Rune* + name: Rune + href: api/Terminal.Gui/Terminal.Gui.Graphs.GraphCellToRender.html#Terminal_Gui_Graphs_GraphCellToRender_Rune_ + commentId: Overload:Terminal.Gui.Graphs.GraphCellToRender.Rune + isSpec: "True" + fullName: Terminal.Gui.Graphs.GraphCellToRender.Rune + nameWithType: GraphCellToRender.Rune +- uid: Terminal.Gui.Graphs.HorizontalAxis + name: HorizontalAxis + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html + commentId: T:Terminal.Gui.Graphs.HorizontalAxis + fullName: Terminal.Gui.Graphs.HorizontalAxis + nameWithType: HorizontalAxis +- uid: Terminal.Gui.Graphs.HorizontalAxis.#ctor + name: HorizontalAxis() + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis__ctor + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.#ctor + fullName: Terminal.Gui.Graphs.HorizontalAxis.HorizontalAxis() + nameWithType: HorizontalAxis.HorizontalAxis() +- uid: Terminal.Gui.Graphs.HorizontalAxis.#ctor* + name: HorizontalAxis + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis__ctor_ + commentId: Overload:Terminal.Gui.Graphs.HorizontalAxis.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.HorizontalAxis.HorizontalAxis + nameWithType: HorizontalAxis.HorizontalAxis +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + name: DrawAxisLabel(GraphView, Int32, String) + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLabel_Terminal_Gui_GraphView_System_Int32_System_String_ + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel(Terminal.Gui.GraphView, System.Int32, System.String) + nameWithType: HorizontalAxis.DrawAxisLabel(GraphView, Int32, String) +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel* + name: DrawAxisLabel + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLabel_ + commentId: Overload:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel + isSpec: "True" + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabel + nameWithType: HorizontalAxis.DrawAxisLabel +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + name: DrawAxisLabels(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLabels_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + nameWithType: HorizontalAxis.DrawAxisLabels(GraphView) +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels* + name: DrawAxisLabels + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLabels_ + commentId: Overload:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels + isSpec: "True" + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLabels + nameWithType: HorizontalAxis.DrawAxisLabels +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView) + name: DrawAxisLine(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLine_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView) + nameWithType: HorizontalAxis.DrawAxisLine(GraphView) +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + name: DrawAxisLine(GraphView, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLine_Terminal_Gui_GraphView_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine(Terminal.Gui.GraphView, System.Int32, System.Int32) + nameWithType: HorizontalAxis.DrawAxisLine(GraphView, Int32, Int32) +- uid: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine* + name: DrawAxisLine + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_DrawAxisLine_ + commentId: Overload:Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine + isSpec: "True" + fullName: Terminal.Gui.Graphs.HorizontalAxis.DrawAxisLine + nameWithType: HorizontalAxis.DrawAxisLine +- uid: Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition(Terminal.Gui.GraphView) + name: GetAxisYPosition(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_GetAxisYPosition_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition(Terminal.Gui.GraphView) + nameWithType: HorizontalAxis.GetAxisYPosition(GraphView) +- uid: Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition* + name: GetAxisYPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.HorizontalAxis.html#Terminal_Gui_Graphs_HorizontalAxis_GetAxisYPosition_ + commentId: Overload:Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition + isSpec: "True" + fullName: Terminal.Gui.Graphs.HorizontalAxis.GetAxisYPosition + nameWithType: HorizontalAxis.GetAxisYPosition +- uid: Terminal.Gui.Graphs.IAnnotation + name: IAnnotation + href: api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html + commentId: T:Terminal.Gui.Graphs.IAnnotation + fullName: Terminal.Gui.Graphs.IAnnotation + nameWithType: IAnnotation +- uid: Terminal.Gui.Graphs.IAnnotation.BeforeSeries + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html#Terminal_Gui_Graphs_IAnnotation_BeforeSeries + commentId: P:Terminal.Gui.Graphs.IAnnotation.BeforeSeries + fullName: Terminal.Gui.Graphs.IAnnotation.BeforeSeries + nameWithType: IAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.IAnnotation.BeforeSeries* + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html#Terminal_Gui_Graphs_IAnnotation_BeforeSeries_ + commentId: Overload:Terminal.Gui.Graphs.IAnnotation.BeforeSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.IAnnotation.BeforeSeries + nameWithType: IAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.IAnnotation.Render(Terminal.Gui.GraphView) + name: Render(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html#Terminal_Gui_Graphs_IAnnotation_Render_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.IAnnotation.Render(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.IAnnotation.Render(Terminal.Gui.GraphView) + nameWithType: IAnnotation.Render(GraphView) +- uid: Terminal.Gui.Graphs.IAnnotation.Render* + name: Render + href: api/Terminal.Gui/Terminal.Gui.Graphs.IAnnotation.html#Terminal_Gui_Graphs_IAnnotation_Render_ + commentId: Overload:Terminal.Gui.Graphs.IAnnotation.Render + isSpec: "True" + fullName: Terminal.Gui.Graphs.IAnnotation.Render + nameWithType: IAnnotation.Render +- uid: Terminal.Gui.Graphs.ISeries + name: ISeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html + commentId: T:Terminal.Gui.Graphs.ISeries + fullName: Terminal.Gui.Graphs.ISeries + nameWithType: ISeries +- uid: Terminal.Gui.Graphs.ISeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + name: DrawSeries(GraphView, Rect, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html#Terminal_Gui_Graphs_ISeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.Graphs.ISeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.Graphs.ISeries.DrawSeries(Terminal.Gui.GraphView, Terminal.Gui.Rect, Terminal.Gui.RectangleF) + nameWithType: ISeries.DrawSeries(GraphView, Rect, RectangleF) +- uid: Terminal.Gui.Graphs.ISeries.DrawSeries* + name: DrawSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.ISeries.html#Terminal_Gui_Graphs_ISeries_DrawSeries_ + commentId: Overload:Terminal.Gui.Graphs.ISeries.DrawSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.ISeries.DrawSeries + nameWithType: ISeries.DrawSeries +- uid: Terminal.Gui.Graphs.LabelGetterDelegate + name: LabelGetterDelegate + href: api/Terminal.Gui/Terminal.Gui.Graphs.LabelGetterDelegate.html + commentId: T:Terminal.Gui.Graphs.LabelGetterDelegate + fullName: Terminal.Gui.Graphs.LabelGetterDelegate + nameWithType: LabelGetterDelegate +- uid: Terminal.Gui.Graphs.LegendAnnotation + name: LegendAnnotation + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html + commentId: T:Terminal.Gui.Graphs.LegendAnnotation + fullName: Terminal.Gui.Graphs.LegendAnnotation + nameWithType: LegendAnnotation +- uid: Terminal.Gui.Graphs.LegendAnnotation.#ctor(Terminal.Gui.Rect) + name: LegendAnnotation(Rect) + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation__ctor_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.Graphs.LegendAnnotation.#ctor(Terminal.Gui.Rect) + fullName: Terminal.Gui.Graphs.LegendAnnotation.LegendAnnotation(Terminal.Gui.Rect) + nameWithType: LegendAnnotation.LegendAnnotation(Rect) +- uid: Terminal.Gui.Graphs.LegendAnnotation.#ctor* + name: LegendAnnotation + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation__ctor_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.LegendAnnotation + nameWithType: LegendAnnotation.LegendAnnotation +- uid: Terminal.Gui.Graphs.LegendAnnotation.AddEntry(Terminal.Gui.Graphs.GraphCellToRender,System.String) + name: AddEntry(GraphCellToRender, String) + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_AddEntry_Terminal_Gui_Graphs_GraphCellToRender_System_String_ + commentId: M:Terminal.Gui.Graphs.LegendAnnotation.AddEntry(Terminal.Gui.Graphs.GraphCellToRender,System.String) + fullName: Terminal.Gui.Graphs.LegendAnnotation.AddEntry(Terminal.Gui.Graphs.GraphCellToRender, System.String) + nameWithType: LegendAnnotation.AddEntry(GraphCellToRender, String) +- uid: Terminal.Gui.Graphs.LegendAnnotation.AddEntry* + name: AddEntry + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_AddEntry_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.AddEntry + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.AddEntry + nameWithType: LegendAnnotation.AddEntry +- uid: Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_BeforeSeries + commentId: P:Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries + fullName: Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries + nameWithType: LegendAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries* + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_BeforeSeries_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.BeforeSeries + nameWithType: LegendAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.LegendAnnotation.Border + name: Border + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Border + commentId: P:Terminal.Gui.Graphs.LegendAnnotation.Border + fullName: Terminal.Gui.Graphs.LegendAnnotation.Border + nameWithType: LegendAnnotation.Border +- uid: Terminal.Gui.Graphs.LegendAnnotation.Border* + name: Border + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Border_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.Border + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.Border + nameWithType: LegendAnnotation.Border +- uid: Terminal.Gui.Graphs.LegendAnnotation.Bounds + name: Bounds + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Bounds + commentId: P:Terminal.Gui.Graphs.LegendAnnotation.Bounds + fullName: Terminal.Gui.Graphs.LegendAnnotation.Bounds + nameWithType: LegendAnnotation.Bounds +- uid: Terminal.Gui.Graphs.LegendAnnotation.Bounds* + name: Bounds + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Bounds_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.Bounds + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.Bounds + nameWithType: LegendAnnotation.Bounds +- uid: Terminal.Gui.Graphs.LegendAnnotation.Render(Terminal.Gui.GraphView) + name: Render(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Render_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.LegendAnnotation.Render(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.LegendAnnotation.Render(Terminal.Gui.GraphView) + nameWithType: LegendAnnotation.Render(GraphView) +- uid: Terminal.Gui.Graphs.LegendAnnotation.Render* + name: Render + href: api/Terminal.Gui/Terminal.Gui.Graphs.LegendAnnotation.html#Terminal_Gui_Graphs_LegendAnnotation_Render_ + commentId: Overload:Terminal.Gui.Graphs.LegendAnnotation.Render + isSpec: "True" + fullName: Terminal.Gui.Graphs.LegendAnnotation.Render + nameWithType: LegendAnnotation.Render +- uid: Terminal.Gui.Graphs.MultiBarSeries + name: MultiBarSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html + commentId: T:Terminal.Gui.Graphs.MultiBarSeries + fullName: Terminal.Gui.Graphs.MultiBarSeries + nameWithType: MultiBarSeries +- uid: Terminal.Gui.Graphs.MultiBarSeries.#ctor(System.Int32,System.Single,System.Single,Terminal.Gui.Attribute[]) + name: MultiBarSeries(Int32, Single, Single, Attribute[]) + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries__ctor_System_Int32_System_Single_System_Single_Terminal_Gui_Attribute___ + commentId: M:Terminal.Gui.Graphs.MultiBarSeries.#ctor(System.Int32,System.Single,System.Single,Terminal.Gui.Attribute[]) + name.vb: MultiBarSeries(Int32, Single, Single, Attribute()) + fullName: Terminal.Gui.Graphs.MultiBarSeries.MultiBarSeries(System.Int32, System.Single, System.Single, Terminal.Gui.Attribute[]) + fullName.vb: Terminal.Gui.Graphs.MultiBarSeries.MultiBarSeries(System.Int32, System.Single, System.Single, Terminal.Gui.Attribute()) + nameWithType: MultiBarSeries.MultiBarSeries(Int32, Single, Single, Attribute[]) + nameWithType.vb: MultiBarSeries.MultiBarSeries(Int32, Single, Single, Attribute()) +- uid: Terminal.Gui.Graphs.MultiBarSeries.#ctor* + name: MultiBarSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries__ctor_ + commentId: Overload:Terminal.Gui.Graphs.MultiBarSeries.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.MultiBarSeries.MultiBarSeries + nameWithType: MultiBarSeries.MultiBarSeries +- uid: Terminal.Gui.Graphs.MultiBarSeries.AddBars(System.String,System.Rune,System.Single[]) + name: AddBars(String, Rune, Single[]) + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_AddBars_System_String_System_Rune_System_Single___ + commentId: M:Terminal.Gui.Graphs.MultiBarSeries.AddBars(System.String,System.Rune,System.Single[]) + name.vb: AddBars(String, Rune, Single()) + fullName: Terminal.Gui.Graphs.MultiBarSeries.AddBars(System.String, System.Rune, System.Single[]) + fullName.vb: Terminal.Gui.Graphs.MultiBarSeries.AddBars(System.String, System.Rune, System.Single()) + nameWithType: MultiBarSeries.AddBars(String, Rune, Single[]) + nameWithType.vb: MultiBarSeries.AddBars(String, Rune, Single()) +- uid: Terminal.Gui.Graphs.MultiBarSeries.AddBars* + name: AddBars + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_AddBars_ + commentId: Overload:Terminal.Gui.Graphs.MultiBarSeries.AddBars + isSpec: "True" + fullName: Terminal.Gui.Graphs.MultiBarSeries.AddBars + nameWithType: MultiBarSeries.AddBars +- uid: Terminal.Gui.Graphs.MultiBarSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + name: DrawSeries(GraphView, Rect, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.Graphs.MultiBarSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.Graphs.MultiBarSeries.DrawSeries(Terminal.Gui.GraphView, Terminal.Gui.Rect, Terminal.Gui.RectangleF) + nameWithType: MultiBarSeries.DrawSeries(GraphView, Rect, RectangleF) +- uid: Terminal.Gui.Graphs.MultiBarSeries.DrawSeries* + name: DrawSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_DrawSeries_ + commentId: Overload:Terminal.Gui.Graphs.MultiBarSeries.DrawSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.MultiBarSeries.DrawSeries + nameWithType: MultiBarSeries.DrawSeries +- uid: Terminal.Gui.Graphs.MultiBarSeries.Spacing + name: Spacing + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_Spacing + commentId: P:Terminal.Gui.Graphs.MultiBarSeries.Spacing + fullName: Terminal.Gui.Graphs.MultiBarSeries.Spacing + nameWithType: MultiBarSeries.Spacing +- uid: Terminal.Gui.Graphs.MultiBarSeries.Spacing* + name: Spacing + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_Spacing_ + commentId: Overload:Terminal.Gui.Graphs.MultiBarSeries.Spacing + isSpec: "True" + fullName: Terminal.Gui.Graphs.MultiBarSeries.Spacing + nameWithType: MultiBarSeries.Spacing +- uid: Terminal.Gui.Graphs.MultiBarSeries.SubSeries + name: SubSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_SubSeries + commentId: P:Terminal.Gui.Graphs.MultiBarSeries.SubSeries + fullName: Terminal.Gui.Graphs.MultiBarSeries.SubSeries + nameWithType: MultiBarSeries.SubSeries +- uid: Terminal.Gui.Graphs.MultiBarSeries.SubSeries* + name: SubSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.MultiBarSeries.html#Terminal_Gui_Graphs_MultiBarSeries_SubSeries_ + commentId: Overload:Terminal.Gui.Graphs.MultiBarSeries.SubSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.MultiBarSeries.SubSeries + nameWithType: MultiBarSeries.SubSeries +- uid: Terminal.Gui.Graphs.Orientation + name: Orientation + href: api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html + commentId: T:Terminal.Gui.Graphs.Orientation + fullName: Terminal.Gui.Graphs.Orientation + nameWithType: Orientation +- uid: Terminal.Gui.Graphs.Orientation.Horizontal + name: Horizontal + href: api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html#Terminal_Gui_Graphs_Orientation_Horizontal + commentId: F:Terminal.Gui.Graphs.Orientation.Horizontal + fullName: Terminal.Gui.Graphs.Orientation.Horizontal + nameWithType: Orientation.Horizontal +- uid: Terminal.Gui.Graphs.Orientation.Vertical + name: Vertical + href: api/Terminal.Gui/Terminal.Gui.Graphs.Orientation.html#Terminal_Gui_Graphs_Orientation_Vertical + commentId: F:Terminal.Gui.Graphs.Orientation.Vertical + fullName: Terminal.Gui.Graphs.Orientation.Vertical + nameWithType: Orientation.Vertical +- uid: Terminal.Gui.Graphs.PathAnnotation + name: PathAnnotation + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html + commentId: T:Terminal.Gui.Graphs.PathAnnotation + fullName: Terminal.Gui.Graphs.PathAnnotation + nameWithType: PathAnnotation +- uid: Terminal.Gui.Graphs.PathAnnotation.BeforeSeries + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_BeforeSeries + commentId: P:Terminal.Gui.Graphs.PathAnnotation.BeforeSeries + fullName: Terminal.Gui.Graphs.PathAnnotation.BeforeSeries + nameWithType: PathAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.PathAnnotation.BeforeSeries* + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_BeforeSeries_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.BeforeSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.BeforeSeries + nameWithType: PathAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.PathAnnotation.LineColor + name: LineColor + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_LineColor + commentId: P:Terminal.Gui.Graphs.PathAnnotation.LineColor + fullName: Terminal.Gui.Graphs.PathAnnotation.LineColor + nameWithType: PathAnnotation.LineColor +- uid: Terminal.Gui.Graphs.PathAnnotation.LineColor* + name: LineColor + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_LineColor_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.LineColor + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.LineColor + nameWithType: PathAnnotation.LineColor +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF + name: PathAnnotation.LineF + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html + commentId: T:Terminal.Gui.Graphs.PathAnnotation.LineF + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF + nameWithType: PathAnnotation.LineF +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.#ctor(Terminal.Gui.PointF,Terminal.Gui.PointF) + name: LineF(PointF, PointF) + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF__ctor_Terminal_Gui_PointF_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.Graphs.PathAnnotation.LineF.#ctor(Terminal.Gui.PointF,Terminal.Gui.PointF) + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.LineF(Terminal.Gui.PointF, Terminal.Gui.PointF) + nameWithType: PathAnnotation.LineF.LineF(PointF, PointF) +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.#ctor* + name: LineF + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF__ctor_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.LineF.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.LineF + nameWithType: PathAnnotation.LineF.LineF +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.End + name: End + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF_End + commentId: P:Terminal.Gui.Graphs.PathAnnotation.LineF.End + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.End + nameWithType: PathAnnotation.LineF.End +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.End* + name: End + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF_End_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.LineF.End + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.End + nameWithType: PathAnnotation.LineF.End +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.Start + name: Start + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF_Start + commentId: P:Terminal.Gui.Graphs.PathAnnotation.LineF.Start + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.Start + nameWithType: PathAnnotation.LineF.Start +- uid: Terminal.Gui.Graphs.PathAnnotation.LineF.Start* + name: Start + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.LineF.html#Terminal_Gui_Graphs_PathAnnotation_LineF_Start_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.LineF.Start + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.LineF.Start + nameWithType: PathAnnotation.LineF.Start +- uid: Terminal.Gui.Graphs.PathAnnotation.LineRune + name: LineRune + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_LineRune + commentId: P:Terminal.Gui.Graphs.PathAnnotation.LineRune + fullName: Terminal.Gui.Graphs.PathAnnotation.LineRune + nameWithType: PathAnnotation.LineRune +- uid: Terminal.Gui.Graphs.PathAnnotation.LineRune* + name: LineRune + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_LineRune_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.LineRune + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.LineRune + nameWithType: PathAnnotation.LineRune +- uid: Terminal.Gui.Graphs.PathAnnotation.Points + name: Points + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Points + commentId: P:Terminal.Gui.Graphs.PathAnnotation.Points + fullName: Terminal.Gui.Graphs.PathAnnotation.Points + nameWithType: PathAnnotation.Points +- uid: Terminal.Gui.Graphs.PathAnnotation.Points* + name: Points + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Points_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.Points + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.Points + nameWithType: PathAnnotation.Points +- uid: Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView) + name: Render(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Render_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView) + nameWithType: PathAnnotation.Render(GraphView) +- uid: Terminal.Gui.Graphs.PathAnnotation.Render* + name: Render + href: api/Terminal.Gui/Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Render_ + commentId: Overload:Terminal.Gui.Graphs.PathAnnotation.Render + isSpec: "True" + fullName: Terminal.Gui.Graphs.PathAnnotation.Render + nameWithType: PathAnnotation.Render +- uid: Terminal.Gui.Graphs.ScatterSeries + name: ScatterSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html + commentId: T:Terminal.Gui.Graphs.ScatterSeries + fullName: Terminal.Gui.Graphs.ScatterSeries + nameWithType: ScatterSeries +- uid: Terminal.Gui.Graphs.ScatterSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + name: DrawSeries(GraphView, Rect, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.Graphs.ScatterSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.Graphs.ScatterSeries.DrawSeries(Terminal.Gui.GraphView, Terminal.Gui.Rect, Terminal.Gui.RectangleF) + nameWithType: ScatterSeries.DrawSeries(GraphView, Rect, RectangleF) +- uid: Terminal.Gui.Graphs.ScatterSeries.DrawSeries* + name: DrawSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_DrawSeries_ + commentId: Overload:Terminal.Gui.Graphs.ScatterSeries.DrawSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.ScatterSeries.DrawSeries + nameWithType: ScatterSeries.DrawSeries +- uid: Terminal.Gui.Graphs.ScatterSeries.Fill + name: Fill + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_Fill + commentId: P:Terminal.Gui.Graphs.ScatterSeries.Fill + fullName: Terminal.Gui.Graphs.ScatterSeries.Fill + nameWithType: ScatterSeries.Fill +- uid: Terminal.Gui.Graphs.ScatterSeries.Fill* + name: Fill + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_Fill_ + commentId: Overload:Terminal.Gui.Graphs.ScatterSeries.Fill + isSpec: "True" + fullName: Terminal.Gui.Graphs.ScatterSeries.Fill + nameWithType: ScatterSeries.Fill +- uid: Terminal.Gui.Graphs.ScatterSeries.Points + name: Points + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_Points + commentId: P:Terminal.Gui.Graphs.ScatterSeries.Points + fullName: Terminal.Gui.Graphs.ScatterSeries.Points + nameWithType: ScatterSeries.Points +- uid: Terminal.Gui.Graphs.ScatterSeries.Points* + name: Points + href: api/Terminal.Gui/Terminal.Gui.Graphs.ScatterSeries.html#Terminal_Gui_Graphs_ScatterSeries_Points_ + commentId: Overload:Terminal.Gui.Graphs.ScatterSeries.Points + isSpec: "True" + fullName: Terminal.Gui.Graphs.ScatterSeries.Points + nameWithType: ScatterSeries.Points +- uid: Terminal.Gui.Graphs.TextAnnotation + name: TextAnnotation + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html + commentId: T:Terminal.Gui.Graphs.TextAnnotation + fullName: Terminal.Gui.Graphs.TextAnnotation + nameWithType: TextAnnotation +- uid: Terminal.Gui.Graphs.TextAnnotation.BeforeSeries + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_BeforeSeries + commentId: P:Terminal.Gui.Graphs.TextAnnotation.BeforeSeries + fullName: Terminal.Gui.Graphs.TextAnnotation.BeforeSeries + nameWithType: TextAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.TextAnnotation.BeforeSeries* + name: BeforeSeries + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_BeforeSeries_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.BeforeSeries + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.BeforeSeries + nameWithType: TextAnnotation.BeforeSeries +- uid: Terminal.Gui.Graphs.TextAnnotation.DrawText(Terminal.Gui.GraphView,System.Int32,System.Int32) + name: DrawText(GraphView, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_DrawText_Terminal_Gui_GraphView_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.Graphs.TextAnnotation.DrawText(Terminal.Gui.GraphView,System.Int32,System.Int32) + fullName: Terminal.Gui.Graphs.TextAnnotation.DrawText(Terminal.Gui.GraphView, System.Int32, System.Int32) + nameWithType: TextAnnotation.DrawText(GraphView, Int32, Int32) +- uid: Terminal.Gui.Graphs.TextAnnotation.DrawText* + name: DrawText + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_DrawText_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.DrawText + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.DrawText + nameWithType: TextAnnotation.DrawText +- uid: Terminal.Gui.Graphs.TextAnnotation.GraphPosition + name: GraphPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_GraphPosition + commentId: P:Terminal.Gui.Graphs.TextAnnotation.GraphPosition + fullName: Terminal.Gui.Graphs.TextAnnotation.GraphPosition + nameWithType: TextAnnotation.GraphPosition +- uid: Terminal.Gui.Graphs.TextAnnotation.GraphPosition* + name: GraphPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_GraphPosition_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.GraphPosition + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.GraphPosition + nameWithType: TextAnnotation.GraphPosition +- uid: Terminal.Gui.Graphs.TextAnnotation.Render(Terminal.Gui.GraphView) + name: Render(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_Render_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.TextAnnotation.Render(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.TextAnnotation.Render(Terminal.Gui.GraphView) + nameWithType: TextAnnotation.Render(GraphView) +- uid: Terminal.Gui.Graphs.TextAnnotation.Render* + name: Render + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_Render_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.Render + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.Render + nameWithType: TextAnnotation.Render +- uid: Terminal.Gui.Graphs.TextAnnotation.ScreenPosition + name: ScreenPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_ScreenPosition + commentId: P:Terminal.Gui.Graphs.TextAnnotation.ScreenPosition + fullName: Terminal.Gui.Graphs.TextAnnotation.ScreenPosition + nameWithType: TextAnnotation.ScreenPosition +- uid: Terminal.Gui.Graphs.TextAnnotation.ScreenPosition* + name: ScreenPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_ScreenPosition_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.ScreenPosition + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.ScreenPosition + nameWithType: TextAnnotation.ScreenPosition +- uid: Terminal.Gui.Graphs.TextAnnotation.Text + name: Text + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_Text + commentId: P:Terminal.Gui.Graphs.TextAnnotation.Text + fullName: Terminal.Gui.Graphs.TextAnnotation.Text + nameWithType: TextAnnotation.Text +- uid: Terminal.Gui.Graphs.TextAnnotation.Text* + name: Text + href: api/Terminal.Gui/Terminal.Gui.Graphs.TextAnnotation.html#Terminal_Gui_Graphs_TextAnnotation_Text_ + commentId: Overload:Terminal.Gui.Graphs.TextAnnotation.Text + isSpec: "True" + fullName: Terminal.Gui.Graphs.TextAnnotation.Text + nameWithType: TextAnnotation.Text +- uid: Terminal.Gui.Graphs.VerticalAxis + name: VerticalAxis + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html + commentId: T:Terminal.Gui.Graphs.VerticalAxis + fullName: Terminal.Gui.Graphs.VerticalAxis + nameWithType: VerticalAxis +- uid: Terminal.Gui.Graphs.VerticalAxis.#ctor + name: VerticalAxis() + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis__ctor + commentId: M:Terminal.Gui.Graphs.VerticalAxis.#ctor + fullName: Terminal.Gui.Graphs.VerticalAxis.VerticalAxis() + nameWithType: VerticalAxis.VerticalAxis() +- uid: Terminal.Gui.Graphs.VerticalAxis.#ctor* + name: VerticalAxis + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis__ctor_ + commentId: Overload:Terminal.Gui.Graphs.VerticalAxis.#ctor + isSpec: "True" + fullName: Terminal.Gui.Graphs.VerticalAxis.VerticalAxis + nameWithType: VerticalAxis.VerticalAxis +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + name: DrawAxisLabel(GraphView, Int32, String) + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLabel_Terminal_Gui_GraphView_System_Int32_System_String_ + commentId: M:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String) + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel(Terminal.Gui.GraphView, System.Int32, System.String) + nameWithType: VerticalAxis.DrawAxisLabel(GraphView, Int32, String) +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel* + name: DrawAxisLabel + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLabel_ + commentId: Overload:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel + isSpec: "True" + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabel + nameWithType: VerticalAxis.DrawAxisLabel +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + name: DrawAxisLabels(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLabels_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels(Terminal.Gui.GraphView) + nameWithType: VerticalAxis.DrawAxisLabels(GraphView) +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels* + name: DrawAxisLabels + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLabels_ + commentId: Overload:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels + isSpec: "True" + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLabels + nameWithType: VerticalAxis.DrawAxisLabels +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView) + name: DrawAxisLine(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLine_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView) + nameWithType: VerticalAxis.DrawAxisLine(GraphView) +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + name: DrawAxisLine(GraphView, Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLine_Terminal_Gui_GraphView_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32) + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine(Terminal.Gui.GraphView, System.Int32, System.Int32) + nameWithType: VerticalAxis.DrawAxisLine(GraphView, Int32, Int32) +- uid: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine* + name: DrawAxisLine + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_DrawAxisLine_ + commentId: Overload:Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine + isSpec: "True" + fullName: Terminal.Gui.Graphs.VerticalAxis.DrawAxisLine + nameWithType: VerticalAxis.DrawAxisLine +- uid: Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition(Terminal.Gui.GraphView) + name: GetAxisXPosition(GraphView) + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_GetAxisXPosition_Terminal_Gui_GraphView_ + commentId: M:Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition(Terminal.Gui.GraphView) + fullName: Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition(Terminal.Gui.GraphView) + nameWithType: VerticalAxis.GetAxisXPosition(GraphView) +- uid: Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition* + name: GetAxisXPosition + href: api/Terminal.Gui/Terminal.Gui.Graphs.VerticalAxis.html#Terminal_Gui_Graphs_VerticalAxis_GetAxisXPosition_ + commentId: Overload:Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition + isSpec: "True" + fullName: Terminal.Gui.Graphs.VerticalAxis.GetAxisXPosition + nameWithType: VerticalAxis.GetAxisXPosition +- uid: Terminal.Gui.GraphView + name: GraphView + href: api/Terminal.Gui/Terminal.Gui.GraphView.html + commentId: T:Terminal.Gui.GraphView + fullName: Terminal.Gui.GraphView + nameWithType: GraphView +- uid: Terminal.Gui.GraphView.#ctor + name: GraphView() + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView__ctor + commentId: M:Terminal.Gui.GraphView.#ctor + fullName: Terminal.Gui.GraphView.GraphView() + nameWithType: GraphView.GraphView() +- uid: Terminal.Gui.GraphView.#ctor* + name: GraphView + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView__ctor_ + commentId: Overload:Terminal.Gui.GraphView.#ctor + isSpec: "True" + fullName: Terminal.Gui.GraphView.GraphView + nameWithType: GraphView.GraphView +- uid: Terminal.Gui.GraphView.Annotations + name: Annotations + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Annotations + commentId: P:Terminal.Gui.GraphView.Annotations + fullName: Terminal.Gui.GraphView.Annotations + nameWithType: GraphView.Annotations +- uid: Terminal.Gui.GraphView.Annotations* + name: Annotations + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Annotations_ + commentId: Overload:Terminal.Gui.GraphView.Annotations + isSpec: "True" + fullName: Terminal.Gui.GraphView.Annotations + nameWithType: GraphView.Annotations +- uid: Terminal.Gui.GraphView.AxisX + name: AxisX + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_AxisX + commentId: P:Terminal.Gui.GraphView.AxisX + fullName: Terminal.Gui.GraphView.AxisX + nameWithType: GraphView.AxisX +- uid: Terminal.Gui.GraphView.AxisX* + name: AxisX + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_AxisX_ + commentId: Overload:Terminal.Gui.GraphView.AxisX + isSpec: "True" + fullName: Terminal.Gui.GraphView.AxisX + nameWithType: GraphView.AxisX +- uid: Terminal.Gui.GraphView.AxisY + name: AxisY + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_AxisY + commentId: P:Terminal.Gui.GraphView.AxisY + fullName: Terminal.Gui.GraphView.AxisY + nameWithType: GraphView.AxisY +- uid: Terminal.Gui.GraphView.AxisY* + name: AxisY + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_AxisY_ + commentId: Overload:Terminal.Gui.GraphView.AxisY + isSpec: "True" + fullName: Terminal.Gui.GraphView.AxisY + nameWithType: GraphView.AxisY +- uid: Terminal.Gui.GraphView.CellSize + name: CellSize + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize + commentId: P:Terminal.Gui.GraphView.CellSize + fullName: Terminal.Gui.GraphView.CellSize + nameWithType: GraphView.CellSize +- uid: Terminal.Gui.GraphView.CellSize* + name: CellSize + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize_ + commentId: Overload:Terminal.Gui.GraphView.CellSize + isSpec: "True" + fullName: Terminal.Gui.GraphView.CellSize + nameWithType: GraphView.CellSize +- uid: Terminal.Gui.GraphView.DrawLine(Terminal.Gui.Point,Terminal.Gui.Point,System.Rune) + name: DrawLine(Point, Point, Rune) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_DrawLine_Terminal_Gui_Point_Terminal_Gui_Point_System_Rune_ + commentId: M:Terminal.Gui.GraphView.DrawLine(Terminal.Gui.Point,Terminal.Gui.Point,System.Rune) + fullName: Terminal.Gui.GraphView.DrawLine(Terminal.Gui.Point, Terminal.Gui.Point, System.Rune) + nameWithType: GraphView.DrawLine(Point, Point, Rune) +- uid: Terminal.Gui.GraphView.DrawLine* + name: DrawLine + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_DrawLine_ + commentId: Overload:Terminal.Gui.GraphView.DrawLine + isSpec: "True" + fullName: Terminal.Gui.GraphView.DrawLine + nameWithType: GraphView.DrawLine +- uid: Terminal.Gui.GraphView.GraphColor + name: GraphColor + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_GraphColor + commentId: P:Terminal.Gui.GraphView.GraphColor + fullName: Terminal.Gui.GraphView.GraphColor + nameWithType: GraphView.GraphColor +- uid: Terminal.Gui.GraphView.GraphColor* + name: GraphColor + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_GraphColor_ + commentId: Overload:Terminal.Gui.GraphView.GraphColor + isSpec: "True" + fullName: Terminal.Gui.GraphView.GraphColor + nameWithType: GraphView.GraphColor +- uid: Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF) + name: GraphSpaceToScreen(PointF) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_GraphSpaceToScreen_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF) + fullName: Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF) + nameWithType: GraphView.GraphSpaceToScreen(PointF) +- uid: Terminal.Gui.GraphView.GraphSpaceToScreen* + name: GraphSpaceToScreen + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_GraphSpaceToScreen_ + commentId: Overload:Terminal.Gui.GraphView.GraphSpaceToScreen + isSpec: "True" + fullName: Terminal.Gui.GraphView.GraphSpaceToScreen + nameWithType: GraphView.GraphSpaceToScreen +- uid: Terminal.Gui.GraphView.MarginBottom + name: MarginBottom + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginBottom + commentId: P:Terminal.Gui.GraphView.MarginBottom + fullName: Terminal.Gui.GraphView.MarginBottom + nameWithType: GraphView.MarginBottom +- uid: Terminal.Gui.GraphView.MarginBottom* + name: MarginBottom + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginBottom_ + commentId: Overload:Terminal.Gui.GraphView.MarginBottom + isSpec: "True" + fullName: Terminal.Gui.GraphView.MarginBottom + nameWithType: GraphView.MarginBottom +- uid: Terminal.Gui.GraphView.MarginLeft + name: MarginLeft + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginLeft + commentId: P:Terminal.Gui.GraphView.MarginLeft + fullName: Terminal.Gui.GraphView.MarginLeft + nameWithType: GraphView.MarginLeft +- uid: Terminal.Gui.GraphView.MarginLeft* + name: MarginLeft + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginLeft_ + commentId: Overload:Terminal.Gui.GraphView.MarginLeft + isSpec: "True" + fullName: Terminal.Gui.GraphView.MarginLeft + nameWithType: GraphView.MarginLeft +- uid: Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent) + name: ProcessKey(KeyEvent) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ProcessKey_Terminal_Gui_KeyEvent_ + commentId: M:Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent) + fullName: Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent) + nameWithType: GraphView.ProcessKey(KeyEvent) +- uid: Terminal.Gui.GraphView.ProcessKey* + name: ProcessKey + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ProcessKey_ + commentId: Overload:Terminal.Gui.GraphView.ProcessKey + isSpec: "True" + fullName: Terminal.Gui.GraphView.ProcessKey + nameWithType: GraphView.ProcessKey +- uid: Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect) + name: Redraw(Rect) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Redraw_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect) + fullName: Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect) + nameWithType: GraphView.Redraw(Rect) +- uid: Terminal.Gui.GraphView.Redraw* + name: Redraw + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Redraw_ + commentId: Overload:Terminal.Gui.GraphView.Redraw + isSpec: "True" + fullName: Terminal.Gui.GraphView.Redraw + nameWithType: GraphView.Redraw +- uid: Terminal.Gui.GraphView.Reset + name: Reset() + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Reset + commentId: M:Terminal.Gui.GraphView.Reset + fullName: Terminal.Gui.GraphView.Reset() + nameWithType: GraphView.Reset() +- uid: Terminal.Gui.GraphView.Reset* + name: Reset + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Reset_ + commentId: Overload:Terminal.Gui.GraphView.Reset + isSpec: "True" + fullName: Terminal.Gui.GraphView.Reset + nameWithType: GraphView.Reset +- uid: Terminal.Gui.GraphView.ScreenToGraphSpace(System.Int32,System.Int32) + name: ScreenToGraphSpace(Int32, Int32) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScreenToGraphSpace_System_Int32_System_Int32_ + commentId: M:Terminal.Gui.GraphView.ScreenToGraphSpace(System.Int32,System.Int32) + fullName: Terminal.Gui.GraphView.ScreenToGraphSpace(System.Int32, System.Int32) + nameWithType: GraphView.ScreenToGraphSpace(Int32, Int32) +- uid: Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect) + name: ScreenToGraphSpace(Rect) + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScreenToGraphSpace_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect) + fullName: Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect) + nameWithType: GraphView.ScreenToGraphSpace(Rect) +- uid: Terminal.Gui.GraphView.ScreenToGraphSpace* + name: ScreenToGraphSpace + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScreenToGraphSpace_ + commentId: Overload:Terminal.Gui.GraphView.ScreenToGraphSpace + isSpec: "True" + fullName: Terminal.Gui.GraphView.ScreenToGraphSpace + nameWithType: GraphView.ScreenToGraphSpace +- uid: Terminal.Gui.GraphView.ScrollOffset + name: ScrollOffset + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScrollOffset + commentId: P:Terminal.Gui.GraphView.ScrollOffset + fullName: Terminal.Gui.GraphView.ScrollOffset + nameWithType: GraphView.ScrollOffset +- uid: Terminal.Gui.GraphView.ScrollOffset* + name: ScrollOffset + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScrollOffset_ + commentId: Overload:Terminal.Gui.GraphView.ScrollOffset + isSpec: "True" + fullName: Terminal.Gui.GraphView.ScrollOffset + nameWithType: GraphView.ScrollOffset +- uid: Terminal.Gui.GraphView.Series + name: Series + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Series + commentId: P:Terminal.Gui.GraphView.Series + fullName: Terminal.Gui.GraphView.Series + nameWithType: GraphView.Series +- uid: Terminal.Gui.GraphView.Series* + name: Series + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Series_ + commentId: Overload:Terminal.Gui.GraphView.Series + isSpec: "True" + fullName: Terminal.Gui.GraphView.Series + nameWithType: GraphView.Series +- uid: Terminal.Gui.GraphView.SetDriverColorToGraphColor + name: SetDriverColorToGraphColor() + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_SetDriverColorToGraphColor + commentId: M:Terminal.Gui.GraphView.SetDriverColorToGraphColor + fullName: Terminal.Gui.GraphView.SetDriverColorToGraphColor() + nameWithType: GraphView.SetDriverColorToGraphColor() +- uid: Terminal.Gui.GraphView.SetDriverColorToGraphColor* + name: SetDriverColorToGraphColor + href: api/Terminal.Gui/Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_SetDriverColorToGraphColor_ + commentId: Overload:Terminal.Gui.GraphView.SetDriverColorToGraphColor + isSpec: "True" + fullName: Terminal.Gui.GraphView.SetDriverColorToGraphColor + nameWithType: GraphView.SetDriverColorToGraphColor - uid: Terminal.Gui.HexView name: HexView href: api/Terminal.Gui/Terminal.Gui.HexView.html @@ -7047,6 +8413,217 @@ references: commentId: F:Terminal.Gui.Point.Y fullName: Terminal.Gui.Point.Y nameWithType: Point.Y +- uid: Terminal.Gui.PointF + name: PointF + href: api/Terminal.Gui/Terminal.Gui.PointF.html + commentId: T:Terminal.Gui.PointF + fullName: Terminal.Gui.PointF + nameWithType: PointF +- uid: Terminal.Gui.PointF.#ctor(System.Single,System.Single) + name: PointF(Single, Single) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF__ctor_System_Single_System_Single_ + commentId: M:Terminal.Gui.PointF.#ctor(System.Single,System.Single) + fullName: Terminal.Gui.PointF.PointF(System.Single, System.Single) + nameWithType: PointF.PointF(Single, Single) +- uid: Terminal.Gui.PointF.#ctor* + name: PointF + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF__ctor_ + commentId: Overload:Terminal.Gui.PointF.#ctor + isSpec: "True" + fullName: Terminal.Gui.PointF.PointF + nameWithType: PointF.PointF +- uid: Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.Size) + name: Add(PointF, Size) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Add_Terminal_Gui_PointF_Terminal_Gui_Size_ + commentId: M:Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.Size) + fullName: Terminal.Gui.PointF.Add(Terminal.Gui.PointF, Terminal.Gui.Size) + nameWithType: PointF.Add(PointF, Size) +- uid: Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.SizeF) + name: Add(PointF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Add_Terminal_Gui_PointF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.PointF.Add(Terminal.Gui.PointF, Terminal.Gui.SizeF) + nameWithType: PointF.Add(PointF, SizeF) +- uid: Terminal.Gui.PointF.Add* + name: Add + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Add_ + commentId: Overload:Terminal.Gui.PointF.Add + isSpec: "True" + fullName: Terminal.Gui.PointF.Add + nameWithType: PointF.Add +- uid: Terminal.Gui.PointF.Empty + name: Empty + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Empty + commentId: F:Terminal.Gui.PointF.Empty + fullName: Terminal.Gui.PointF.Empty + nameWithType: PointF.Empty +- uid: Terminal.Gui.PointF.Equals(System.Object) + name: Equals(Object) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Equals_System_Object_ + commentId: M:Terminal.Gui.PointF.Equals(System.Object) + fullName: Terminal.Gui.PointF.Equals(System.Object) + nameWithType: PointF.Equals(Object) +- uid: Terminal.Gui.PointF.Equals(Terminal.Gui.PointF) + name: Equals(PointF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Equals_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.PointF.Equals(Terminal.Gui.PointF) + fullName: Terminal.Gui.PointF.Equals(Terminal.Gui.PointF) + nameWithType: PointF.Equals(PointF) +- uid: Terminal.Gui.PointF.Equals* + name: Equals + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Equals_ + commentId: Overload:Terminal.Gui.PointF.Equals + isSpec: "True" + fullName: Terminal.Gui.PointF.Equals + nameWithType: PointF.Equals +- uid: Terminal.Gui.PointF.GetHashCode + name: GetHashCode() + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_GetHashCode + commentId: M:Terminal.Gui.PointF.GetHashCode + fullName: Terminal.Gui.PointF.GetHashCode() + nameWithType: PointF.GetHashCode() +- uid: Terminal.Gui.PointF.GetHashCode* + name: GetHashCode + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_GetHashCode_ + commentId: Overload:Terminal.Gui.PointF.GetHashCode + isSpec: "True" + fullName: Terminal.Gui.PointF.GetHashCode + nameWithType: PointF.GetHashCode +- uid: Terminal.Gui.PointF.IsEmpty + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_IsEmpty + commentId: P:Terminal.Gui.PointF.IsEmpty + fullName: Terminal.Gui.PointF.IsEmpty + nameWithType: PointF.IsEmpty +- uid: Terminal.Gui.PointF.IsEmpty* + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_IsEmpty_ + commentId: Overload:Terminal.Gui.PointF.IsEmpty + isSpec: "True" + fullName: Terminal.Gui.PointF.IsEmpty + nameWithType: PointF.IsEmpty +- uid: Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.Size) + name: Addition(PointF, Size) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Addition_Terminal_Gui_PointF_Terminal_Gui_Size_ + commentId: M:Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.Size) + fullName: Terminal.Gui.PointF.Addition(Terminal.Gui.PointF, Terminal.Gui.Size) + nameWithType: PointF.Addition(PointF, Size) +- uid: Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.SizeF) + name: Addition(PointF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Addition_Terminal_Gui_PointF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.PointF.Addition(Terminal.Gui.PointF, Terminal.Gui.SizeF) + nameWithType: PointF.Addition(PointF, SizeF) +- uid: Terminal.Gui.PointF.op_Addition* + name: Addition + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Addition_ + commentId: Overload:Terminal.Gui.PointF.op_Addition + isSpec: "True" + fullName: Terminal.Gui.PointF.Addition + nameWithType: PointF.Addition +- uid: Terminal.Gui.PointF.op_Equality(Terminal.Gui.PointF,Terminal.Gui.PointF) + name: Equality(PointF, PointF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Equality_Terminal_Gui_PointF_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.PointF.op_Equality(Terminal.Gui.PointF,Terminal.Gui.PointF) + fullName: Terminal.Gui.PointF.Equality(Terminal.Gui.PointF, Terminal.Gui.PointF) + nameWithType: PointF.Equality(PointF, PointF) +- uid: Terminal.Gui.PointF.op_Equality* + name: Equality + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Equality_ + commentId: Overload:Terminal.Gui.PointF.op_Equality + isSpec: "True" + fullName: Terminal.Gui.PointF.Equality + nameWithType: PointF.Equality +- uid: Terminal.Gui.PointF.op_Inequality(Terminal.Gui.PointF,Terminal.Gui.PointF) + name: Inequality(PointF, PointF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Inequality_Terminal_Gui_PointF_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.PointF.op_Inequality(Terminal.Gui.PointF,Terminal.Gui.PointF) + fullName: Terminal.Gui.PointF.Inequality(Terminal.Gui.PointF, Terminal.Gui.PointF) + nameWithType: PointF.Inequality(PointF, PointF) +- uid: Terminal.Gui.PointF.op_Inequality* + name: Inequality + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Inequality_ + commentId: Overload:Terminal.Gui.PointF.op_Inequality + isSpec: "True" + fullName: Terminal.Gui.PointF.Inequality + nameWithType: PointF.Inequality +- uid: Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.Size) + name: Subtraction(PointF, Size) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Subtraction_Terminal_Gui_PointF_Terminal_Gui_Size_ + commentId: M:Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.Size) + fullName: Terminal.Gui.PointF.Subtraction(Terminal.Gui.PointF, Terminal.Gui.Size) + nameWithType: PointF.Subtraction(PointF, Size) +- uid: Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.SizeF) + name: Subtraction(PointF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Subtraction_Terminal_Gui_PointF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.PointF.Subtraction(Terminal.Gui.PointF, Terminal.Gui.SizeF) + nameWithType: PointF.Subtraction(PointF, SizeF) +- uid: Terminal.Gui.PointF.op_Subtraction* + name: Subtraction + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_op_Subtraction_ + commentId: Overload:Terminal.Gui.PointF.op_Subtraction + isSpec: "True" + fullName: Terminal.Gui.PointF.Subtraction + nameWithType: PointF.Subtraction +- uid: Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.Size) + name: Subtract(PointF, Size) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Subtract_Terminal_Gui_PointF_Terminal_Gui_Size_ + commentId: M:Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.Size) + fullName: Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF, Terminal.Gui.Size) + nameWithType: PointF.Subtract(PointF, Size) +- uid: Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.SizeF) + name: Subtract(PointF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Subtract_Terminal_Gui_PointF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF, Terminal.Gui.SizeF) + nameWithType: PointF.Subtract(PointF, SizeF) +- uid: Terminal.Gui.PointF.Subtract* + name: Subtract + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Subtract_ + commentId: Overload:Terminal.Gui.PointF.Subtract + isSpec: "True" + fullName: Terminal.Gui.PointF.Subtract + nameWithType: PointF.Subtract +- uid: Terminal.Gui.PointF.ToString + name: ToString() + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_ToString + commentId: M:Terminal.Gui.PointF.ToString + fullName: Terminal.Gui.PointF.ToString() + nameWithType: PointF.ToString() +- uid: Terminal.Gui.PointF.ToString* + name: ToString + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_ToString_ + commentId: Overload:Terminal.Gui.PointF.ToString + isSpec: "True" + fullName: Terminal.Gui.PointF.ToString + nameWithType: PointF.ToString +- uid: Terminal.Gui.PointF.X + name: X + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_X + commentId: P:Terminal.Gui.PointF.X + fullName: Terminal.Gui.PointF.X + nameWithType: PointF.X +- uid: Terminal.Gui.PointF.X* + name: X + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_X_ + commentId: Overload:Terminal.Gui.PointF.X + isSpec: "True" + fullName: Terminal.Gui.PointF.X + nameWithType: PointF.X +- uid: Terminal.Gui.PointF.Y + name: Y + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y + commentId: P:Terminal.Gui.PointF.Y + fullName: Terminal.Gui.PointF.Y + nameWithType: PointF.Y +- uid: Terminal.Gui.PointF.Y* + name: Y + href: api/Terminal.Gui/Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y_ + commentId: Overload:Terminal.Gui.PointF.Y + isSpec: "True" + fullName: Terminal.Gui.PointF.Y + nameWithType: PointF.Y - uid: Terminal.Gui.Pos name: Pos href: api/Terminal.Gui/Terminal.Gui.Pos.html @@ -7910,6 +9487,397 @@ references: commentId: F:Terminal.Gui.Rect.Y fullName: Terminal.Gui.Rect.Y nameWithType: Rect.Y +- uid: Terminal.Gui.RectangleF + name: RectangleF + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html + commentId: T:Terminal.Gui.RectangleF + fullName: Terminal.Gui.RectangleF + nameWithType: RectangleF +- uid: Terminal.Gui.RectangleF.#ctor(System.Single,System.Single,System.Single,System.Single) + name: RectangleF(Single, Single, Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF__ctor_System_Single_System_Single_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.#ctor(System.Single,System.Single,System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.RectangleF(System.Single, System.Single, System.Single, System.Single) + nameWithType: RectangleF.RectangleF(Single, Single, Single, Single) +- uid: Terminal.Gui.RectangleF.#ctor(Terminal.Gui.PointF,Terminal.Gui.SizeF) + name: RectangleF(PointF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF__ctor_Terminal_Gui_PointF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.RectangleF.#ctor(Terminal.Gui.PointF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.RectangleF.RectangleF(Terminal.Gui.PointF, Terminal.Gui.SizeF) + nameWithType: RectangleF.RectangleF(PointF, SizeF) +- uid: Terminal.Gui.RectangleF.#ctor* + name: RectangleF + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF__ctor_ + commentId: Overload:Terminal.Gui.RectangleF.#ctor + isSpec: "True" + fullName: Terminal.Gui.RectangleF.RectangleF + nameWithType: RectangleF.RectangleF +- uid: Terminal.Gui.RectangleF.Bottom + name: Bottom + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Bottom + commentId: P:Terminal.Gui.RectangleF.Bottom + fullName: Terminal.Gui.RectangleF.Bottom + nameWithType: RectangleF.Bottom +- uid: Terminal.Gui.RectangleF.Bottom* + name: Bottom + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Bottom_ + commentId: Overload:Terminal.Gui.RectangleF.Bottom + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Bottom + nameWithType: RectangleF.Bottom +- uid: Terminal.Gui.RectangleF.Contains(System.Single,System.Single) + name: Contains(Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Contains_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.Contains(System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.Contains(System.Single, System.Single) + nameWithType: RectangleF.Contains(Single, Single) +- uid: Terminal.Gui.RectangleF.Contains(Terminal.Gui.PointF) + name: Contains(PointF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Contains_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.RectangleF.Contains(Terminal.Gui.PointF) + fullName: Terminal.Gui.RectangleF.Contains(Terminal.Gui.PointF) + nameWithType: RectangleF.Contains(PointF) +- uid: Terminal.Gui.RectangleF.Contains(Terminal.Gui.RectangleF) + name: Contains(RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Contains_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.Contains(Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Contains(Terminal.Gui.RectangleF) + nameWithType: RectangleF.Contains(RectangleF) +- uid: Terminal.Gui.RectangleF.Contains* + name: Contains + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Contains_ + commentId: Overload:Terminal.Gui.RectangleF.Contains + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Contains + nameWithType: RectangleF.Contains +- uid: Terminal.Gui.RectangleF.Empty + name: Empty + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Empty + commentId: F:Terminal.Gui.RectangleF.Empty + fullName: Terminal.Gui.RectangleF.Empty + nameWithType: RectangleF.Empty +- uid: Terminal.Gui.RectangleF.Equals(System.Object) + name: Equals(Object) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Equals_System_Object_ + commentId: M:Terminal.Gui.RectangleF.Equals(System.Object) + fullName: Terminal.Gui.RectangleF.Equals(System.Object) + nameWithType: RectangleF.Equals(Object) +- uid: Terminal.Gui.RectangleF.Equals(Terminal.Gui.RectangleF) + name: Equals(RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Equals_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.Equals(Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Equals(Terminal.Gui.RectangleF) + nameWithType: RectangleF.Equals(RectangleF) +- uid: Terminal.Gui.RectangleF.Equals* + name: Equals + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Equals_ + commentId: Overload:Terminal.Gui.RectangleF.Equals + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Equals + nameWithType: RectangleF.Equals +- uid: Terminal.Gui.RectangleF.FromLTRB(System.Single,System.Single,System.Single,System.Single) + name: FromLTRB(Single, Single, Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_FromLTRB_System_Single_System_Single_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.FromLTRB(System.Single,System.Single,System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.FromLTRB(System.Single, System.Single, System.Single, System.Single) + nameWithType: RectangleF.FromLTRB(Single, Single, Single, Single) +- uid: Terminal.Gui.RectangleF.FromLTRB* + name: FromLTRB + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_FromLTRB_ + commentId: Overload:Terminal.Gui.RectangleF.FromLTRB + isSpec: "True" + fullName: Terminal.Gui.RectangleF.FromLTRB + nameWithType: RectangleF.FromLTRB +- uid: Terminal.Gui.RectangleF.GetHashCode + name: GetHashCode() + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_GetHashCode + commentId: M:Terminal.Gui.RectangleF.GetHashCode + fullName: Terminal.Gui.RectangleF.GetHashCode() + nameWithType: RectangleF.GetHashCode() +- uid: Terminal.Gui.RectangleF.GetHashCode* + name: GetHashCode + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_GetHashCode_ + commentId: Overload:Terminal.Gui.RectangleF.GetHashCode + isSpec: "True" + fullName: Terminal.Gui.RectangleF.GetHashCode + nameWithType: RectangleF.GetHashCode +- uid: Terminal.Gui.RectangleF.Height + name: Height + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Height + commentId: P:Terminal.Gui.RectangleF.Height + fullName: Terminal.Gui.RectangleF.Height + nameWithType: RectangleF.Height +- uid: Terminal.Gui.RectangleF.Height* + name: Height + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Height_ + commentId: Overload:Terminal.Gui.RectangleF.Height + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Height + nameWithType: RectangleF.Height +- uid: Terminal.Gui.RectangleF.Inflate(System.Single,System.Single) + name: Inflate(Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Inflate_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.Inflate(System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.Inflate(System.Single, System.Single) + nameWithType: RectangleF.Inflate(Single, Single) +- uid: Terminal.Gui.RectangleF.Inflate(Terminal.Gui.RectangleF,System.Single,System.Single) + name: Inflate(RectangleF, Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Inflate_Terminal_Gui_RectangleF_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.Inflate(Terminal.Gui.RectangleF,System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.Inflate(Terminal.Gui.RectangleF, System.Single, System.Single) + nameWithType: RectangleF.Inflate(RectangleF, Single, Single) +- uid: Terminal.Gui.RectangleF.Inflate(Terminal.Gui.SizeF) + name: Inflate(SizeF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Inflate_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.RectangleF.Inflate(Terminal.Gui.SizeF) + fullName: Terminal.Gui.RectangleF.Inflate(Terminal.Gui.SizeF) + nameWithType: RectangleF.Inflate(SizeF) +- uid: Terminal.Gui.RectangleF.Inflate* + name: Inflate + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Inflate_ + commentId: Overload:Terminal.Gui.RectangleF.Inflate + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Inflate + nameWithType: RectangleF.Inflate +- uid: Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF) + name: Intersect(RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Intersect_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF) + nameWithType: RectangleF.Intersect(RectangleF) +- uid: Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + name: Intersect(RectangleF, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Intersect_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF, Terminal.Gui.RectangleF) + nameWithType: RectangleF.Intersect(RectangleF, RectangleF) +- uid: Terminal.Gui.RectangleF.Intersect* + name: Intersect + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Intersect_ + commentId: Overload:Terminal.Gui.RectangleF.Intersect + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Intersect + nameWithType: RectangleF.Intersect +- uid: Terminal.Gui.RectangleF.IntersectsWith(Terminal.Gui.RectangleF) + name: IntersectsWith(RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_IntersectsWith_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.IntersectsWith(Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.IntersectsWith(Terminal.Gui.RectangleF) + nameWithType: RectangleF.IntersectsWith(RectangleF) +- uid: Terminal.Gui.RectangleF.IntersectsWith* + name: IntersectsWith + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_IntersectsWith_ + commentId: Overload:Terminal.Gui.RectangleF.IntersectsWith + isSpec: "True" + fullName: Terminal.Gui.RectangleF.IntersectsWith + nameWithType: RectangleF.IntersectsWith +- uid: Terminal.Gui.RectangleF.IsEmpty + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_IsEmpty + commentId: P:Terminal.Gui.RectangleF.IsEmpty + fullName: Terminal.Gui.RectangleF.IsEmpty + nameWithType: RectangleF.IsEmpty +- uid: Terminal.Gui.RectangleF.IsEmpty* + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_IsEmpty_ + commentId: Overload:Terminal.Gui.RectangleF.IsEmpty + isSpec: "True" + fullName: Terminal.Gui.RectangleF.IsEmpty + nameWithType: RectangleF.IsEmpty +- uid: Terminal.Gui.RectangleF.Left + name: Left + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Left + commentId: P:Terminal.Gui.RectangleF.Left + fullName: Terminal.Gui.RectangleF.Left + nameWithType: RectangleF.Left +- uid: Terminal.Gui.RectangleF.Left* + name: Left + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Left_ + commentId: Overload:Terminal.Gui.RectangleF.Left + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Left + nameWithType: RectangleF.Left +- uid: Terminal.Gui.RectangleF.Location + name: Location + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Location + commentId: P:Terminal.Gui.RectangleF.Location + fullName: Terminal.Gui.RectangleF.Location + nameWithType: RectangleF.Location +- uid: Terminal.Gui.RectangleF.Location* + name: Location + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Location_ + commentId: Overload:Terminal.Gui.RectangleF.Location + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Location + nameWithType: RectangleF.Location +- uid: Terminal.Gui.RectangleF.Offset(System.Single,System.Single) + name: Offset(Single, Single) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Offset_System_Single_System_Single_ + commentId: M:Terminal.Gui.RectangleF.Offset(System.Single,System.Single) + fullName: Terminal.Gui.RectangleF.Offset(System.Single, System.Single) + nameWithType: RectangleF.Offset(Single, Single) +- uid: Terminal.Gui.RectangleF.Offset(Terminal.Gui.PointF) + name: Offset(PointF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Offset_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.RectangleF.Offset(Terminal.Gui.PointF) + fullName: Terminal.Gui.RectangleF.Offset(Terminal.Gui.PointF) + nameWithType: RectangleF.Offset(PointF) +- uid: Terminal.Gui.RectangleF.Offset* + name: Offset + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Offset_ + commentId: Overload:Terminal.Gui.RectangleF.Offset + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Offset + nameWithType: RectangleF.Offset +- uid: Terminal.Gui.RectangleF.op_Equality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + name: Equality(RectangleF, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Equality_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.op_Equality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Equality(Terminal.Gui.RectangleF, Terminal.Gui.RectangleF) + nameWithType: RectangleF.Equality(RectangleF, RectangleF) +- uid: Terminal.Gui.RectangleF.op_Equality* + name: Equality + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Equality_ + commentId: Overload:Terminal.Gui.RectangleF.op_Equality + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Equality + nameWithType: RectangleF.Equality +- uid: Terminal.Gui.RectangleF.op_Implicit(Terminal.Gui.Rect)~Terminal.Gui.RectangleF + name: Implicit(Rect to RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Implicit_Terminal_Gui_Rect__Terminal_Gui_RectangleF + commentId: M:Terminal.Gui.RectangleF.op_Implicit(Terminal.Gui.Rect)~Terminal.Gui.RectangleF + name.vb: Widening(Rect to RectangleF) + fullName: Terminal.Gui.RectangleF.Implicit(Terminal.Gui.Rect to Terminal.Gui.RectangleF) + fullName.vb: Terminal.Gui.RectangleF.Widening(Terminal.Gui.Rect to Terminal.Gui.RectangleF) + nameWithType: RectangleF.Implicit(Rect to RectangleF) + nameWithType.vb: RectangleF.Widening(Rect to RectangleF) +- uid: Terminal.Gui.RectangleF.op_Implicit* + name: Implicit + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Implicit_ + commentId: Overload:Terminal.Gui.RectangleF.op_Implicit + isSpec: "True" + name.vb: Widening + fullName: Terminal.Gui.RectangleF.Implicit + fullName.vb: Terminal.Gui.RectangleF.Widening + nameWithType: RectangleF.Implicit + nameWithType.vb: RectangleF.Widening +- uid: Terminal.Gui.RectangleF.op_Inequality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + name: Inequality(RectangleF, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Inequality_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.op_Inequality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Inequality(Terminal.Gui.RectangleF, Terminal.Gui.RectangleF) + nameWithType: RectangleF.Inequality(RectangleF, RectangleF) +- uid: Terminal.Gui.RectangleF.op_Inequality* + name: Inequality + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_op_Inequality_ + commentId: Overload:Terminal.Gui.RectangleF.op_Inequality + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Inequality + nameWithType: RectangleF.Inequality +- uid: Terminal.Gui.RectangleF.Right + name: Right + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Right + commentId: P:Terminal.Gui.RectangleF.Right + fullName: Terminal.Gui.RectangleF.Right + nameWithType: RectangleF.Right +- uid: Terminal.Gui.RectangleF.Right* + name: Right + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Right_ + commentId: Overload:Terminal.Gui.RectangleF.Right + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Right + nameWithType: RectangleF.Right +- uid: Terminal.Gui.RectangleF.Size + name: Size + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Size + commentId: P:Terminal.Gui.RectangleF.Size + fullName: Terminal.Gui.RectangleF.Size + nameWithType: RectangleF.Size +- uid: Terminal.Gui.RectangleF.Size* + name: Size + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Size_ + commentId: Overload:Terminal.Gui.RectangleF.Size + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Size + nameWithType: RectangleF.Size +- uid: Terminal.Gui.RectangleF.Top + name: Top + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Top + commentId: P:Terminal.Gui.RectangleF.Top + fullName: Terminal.Gui.RectangleF.Top + nameWithType: RectangleF.Top +- uid: Terminal.Gui.RectangleF.Top* + name: Top + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Top_ + commentId: Overload:Terminal.Gui.RectangleF.Top + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Top + nameWithType: RectangleF.Top +- uid: Terminal.Gui.RectangleF.ToString + name: ToString() + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_ToString + commentId: M:Terminal.Gui.RectangleF.ToString + fullName: Terminal.Gui.RectangleF.ToString() + nameWithType: RectangleF.ToString() +- uid: Terminal.Gui.RectangleF.ToString* + name: ToString + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_ToString_ + commentId: Overload:Terminal.Gui.RectangleF.ToString + isSpec: "True" + fullName: Terminal.Gui.RectangleF.ToString + nameWithType: RectangleF.ToString +- uid: Terminal.Gui.RectangleF.Union(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + name: Union(RectangleF, RectangleF) + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Union_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_ + commentId: M:Terminal.Gui.RectangleF.Union(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF) + fullName: Terminal.Gui.RectangleF.Union(Terminal.Gui.RectangleF, Terminal.Gui.RectangleF) + nameWithType: RectangleF.Union(RectangleF, RectangleF) +- uid: Terminal.Gui.RectangleF.Union* + name: Union + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Union_ + commentId: Overload:Terminal.Gui.RectangleF.Union + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Union + nameWithType: RectangleF.Union +- uid: Terminal.Gui.RectangleF.Width + name: Width + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Width + commentId: P:Terminal.Gui.RectangleF.Width + fullName: Terminal.Gui.RectangleF.Width + nameWithType: RectangleF.Width +- uid: Terminal.Gui.RectangleF.Width* + name: Width + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Width_ + commentId: Overload:Terminal.Gui.RectangleF.Width + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Width + nameWithType: RectangleF.Width +- uid: Terminal.Gui.RectangleF.X + name: X + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_X + commentId: P:Terminal.Gui.RectangleF.X + fullName: Terminal.Gui.RectangleF.X + nameWithType: RectangleF.X +- uid: Terminal.Gui.RectangleF.X* + name: X + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_X_ + commentId: Overload:Terminal.Gui.RectangleF.X + isSpec: "True" + fullName: Terminal.Gui.RectangleF.X + nameWithType: RectangleF.X +- uid: Terminal.Gui.RectangleF.Y + name: Y + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Y + commentId: P:Terminal.Gui.RectangleF.Y + fullName: Terminal.Gui.RectangleF.Y + nameWithType: RectangleF.Y +- uid: Terminal.Gui.RectangleF.Y* + name: Y + href: api/Terminal.Gui/Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Y_ + commentId: Overload:Terminal.Gui.RectangleF.Y + isSpec: "True" + fullName: Terminal.Gui.RectangleF.Y + nameWithType: RectangleF.Y - uid: Terminal.Gui.Responder name: Responder href: api/Terminal.Gui/Terminal.Gui.Responder.html @@ -8964,6 +10932,256 @@ references: isSpec: "True" fullName: Terminal.Gui.Size.Width nameWithType: Size.Width +- uid: Terminal.Gui.SizeF + name: SizeF + href: api/Terminal.Gui/Terminal.Gui.SizeF.html + commentId: T:Terminal.Gui.SizeF + fullName: Terminal.Gui.SizeF + nameWithType: SizeF +- uid: Terminal.Gui.SizeF.#ctor(System.Single,System.Single) + name: SizeF(Single, Single) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF__ctor_System_Single_System_Single_ + commentId: M:Terminal.Gui.SizeF.#ctor(System.Single,System.Single) + fullName: Terminal.Gui.SizeF.SizeF(System.Single, System.Single) + nameWithType: SizeF.SizeF(Single, Single) +- uid: Terminal.Gui.SizeF.#ctor(Terminal.Gui.PointF) + name: SizeF(PointF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF__ctor_Terminal_Gui_PointF_ + commentId: M:Terminal.Gui.SizeF.#ctor(Terminal.Gui.PointF) + fullName: Terminal.Gui.SizeF.SizeF(Terminal.Gui.PointF) + nameWithType: SizeF.SizeF(PointF) +- uid: Terminal.Gui.SizeF.#ctor(Terminal.Gui.SizeF) + name: SizeF(SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF__ctor_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.#ctor(Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.SizeF(Terminal.Gui.SizeF) + nameWithType: SizeF.SizeF(SizeF) +- uid: Terminal.Gui.SizeF.#ctor* + name: SizeF + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF__ctor_ + commentId: Overload:Terminal.Gui.SizeF.#ctor + isSpec: "True" + fullName: Terminal.Gui.SizeF.SizeF + nameWithType: SizeF.SizeF +- uid: Terminal.Gui.SizeF.Add(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Add(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Add_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.Add(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Add(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Add(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.Add* + name: Add + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Add_ + commentId: Overload:Terminal.Gui.SizeF.Add + isSpec: "True" + fullName: Terminal.Gui.SizeF.Add + nameWithType: SizeF.Add +- uid: Terminal.Gui.SizeF.Empty + name: Empty + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Empty + commentId: F:Terminal.Gui.SizeF.Empty + fullName: Terminal.Gui.SizeF.Empty + nameWithType: SizeF.Empty +- uid: Terminal.Gui.SizeF.Equals(System.Object) + name: Equals(Object) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Equals_System_Object_ + commentId: M:Terminal.Gui.SizeF.Equals(System.Object) + fullName: Terminal.Gui.SizeF.Equals(System.Object) + nameWithType: SizeF.Equals(Object) +- uid: Terminal.Gui.SizeF.Equals(Terminal.Gui.SizeF) + name: Equals(SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Equals_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.Equals(Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Equals(Terminal.Gui.SizeF) + nameWithType: SizeF.Equals(SizeF) +- uid: Terminal.Gui.SizeF.Equals* + name: Equals + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Equals_ + commentId: Overload:Terminal.Gui.SizeF.Equals + isSpec: "True" + fullName: Terminal.Gui.SizeF.Equals + nameWithType: SizeF.Equals +- uid: Terminal.Gui.SizeF.GetHashCode + name: GetHashCode() + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_GetHashCode + commentId: M:Terminal.Gui.SizeF.GetHashCode + fullName: Terminal.Gui.SizeF.GetHashCode() + nameWithType: SizeF.GetHashCode() +- uid: Terminal.Gui.SizeF.GetHashCode* + name: GetHashCode + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_GetHashCode_ + commentId: Overload:Terminal.Gui.SizeF.GetHashCode + isSpec: "True" + fullName: Terminal.Gui.SizeF.GetHashCode + nameWithType: SizeF.GetHashCode +- uid: Terminal.Gui.SizeF.Height + name: Height + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Height + commentId: P:Terminal.Gui.SizeF.Height + fullName: Terminal.Gui.SizeF.Height + nameWithType: SizeF.Height +- uid: Terminal.Gui.SizeF.Height* + name: Height + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Height_ + commentId: Overload:Terminal.Gui.SizeF.Height + isSpec: "True" + fullName: Terminal.Gui.SizeF.Height + nameWithType: SizeF.Height +- uid: Terminal.Gui.SizeF.IsEmpty + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_IsEmpty + commentId: P:Terminal.Gui.SizeF.IsEmpty + fullName: Terminal.Gui.SizeF.IsEmpty + nameWithType: SizeF.IsEmpty +- uid: Terminal.Gui.SizeF.IsEmpty* + name: IsEmpty + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_IsEmpty_ + commentId: Overload:Terminal.Gui.SizeF.IsEmpty + isSpec: "True" + fullName: Terminal.Gui.SizeF.IsEmpty + nameWithType: SizeF.IsEmpty +- uid: Terminal.Gui.SizeF.op_Addition(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Addition(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Addition_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.op_Addition(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Addition(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Addition(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.op_Addition* + name: Addition + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Addition_ + commentId: Overload:Terminal.Gui.SizeF.op_Addition + isSpec: "True" + fullName: Terminal.Gui.SizeF.Addition + nameWithType: SizeF.Addition +- uid: Terminal.Gui.SizeF.op_Division(Terminal.Gui.SizeF,System.Single) + name: Division(SizeF, Single) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Division_Terminal_Gui_SizeF_System_Single_ + commentId: M:Terminal.Gui.SizeF.op_Division(Terminal.Gui.SizeF,System.Single) + fullName: Terminal.Gui.SizeF.Division(Terminal.Gui.SizeF, System.Single) + nameWithType: SizeF.Division(SizeF, Single) +- uid: Terminal.Gui.SizeF.op_Division* + name: Division + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Division_ + commentId: Overload:Terminal.Gui.SizeF.op_Division + isSpec: "True" + fullName: Terminal.Gui.SizeF.Division + nameWithType: SizeF.Division +- uid: Terminal.Gui.SizeF.op_Equality(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Equality(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Equality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.op_Equality(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Equality(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Equality(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.op_Equality* + name: Equality + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Equality_ + commentId: Overload:Terminal.Gui.SizeF.op_Equality + isSpec: "True" + fullName: Terminal.Gui.SizeF.Equality + nameWithType: SizeF.Equality +- uid: Terminal.Gui.SizeF.op_Explicit(Terminal.Gui.SizeF)~Terminal.Gui.PointF + name: Explicit(SizeF to PointF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Explicit_Terminal_Gui_SizeF__Terminal_Gui_PointF + commentId: M:Terminal.Gui.SizeF.op_Explicit(Terminal.Gui.SizeF)~Terminal.Gui.PointF + name.vb: Narrowing(SizeF to PointF) + fullName: Terminal.Gui.SizeF.Explicit(Terminal.Gui.SizeF to Terminal.Gui.PointF) + fullName.vb: Terminal.Gui.SizeF.Narrowing(Terminal.Gui.SizeF to Terminal.Gui.PointF) + nameWithType: SizeF.Explicit(SizeF to PointF) + nameWithType.vb: SizeF.Narrowing(SizeF to PointF) +- uid: Terminal.Gui.SizeF.op_Explicit* + name: Explicit + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Explicit_ + commentId: Overload:Terminal.Gui.SizeF.op_Explicit + isSpec: "True" + name.vb: Narrowing + fullName: Terminal.Gui.SizeF.Explicit + fullName.vb: Terminal.Gui.SizeF.Narrowing + nameWithType: SizeF.Explicit + nameWithType.vb: SizeF.Narrowing +- uid: Terminal.Gui.SizeF.op_Inequality(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Inequality(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Inequality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.op_Inequality(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Inequality(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Inequality(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.op_Inequality* + name: Inequality + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Inequality_ + commentId: Overload:Terminal.Gui.SizeF.op_Inequality + isSpec: "True" + fullName: Terminal.Gui.SizeF.Inequality + nameWithType: SizeF.Inequality +- uid: Terminal.Gui.SizeF.op_Multiply(System.Single,Terminal.Gui.SizeF) + name: Multiply(Single, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Multiply_System_Single_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.op_Multiply(System.Single,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Multiply(System.Single, Terminal.Gui.SizeF) + nameWithType: SizeF.Multiply(Single, SizeF) +- uid: Terminal.Gui.SizeF.op_Multiply(Terminal.Gui.SizeF,System.Single) + name: Multiply(SizeF, Single) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Multiply_Terminal_Gui_SizeF_System_Single_ + commentId: M:Terminal.Gui.SizeF.op_Multiply(Terminal.Gui.SizeF,System.Single) + fullName: Terminal.Gui.SizeF.Multiply(Terminal.Gui.SizeF, System.Single) + nameWithType: SizeF.Multiply(SizeF, Single) +- uid: Terminal.Gui.SizeF.op_Multiply* + name: Multiply + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Multiply_ + commentId: Overload:Terminal.Gui.SizeF.op_Multiply + isSpec: "True" + fullName: Terminal.Gui.SizeF.Multiply + nameWithType: SizeF.Multiply +- uid: Terminal.Gui.SizeF.op_Subtraction(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Subtraction(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Subtraction_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.op_Subtraction(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Subtraction(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Subtraction(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.op_Subtraction* + name: Subtraction + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_op_Subtraction_ + commentId: Overload:Terminal.Gui.SizeF.op_Subtraction + isSpec: "True" + fullName: Terminal.Gui.SizeF.Subtraction + nameWithType: SizeF.Subtraction +- uid: Terminal.Gui.SizeF.Subtract(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + name: Subtract(SizeF, SizeF) + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Subtract_Terminal_Gui_SizeF_Terminal_Gui_SizeF_ + commentId: M:Terminal.Gui.SizeF.Subtract(Terminal.Gui.SizeF,Terminal.Gui.SizeF) + fullName: Terminal.Gui.SizeF.Subtract(Terminal.Gui.SizeF, Terminal.Gui.SizeF) + nameWithType: SizeF.Subtract(SizeF, SizeF) +- uid: Terminal.Gui.SizeF.Subtract* + name: Subtract + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Subtract_ + commentId: Overload:Terminal.Gui.SizeF.Subtract + isSpec: "True" + fullName: Terminal.Gui.SizeF.Subtract + nameWithType: SizeF.Subtract +- uid: Terminal.Gui.SizeF.ToString + name: ToString() + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_ToString + commentId: M:Terminal.Gui.SizeF.ToString + fullName: Terminal.Gui.SizeF.ToString() + nameWithType: SizeF.ToString() +- uid: Terminal.Gui.SizeF.ToString* + name: ToString + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_ToString_ + commentId: Overload:Terminal.Gui.SizeF.ToString + isSpec: "True" + fullName: Terminal.Gui.SizeF.ToString + nameWithType: SizeF.ToString +- uid: Terminal.Gui.SizeF.Width + name: Width + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Width + commentId: P:Terminal.Gui.SizeF.Width + fullName: Terminal.Gui.SizeF.Width + nameWithType: SizeF.Width +- uid: Terminal.Gui.SizeF.Width* + name: Width + href: api/Terminal.Gui/Terminal.Gui.SizeF.html#Terminal_Gui_SizeF_Width_ + commentId: Overload:Terminal.Gui.SizeF.Width + isSpec: "True" + fullName: Terminal.Gui.SizeF.Width + nameWithType: SizeF.Width - uid: Terminal.Gui.StatusBar name: StatusBar href: api/Terminal.Gui/Terminal.Gui.StatusBar.html @@ -10891,18 +13109,18 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.FindHotKey nameWithType: TextFormatter.FindHotKey -- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean) - name: Format(ustring, Int32, Boolean, Boolean, Boolean) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_System_Boolean_System_Boolean_System_Boolean_ - commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean) - fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, System.Boolean, System.Boolean, System.Boolean) - nameWithType: TextFormatter.Format(ustring, Int32, Boolean, Boolean, Boolean) -- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean) - name: Format(ustring, Int32, TextAlignment, Boolean, Boolean) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_System_Boolean_System_Boolean_ - commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean) - fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment, System.Boolean, System.Boolean) - nameWithType: TextFormatter.Format(ustring, Int32, TextAlignment, Boolean, Boolean) +- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32) + name: Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32) + fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, System.Boolean, System.Boolean, System.Boolean, System.Int32) + nameWithType: TextFormatter.Format(ustring, Int32, Boolean, Boolean, Boolean, Int32) +- uid: Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32) + name: Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_NStack_ustring_System_Int32_Terminal_Gui_TextAlignment_System_Boolean_System_Boolean_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.Format(NStack.ustring,System.Int32,Terminal.Gui.TextAlignment,System.Boolean,System.Boolean,System.Int32) + fullName: Terminal.Gui.TextFormatter.Format(NStack.ustring, System.Int32, Terminal.Gui.TextAlignment, System.Boolean, System.Boolean, System.Int32) + nameWithType: TextFormatter.Format(ustring, Int32, TextAlignment, Boolean, Boolean, Int32) - uid: Terminal.Gui.TextFormatter.Format* name: Format href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Format_ @@ -11144,12 +13362,12 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.VerticalAlignment nameWithType: TextFormatter.VerticalAlignment -- uid: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean) - name: WordWrap(ustring, Int32, Boolean) - href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_ - commentId: M:Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean) - fullName: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring, System.Int32, System.Boolean) - nameWithType: TextFormatter.WordWrap(ustring, Int32, Boolean) +- uid: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32) + name: WordWrap(ustring, Int32, Boolean, Int32) + href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_System_Int32_ + commentId: M:Terminal.Gui.TextFormatter.WordWrap(NStack.ustring,System.Int32,System.Boolean,System.Int32) + fullName: Terminal.Gui.TextFormatter.WordWrap(NStack.ustring, System.Int32, System.Boolean, System.Int32) + nameWithType: TextFormatter.WordWrap(ustring, Int32, Boolean, Int32) - uid: Terminal.Gui.TextFormatter.WordWrap* name: WordWrap href: api/Terminal.Gui/Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_ @@ -11157,184 +13375,122 @@ references: isSpec: "True" fullName: Terminal.Gui.TextFormatter.WordWrap nameWithType: TextFormatter.WordWrap -- uid: Terminal.Gui.TextValidateField`1 - name: TextValidateField - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html - commentId: T:Terminal.Gui.TextValidateField`1 - name.vb: TextValidateField(Of T) - fullName: Terminal.Gui.TextValidateField - fullName.vb: Terminal.Gui.TextValidateField(Of T) - nameWithType: TextValidateField - nameWithType.vb: TextValidateField(Of T) -- uid: Terminal.Gui.TextValidateField`1.#ctor - name: TextValidateField() - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1__ctor - commentId: M:Terminal.Gui.TextValidateField`1.#ctor - fullName: Terminal.Gui.TextValidateField.TextValidateField() - fullName.vb: Terminal.Gui.TextValidateField(Of T).TextValidateField() - nameWithType: TextValidateField.TextValidateField() - nameWithType.vb: TextValidateField(Of T).TextValidateField() -- uid: Terminal.Gui.TextValidateField`1.#ctor(NStack.ustring) - name: TextValidateField(ustring) - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1__ctor_NStack_ustring_ - commentId: M:Terminal.Gui.TextValidateField`1.#ctor(NStack.ustring) - fullName: Terminal.Gui.TextValidateField.TextValidateField(NStack.ustring) - fullName.vb: Terminal.Gui.TextValidateField(Of T).TextValidateField(NStack.ustring) - nameWithType: TextValidateField.TextValidateField(ustring) - nameWithType.vb: TextValidateField(Of T).TextValidateField(ustring) -- uid: Terminal.Gui.TextValidateField`1.#ctor(NStack.ustring,NStack.ustring) - name: TextValidateField(ustring, ustring) - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1__ctor_NStack_ustring_NStack_ustring_ - commentId: M:Terminal.Gui.TextValidateField`1.#ctor(NStack.ustring,NStack.ustring) - fullName: Terminal.Gui.TextValidateField.TextValidateField(NStack.ustring, NStack.ustring) - fullName.vb: Terminal.Gui.TextValidateField(Of T).TextValidateField(NStack.ustring, NStack.ustring) - nameWithType: TextValidateField.TextValidateField(ustring, ustring) - nameWithType.vb: TextValidateField(Of T).TextValidateField(ustring, ustring) -- uid: Terminal.Gui.TextValidateField`1.#ctor* +- uid: Terminal.Gui.TextValidateField name: TextValidateField - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1__ctor_ - commentId: Overload:Terminal.Gui.TextValidateField`1.#ctor + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html + commentId: T:Terminal.Gui.TextValidateField + fullName: Terminal.Gui.TextValidateField + nameWithType: TextValidateField +- uid: Terminal.Gui.TextValidateField.#ctor + name: TextValidateField() + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField__ctor + commentId: M:Terminal.Gui.TextValidateField.#ctor + fullName: Terminal.Gui.TextValidateField.TextValidateField() + nameWithType: TextValidateField.TextValidateField() +- uid: Terminal.Gui.TextValidateField.#ctor(Terminal.Gui.TextValidateProviders.ITextValidateProvider) + name: TextValidateField(ITextValidateProvider) + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField__ctor_Terminal_Gui_TextValidateProviders_ITextValidateProvider_ + commentId: M:Terminal.Gui.TextValidateField.#ctor(Terminal.Gui.TextValidateProviders.ITextValidateProvider) + fullName: Terminal.Gui.TextValidateField.TextValidateField(Terminal.Gui.TextValidateProviders.ITextValidateProvider) + nameWithType: TextValidateField.TextValidateField(ITextValidateProvider) +- uid: Terminal.Gui.TextValidateField.#ctor* + name: TextValidateField + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField__ctor_ + commentId: Overload:Terminal.Gui.TextValidateField.#ctor isSpec: "True" - fullName: Terminal.Gui.TextValidateField.TextValidateField - fullName.vb: Terminal.Gui.TextValidateField(Of T).TextValidateField - nameWithType: TextValidateField.TextValidateField - nameWithType.vb: TextValidateField(Of T).TextValidateField -- uid: Terminal.Gui.TextValidateField`1.IsValid + fullName: Terminal.Gui.TextValidateField.TextValidateField + nameWithType: TextValidateField.TextValidateField +- uid: Terminal.Gui.TextValidateField.IsValid name: IsValid - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_IsValid - commentId: P:Terminal.Gui.TextValidateField`1.IsValid - fullName: Terminal.Gui.TextValidateField.IsValid - fullName.vb: Terminal.Gui.TextValidateField(Of T).IsValid - nameWithType: TextValidateField.IsValid - nameWithType.vb: TextValidateField(Of T).IsValid -- uid: Terminal.Gui.TextValidateField`1.IsValid* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_IsValid + commentId: P:Terminal.Gui.TextValidateField.IsValid + fullName: Terminal.Gui.TextValidateField.IsValid + nameWithType: TextValidateField.IsValid +- uid: Terminal.Gui.TextValidateField.IsValid* name: IsValid - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_IsValid_ - commentId: Overload:Terminal.Gui.TextValidateField`1.IsValid + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_IsValid_ + commentId: Overload:Terminal.Gui.TextValidateField.IsValid isSpec: "True" - fullName: Terminal.Gui.TextValidateField.IsValid - fullName.vb: Terminal.Gui.TextValidateField(Of T).IsValid - nameWithType: TextValidateField.IsValid - nameWithType.vb: TextValidateField(Of T).IsValid -- uid: Terminal.Gui.TextValidateField`1.Mask - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Mask - commentId: P:Terminal.Gui.TextValidateField`1.Mask - fullName: Terminal.Gui.TextValidateField.Mask - fullName.vb: Terminal.Gui.TextValidateField(Of T).Mask - nameWithType: TextValidateField.Mask - nameWithType.vb: TextValidateField(Of T).Mask -- uid: Terminal.Gui.TextValidateField`1.Mask* - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Mask_ - commentId: Overload:Terminal.Gui.TextValidateField`1.Mask - isSpec: "True" - fullName: Terminal.Gui.TextValidateField.Mask - fullName.vb: Terminal.Gui.TextValidateField(Of T).Mask - nameWithType: TextValidateField.Mask - nameWithType.vb: TextValidateField(Of T).Mask -- uid: Terminal.Gui.TextValidateField`1.MouseEvent(Terminal.Gui.MouseEvent) + fullName: Terminal.Gui.TextValidateField.IsValid + nameWithType: TextValidateField.IsValid +- uid: Terminal.Gui.TextValidateField.MouseEvent(Terminal.Gui.MouseEvent) name: MouseEvent(MouseEvent) - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_MouseEvent_Terminal_Gui_MouseEvent_ - commentId: M:Terminal.Gui.TextValidateField`1.MouseEvent(Terminal.Gui.MouseEvent) - fullName: Terminal.Gui.TextValidateField.MouseEvent(Terminal.Gui.MouseEvent) - fullName.vb: Terminal.Gui.TextValidateField(Of T).MouseEvent(Terminal.Gui.MouseEvent) - nameWithType: TextValidateField.MouseEvent(MouseEvent) - nameWithType.vb: TextValidateField(Of T).MouseEvent(MouseEvent) -- uid: Terminal.Gui.TextValidateField`1.MouseEvent* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_MouseEvent_Terminal_Gui_MouseEvent_ + commentId: M:Terminal.Gui.TextValidateField.MouseEvent(Terminal.Gui.MouseEvent) + fullName: Terminal.Gui.TextValidateField.MouseEvent(Terminal.Gui.MouseEvent) + nameWithType: TextValidateField.MouseEvent(MouseEvent) +- uid: Terminal.Gui.TextValidateField.MouseEvent* name: MouseEvent - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_MouseEvent_ - commentId: Overload:Terminal.Gui.TextValidateField`1.MouseEvent + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_MouseEvent_ + commentId: Overload:Terminal.Gui.TextValidateField.MouseEvent isSpec: "True" - fullName: Terminal.Gui.TextValidateField.MouseEvent - fullName.vb: Terminal.Gui.TextValidateField(Of T).MouseEvent - nameWithType: TextValidateField.MouseEvent - nameWithType.vb: TextValidateField(Of T).MouseEvent -- uid: Terminal.Gui.TextValidateField`1.PositionCursor + fullName: Terminal.Gui.TextValidateField.MouseEvent + nameWithType: TextValidateField.MouseEvent +- uid: Terminal.Gui.TextValidateField.PositionCursor name: PositionCursor() - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_PositionCursor - commentId: M:Terminal.Gui.TextValidateField`1.PositionCursor - fullName: Terminal.Gui.TextValidateField.PositionCursor() - fullName.vb: Terminal.Gui.TextValidateField(Of T).PositionCursor() - nameWithType: TextValidateField.PositionCursor() - nameWithType.vb: TextValidateField(Of T).PositionCursor() -- uid: Terminal.Gui.TextValidateField`1.PositionCursor* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_PositionCursor + commentId: M:Terminal.Gui.TextValidateField.PositionCursor + fullName: Terminal.Gui.TextValidateField.PositionCursor() + nameWithType: TextValidateField.PositionCursor() +- uid: Terminal.Gui.TextValidateField.PositionCursor* name: PositionCursor - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_PositionCursor_ - commentId: Overload:Terminal.Gui.TextValidateField`1.PositionCursor + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_PositionCursor_ + commentId: Overload:Terminal.Gui.TextValidateField.PositionCursor isSpec: "True" - fullName: Terminal.Gui.TextValidateField.PositionCursor - fullName.vb: Terminal.Gui.TextValidateField(Of T).PositionCursor - nameWithType: TextValidateField.PositionCursor - nameWithType.vb: TextValidateField(Of T).PositionCursor -- uid: Terminal.Gui.TextValidateField`1.ProcessKey(Terminal.Gui.KeyEvent) + fullName: Terminal.Gui.TextValidateField.PositionCursor + nameWithType: TextValidateField.PositionCursor +- uid: Terminal.Gui.TextValidateField.ProcessKey(Terminal.Gui.KeyEvent) name: ProcessKey(KeyEvent) - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_ProcessKey_Terminal_Gui_KeyEvent_ - commentId: M:Terminal.Gui.TextValidateField`1.ProcessKey(Terminal.Gui.KeyEvent) - fullName: Terminal.Gui.TextValidateField.ProcessKey(Terminal.Gui.KeyEvent) - fullName.vb: Terminal.Gui.TextValidateField(Of T).ProcessKey(Terminal.Gui.KeyEvent) - nameWithType: TextValidateField.ProcessKey(KeyEvent) - nameWithType.vb: TextValidateField(Of T).ProcessKey(KeyEvent) -- uid: Terminal.Gui.TextValidateField`1.ProcessKey* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_ProcessKey_Terminal_Gui_KeyEvent_ + commentId: M:Terminal.Gui.TextValidateField.ProcessKey(Terminal.Gui.KeyEvent) + fullName: Terminal.Gui.TextValidateField.ProcessKey(Terminal.Gui.KeyEvent) + nameWithType: TextValidateField.ProcessKey(KeyEvent) +- uid: Terminal.Gui.TextValidateField.ProcessKey* name: ProcessKey - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_ProcessKey_ - commentId: Overload:Terminal.Gui.TextValidateField`1.ProcessKey + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_ProcessKey_ + commentId: Overload:Terminal.Gui.TextValidateField.ProcessKey isSpec: "True" - fullName: Terminal.Gui.TextValidateField.ProcessKey - fullName.vb: Terminal.Gui.TextValidateField(Of T).ProcessKey - nameWithType: TextValidateField.ProcessKey - nameWithType.vb: TextValidateField(Of T).ProcessKey -- uid: Terminal.Gui.TextValidateField`1.Provider + fullName: Terminal.Gui.TextValidateField.ProcessKey + nameWithType: TextValidateField.ProcessKey +- uid: Terminal.Gui.TextValidateField.Provider name: Provider - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Provider - commentId: P:Terminal.Gui.TextValidateField`1.Provider - fullName: Terminal.Gui.TextValidateField.Provider - fullName.vb: Terminal.Gui.TextValidateField(Of T).Provider - nameWithType: TextValidateField.Provider - nameWithType.vb: TextValidateField(Of T).Provider -- uid: Terminal.Gui.TextValidateField`1.Provider* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Provider + commentId: P:Terminal.Gui.TextValidateField.Provider + fullName: Terminal.Gui.TextValidateField.Provider + nameWithType: TextValidateField.Provider +- uid: Terminal.Gui.TextValidateField.Provider* name: Provider - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Provider_ - commentId: Overload:Terminal.Gui.TextValidateField`1.Provider + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Provider_ + commentId: Overload:Terminal.Gui.TextValidateField.Provider isSpec: "True" - fullName: Terminal.Gui.TextValidateField.Provider - fullName.vb: Terminal.Gui.TextValidateField(Of T).Provider - nameWithType: TextValidateField.Provider - nameWithType.vb: TextValidateField(Of T).Provider -- uid: Terminal.Gui.TextValidateField`1.Redraw(Terminal.Gui.Rect) + fullName: Terminal.Gui.TextValidateField.Provider + nameWithType: TextValidateField.Provider +- uid: Terminal.Gui.TextValidateField.Redraw(Terminal.Gui.Rect) name: Redraw(Rect) - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Redraw_Terminal_Gui_Rect_ - commentId: M:Terminal.Gui.TextValidateField`1.Redraw(Terminal.Gui.Rect) - fullName: Terminal.Gui.TextValidateField.Redraw(Terminal.Gui.Rect) - fullName.vb: Terminal.Gui.TextValidateField(Of T).Redraw(Terminal.Gui.Rect) - nameWithType: TextValidateField.Redraw(Rect) - nameWithType.vb: TextValidateField(Of T).Redraw(Rect) -- uid: Terminal.Gui.TextValidateField`1.Redraw* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Redraw_Terminal_Gui_Rect_ + commentId: M:Terminal.Gui.TextValidateField.Redraw(Terminal.Gui.Rect) + fullName: Terminal.Gui.TextValidateField.Redraw(Terminal.Gui.Rect) + nameWithType: TextValidateField.Redraw(Rect) +- uid: Terminal.Gui.TextValidateField.Redraw* name: Redraw - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Redraw_ - commentId: Overload:Terminal.Gui.TextValidateField`1.Redraw + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Redraw_ + commentId: Overload:Terminal.Gui.TextValidateField.Redraw isSpec: "True" - fullName: Terminal.Gui.TextValidateField.Redraw - fullName.vb: Terminal.Gui.TextValidateField(Of T).Redraw - nameWithType: TextValidateField.Redraw - nameWithType.vb: TextValidateField(Of T).Redraw -- uid: Terminal.Gui.TextValidateField`1.Text + fullName: Terminal.Gui.TextValidateField.Redraw + nameWithType: TextValidateField.Redraw +- uid: Terminal.Gui.TextValidateField.Text name: Text - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Text - commentId: P:Terminal.Gui.TextValidateField`1.Text - fullName: Terminal.Gui.TextValidateField.Text - fullName.vb: Terminal.Gui.TextValidateField(Of T).Text - nameWithType: TextValidateField.Text - nameWithType.vb: TextValidateField(Of T).Text -- uid: Terminal.Gui.TextValidateField`1.Text* + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Text + commentId: P:Terminal.Gui.TextValidateField.Text + fullName: Terminal.Gui.TextValidateField.Text + nameWithType: TextValidateField.Text +- uid: Terminal.Gui.TextValidateField.Text* name: Text - href: api/Terminal.Gui/Terminal.Gui.TextValidateField-1.html#Terminal_Gui_TextValidateField_1_Text_ - commentId: Overload:Terminal.Gui.TextValidateField`1.Text + href: api/Terminal.Gui/Terminal.Gui.TextValidateField.html#Terminal_Gui_TextValidateField_Text_ + commentId: Overload:Terminal.Gui.TextValidateField.Text isSpec: "True" - fullName: Terminal.Gui.TextValidateField.Text - fullName.vb: Terminal.Gui.TextValidateField(Of T).Text - nameWithType: TextValidateField.Text - nameWithType.vb: TextValidateField(Of T).Text + fullName: Terminal.Gui.TextValidateField.Text + nameWithType: TextValidateField.Text - uid: Terminal.Gui.TextValidateProviders name: Terminal.Gui.TextValidateProviders href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.html @@ -11425,6 +13581,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Delete nameWithType: ITextValidateProvider.Delete +- uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_DisplayText + commentId: P:Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText + fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText + nameWithType: ITextValidateProvider.DisplayText +- uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText* + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_DisplayText_ + commentId: Overload:Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText + isSpec: "True" + fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText + nameWithType: ITextValidateProvider.DisplayText - uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Fixed name: Fixed href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_Fixed @@ -11464,19 +13633,6 @@ references: isSpec: "True" fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.IsValid nameWithType: ITextValidateProvider.IsValid -- uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_Mask - commentId: P:Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask - fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask - nameWithType: ITextValidateProvider.Mask -- uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask* - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_Mask_ - commentId: Overload:Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask - isSpec: "True" - fullName: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Mask - nameWithType: ITextValidateProvider.Mask - uid: Terminal.Gui.TextValidateProviders.ITextValidateProvider.Text name: Text href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.ITextValidateProvider.html#Terminal_Gui_TextValidateProviders_ITextValidateProvider_Text @@ -11496,12 +13652,12 @@ references: commentId: T:Terminal.Gui.TextValidateProviders.NetMaskedTextProvider fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider nameWithType: NetMaskedTextProvider -- uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.#ctor - name: NetMaskedTextProvider() - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider__ctor - commentId: M:Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.#ctor - fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.NetMaskedTextProvider() - nameWithType: NetMaskedTextProvider.NetMaskedTextProvider() +- uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.#ctor(System.String) + name: NetMaskedTextProvider(String) + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider__ctor_System_String_ + commentId: M:Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.#ctor(System.String) + fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.NetMaskedTextProvider(System.String) + nameWithType: NetMaskedTextProvider.NetMaskedTextProvider(String) - uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.#ctor* name: NetMaskedTextProvider href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider__ctor_ @@ -11587,6 +13743,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.Delete nameWithType: NetMaskedTextProvider.Delete +- uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider_DisplayText + commentId: P:Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText + fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText + nameWithType: NetMaskedTextProvider.DisplayText +- uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText* + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider_DisplayText_ + commentId: Overload:Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText + isSpec: "True" + fullName: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.DisplayText + nameWithType: NetMaskedTextProvider.DisplayText - uid: Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.Fixed name: Fixed href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.NetMaskedTextProvider.html#Terminal_Gui_TextValidateProviders_NetMaskedTextProvider_Fixed @@ -11658,12 +13827,12 @@ references: commentId: T:Terminal.Gui.TextValidateProviders.TextRegexProvider fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider nameWithType: TextRegexProvider -- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor - name: TextRegexProvider() - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor - commentId: M:Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor - fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.TextRegexProvider() - nameWithType: TextRegexProvider.TextRegexProvider() +- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor(System.String) + name: TextRegexProvider(String) + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor_System_String_ + commentId: M:Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor(System.String) + fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.TextRegexProvider(System.String) + nameWithType: TextRegexProvider.TextRegexProvider(String) - uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor* name: TextRegexProvider href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor_ @@ -11749,6 +13918,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.Delete nameWithType: TextRegexProvider.Delete +- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_DisplayText + commentId: P:Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText + fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText + nameWithType: TextRegexProvider.DisplayText +- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText* + name: DisplayText + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_DisplayText_ + commentId: Overload:Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText + isSpec: "True" + fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText + nameWithType: TextRegexProvider.DisplayText - uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Fixed name: Fixed href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed @@ -11788,19 +13970,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.IsValid nameWithType: TextRegexProvider.IsValid -- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Mask - commentId: P:Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask - fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask - nameWithType: TextRegexProvider.Mask -- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask* - name: Mask - href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Mask_ - commentId: Overload:Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask +- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern + name: Pattern + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Pattern + commentId: P:Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern + fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern + nameWithType: TextRegexProvider.Pattern +- uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern* + name: Pattern + href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Pattern_ + commentId: Overload:Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern isSpec: "True" - fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask - nameWithType: TextRegexProvider.Mask + fullName: Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern + nameWithType: TextRegexProvider.Pattern - uid: Terminal.Gui.TextValidateProviders.TextRegexProvider.Text name: Text href: api/Terminal.Gui/Terminal.Gui.TextValidateProviders.TextRegexProvider.html#Terminal_Gui_TextValidateProviders_TextRegexProvider_Text @@ -11852,6 +14034,32 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.TextView nameWithType: TextView.TextView +- uid: Terminal.Gui.TextView.AllowsReturn + name: AllowsReturn + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_AllowsReturn + commentId: P:Terminal.Gui.TextView.AllowsReturn + fullName: Terminal.Gui.TextView.AllowsReturn + nameWithType: TextView.AllowsReturn +- uid: Terminal.Gui.TextView.AllowsReturn* + name: AllowsReturn + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_AllowsReturn_ + commentId: Overload:Terminal.Gui.TextView.AllowsReturn + isSpec: "True" + fullName: Terminal.Gui.TextView.AllowsReturn + nameWithType: TextView.AllowsReturn +- uid: Terminal.Gui.TextView.AllowsTab + name: AllowsTab + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_AllowsTab + commentId: P:Terminal.Gui.TextView.AllowsTab + fullName: Terminal.Gui.TextView.AllowsTab + nameWithType: TextView.AllowsTab +- uid: Terminal.Gui.TextView.AllowsTab* + name: AllowsTab + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_AllowsTab_ + commentId: Overload:Terminal.Gui.TextView.AllowsTab + isSpec: "True" + fullName: Terminal.Gui.TextView.AllowsTab + nameWithType: TextView.AllowsTab - uid: Terminal.Gui.TextView.BottomOffset name: BottomOffset href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_BottomOffset @@ -12131,6 +14339,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.MoveHome nameWithType: TextView.MoveHome +- uid: Terminal.Gui.TextView.Multiline + name: Multiline + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_Multiline + commentId: P:Terminal.Gui.TextView.Multiline + fullName: Terminal.Gui.TextView.Multiline + nameWithType: TextView.Multiline +- uid: Terminal.Gui.TextView.Multiline* + name: Multiline + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_Multiline_ + commentId: Overload:Terminal.Gui.TextView.Multiline + isSpec: "True" + fullName: Terminal.Gui.TextView.Multiline + nameWithType: TextView.Multiline - uid: Terminal.Gui.TextView.OnEnter(Terminal.Gui.View) name: OnEnter(View) href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_OnEnter_Terminal_Gui_View_ @@ -12352,6 +14573,19 @@ references: isSpec: "True" fullName: Terminal.Gui.TextView.SelectionStartRow nameWithType: TextView.SelectionStartRow +- uid: Terminal.Gui.TextView.TabWidth + name: TabWidth + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_TabWidth + commentId: P:Terminal.Gui.TextView.TabWidth + fullName: Terminal.Gui.TextView.TabWidth + nameWithType: TextView.TabWidth +- uid: Terminal.Gui.TextView.TabWidth* + name: TabWidth + href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_TabWidth_ + commentId: Overload:Terminal.Gui.TextView.TabWidth + isSpec: "True" + fullName: Terminal.Gui.TextView.TabWidth + nameWithType: TextView.TabWidth - uid: Terminal.Gui.TextView.Text name: Text href: api/Terminal.Gui/Terminal.Gui.TextView.html#Terminal_Gui_TextView_Text