Class CharacterMap
This Scenario demonstrates building a custom control (a class deriving from View) that:
- Provides a "Character Map" application (like Windows' charmap.exe).
- Helps test unicode character rendering in Terminal.Gui
- Illustrates how to use ScrollView to do infinite scrolling
Implements
Inherited Members
Namespace: UICatalog.Scenarios
Assembly: UICatalog.dll
Syntax
[Scenario.ScenarioMetadata("Character Map", "Unicode viewer demonstrating the ScrollView control.")]
[Scenario.ScenarioCategory("Text and Formatting")]
[Scenario.ScenarioCategory("Controls")]
[Scenario.ScenarioCategory("ScrollView")]
public class CharacterMap : Scenario, IDisposable
Fields
| Improve this Doc View Source_errorLabel
Declaration
public Label _errorLabel
Field Value
| Type | Description |
|---|---|
| Label |
Methods
| Improve this Doc View SourceInit()
Helper that provides the default Window implementation with a frame and label showing the name of the Scenario and logic to exit back to the Scenario picker UI. Override Init() to provide any Toplevel behavior needed.
Declaration
public override void Init()
Overrides
| Improve this Doc View SourceSetup()
Override this to implement the Scenario setup logic (create controls, etc...).
Declaration
public override void Setup()