MiscExtensionsToChar Method

CVB.Net Documentation
Convert a key state into a printable character.

Namespace:  Stemmer.Cvb.Wpf
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public static char ToChar(
	this Key key
)

Parameters

key
Type: System.Windows.InputKey
Key value to convert.

Return Value

Type: Char
Printable representation of the key.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Key. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference