Table of Contents

Class CharMap

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

A scrollable map of the Unicode codepoints.

public class CharMap : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, IDesignable, IValue<Rune>, IValue
Inheritance
CharMap
Implements
Inherited Members

Remarks

See ../docs/CharacterMap.md for details.

Constructors

CharMap()

Initializes a new instance.

Properties

DefaultCursorStyle

Gets or sets the default cursor style.

SelectedCodePoint

Gets or sets the currently selected codepoint. Causes the Viewport to scroll to make the selected code point visible.

ShowGlyphWidths

Gets or sets whether the number of columns each glyph is displayed.

ShowUnicodeCategory

When set, only glyphs whose UnicodeCategory matches the value are rendered. If null (default), all glyphs are rendered.

StartCodePoint

Specifies the starting offset for the character map. The default is 0x2500 which is the Box Drawing characters.

Value

Gets or sets the value.

Methods

OnDrawingContent(DrawContext?)

Called when the View's content is to be drawn. The default implementation does nothing.

OnValueChanged(ValueChangedEventArgs<Rune>)

Called when the CharMap Value has changed.

OnValueChanging(ValueChangingEventArgs<Rune>)

Called when the CharMap Value is changing.

ToCamelCase(string)

Helper to convert a string into camel case.

Events

ValueChanged

Raised when Value has changed.

ValueChanging

Raised when Value is about to change. Set Handled to true to cancel the change.