Table of Contents

Property DefaultKeyBindings

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

DefaultKeyBindings

Gets or sets the default key bindings for TableView. All standard navigation and selection-extend bindings are inherited from DefaultKeyBindings, so this dictionary is empty by default.

IMPORTANT: This is a process-wide static property. Change with care. Do not set in parallelizable unit tests.

public static Dictionary<Command, PlatformKeyBinding>? DefaultKeyBindings { get; set; }

Property Value

Dictionary<Command, PlatformKeyBinding>

Remarks

The CellActivationKey binding (Accept) is instance-dependent and is added directly in the constructor.