Поделиться через


HtmlEventArgs.CtrlKey Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the state of the CTRL key when the event was raised.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public ReadOnly Property CtrlKey As Boolean
public bool CtrlKey { get; }

Property Value

Type: System.Boolean
true if the CTRL key was pressed when the event was raised; otherwise, false.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.