Search Results for

    Show / Hide Table of Contents

    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
    Inheritance
    object
    Scenario
    CharacterMap
    Implements
    IDisposable
    Inherited Members
    Scenario.Theme
    Scenario.TopLevelColorScheme
    Scenario.Win
    Scenario.GetName()
    Scenario.GetDescription()
    Scenario.GetCategories()
    Scenario.ToString()
    Scenario.Run()
    Scenario.RequestStop()
    Scenario.GetScenarios()
    Scenario.Dispose(bool)
    Scenario.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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 Source

    Init()

    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
    Scenario.Init()
    | Improve this Doc View Source

    Setup()

    Override this to implement the Scenario setup logic (create controls, etc...).

    Declaration
    public override void Setup()
    Overrides
    Scenario.Setup()

    Implements

    IDisposable

    Extension Methods

    EventExtensions.ClearEventHandlers(object, string)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX