Partager via


LanguagePreferences.EnableLeftClickForURLs Property

Gets or sets whether or not URLs in the code can be navigated to by a simple click.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Property EnableLeftClickForURLs As Boolean
public bool EnableLeftClickForURLs { get; set; }
public:
property bool EnableLeftClickForURLs {
    bool get ();
    void set (bool value);
}
member EnableLeftClickForURLs : bool with get, set
function get EnableLeftClickForURLs () : boolean 
function set EnableLeftClickForURLs (value : boolean)

Property Value

Type: Boolean
true if URLs can be navigated with a single click, otherwise false = either URLs cannot be clicked on or the control key must be held down while clicking.

Remarks

This property affects the preferences value fHotURLs.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

Microsoft.VisualStudio.Package Namespace