Method ToKey NamespaceAlternet.UI AssemblyAlternet.UI.Common.dll ToKey(Keys) Converts Keys to Key. public static Key ToKey(this Keys keys) Parameters keys Keys Key information in Keys enum. Returns Key