Table of Contents

Property DefaultMouseBindings

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

DefaultMouseBindings

Gets or sets the default mouse bindings shared across all views. Only commands that a view supports (via GetSupportedCommands()) are actually bound when ApplyMouseBindings(params Dictionary<Command, PlatformMouseBinding>?[]) is called.

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<Command, PlatformMouseBinding>? DefaultMouseBindings { get; set; }

Property Value

Dictionary<Command, PlatformMouseBinding>