MediaCenterEnvironment.ShowOnscreenKeyboard Method

Displays the onscreen keyboard that is included with Windows Media Center.

Syntax

  public void ShowOnscreenKeyboard(
  Microsoft.MediaCenter.UI.EditableText  editableText,
  bool  passwordMasked,
  int  maxLength
);

Parameters

editableText

Microsoft.MediaCenter.UI.EditableText.  The text string, which is also displayed above the onscreen keyboard as the user enters text.

passwordMasked

System.Boolean.  If true, masks the text that is displayed above the onscreen keyboard; otherwise, displays regular characters.

maxLength

System.Int32.  The maximum length of the text string.

Return Value

This method does not return a value.

Remarks

The onscreen keyboard is an image of a keyboard that allows the user to select letters by using the remote control's arrow buttons and the OK/Enter button.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

Platform: Windows 7

See Also