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


Type: System.Object

The presentation source to query for 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
© 2016 Microsoft