Property DefaultKeyBindings
DefaultKeyBindings
Gets or sets the view-specific default key bindings for TextView. Contains only bindings unique to this view; shared bindings come from DefaultKeyBindings.
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
Remarks
Only single-command bindings are included here. Dynamic bindings (e.g., Enter for NewLine/Accept depending on Multiline, Tab depending on TabKeyAddsTab) are added directly in the constructor.