IsKeyRegistered Method
Collapse the table of content
Expand the table of content

AccessKeyManager.IsKeyRegistered Method (Object, String)

 

Indicates whether the specified key is registered as an access keys in the specified scope.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static bool IsKeyRegistered(
	object scope,
	string key
)

Parameters

scope
Type: System.Object

The presentation source to query for key.

key
Type: System.String

The key to query.

Return Value

Type: System.Boolean

true if the key is registered; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft