Table of Contents

Property ViewMouseBindings

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

ViewMouseBindings

Gets or sets per-view mouse binding overrides from configuration. The outer key is the view type name (e.g., "TextView"), the inner dictionary maps commands to platform mouse bindings.

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

[ConfigurationProperty(Scope = typeof(SettingsScope))]
public static Dictionary<string, Dictionary<Command, PlatformMouseBinding>>? ViewMouseBindings { get; set; }

Property Value

Dictionary<string, Dictionary<Command, PlatformMouseBinding>>