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: