Creating Controls

You can combine different view items to create standard controls, and then use the Microsoft.MediaCenter.UI API to manage the data.

For examples, see Sample Explorer:

  • The Editbox sample shows an edit box that limits the number of characters that are allowed and uses the EditableText class to manage the text string.
  • The Radio Group and Check Box samples show a group of radio buttons and check boxes using the Choice class to manage the options.
  • The Button sample shows a button that uses the Command class to invoke an action.

Sample Explorer

  • Controls > Editbox
  • Controls > Radio Group
  • Controls > Check Box
  • Controls > Button

See Also