SDG Toolkit

Keyboard.KeyboardCollection.Item Property

Gets or sets the keyboard class specified by the index parameter

public Keyboard this[
   int index
] {get; set;}

Remarks

There are several ways to iterate through all of the keyboards on the system. One can use a numeric iterator such as "int i" or use a mouse iterator using the foreach parameter.

Example

C# Eg., for (int i=0; i < sdgManager1.Keyboards.Count; ++i) { }

C# Eg., foreach (Sdgt.Keyboard k in sdgManager1.Keyboards) { }

See Also

Keyboard.KeyboardCollection Class | Sdgt Namespace