Windows Phone User Interface Controls
This article explains supported and unsupported Silverlight controls for Windows Phone. It is a good reference material when porting any Silverlight desktop application. Will try to create example are also attached of each control .
You can help by extending the article, or by adding comments which provide part of the information required.
Suggestions for content: The article has made a good start, but is missing many examples and screenshots. Feel free to extend this everyone.
Article Metadata
Code Example
Tested with
Compatibility
Article
Contents |
Overview
This article explains supported and unsupported Silverlight controls for Windows Phone.It is a good reference material when porting any Silverlight desktop application.The following Silverlight controls are supported in Windows Phone and are included in the System.Windows.Controls Namespace in the .NET Class Library for Silverlight.
Supported Controls Windows Phone
| Snapshot | Description |
|---|---|
|
Border
Draws a border, background, or both around object.
|
|
Button
When you click a Button, it raises the Click event.
|
|
Canvas
A Canvas is one of the Panel elements that enable layout. Each child object is rendered within the Canvas area.
|
|
CheckBox
Represents a control that a user can select (check) or clear (uncheck).
|
| Example | ContentControl
Represents a control with a single piece of content. This might be used in a button (for example) to define a button with an image.
|
| Example | ContentPresenter
Displays the content of a ContentPresenter.
|
| Example | Control
Represents the base class for UI elements that use a ControlTemplate to define their appearance.
|
|
Grid
Defines a flexible grid area that consists of columns and rows.
|
| Example | HyperlinkButton
Represents a button control that displays a hyperlink. |
| Example | Image
Represents a control that displays an image in the JPEG or PNG file format. |
| Example | InkPresenter
Implements a rectangular surface that displays ink strokes. |
| Example | ListBox
Contains a list of selectable items. |
| Example | MediaElement
Represents an object that contains audio, video, or both. |
| Example | MessageBox
Displays a message to the user and optionally prompts for a response. |
| Example | MultiScaleImage
Enables users to open a multi-resolution image, which can be zoomed in on and panned across. |
| Example | Panel
Provides a base class for all Panel elements. Use Panel elements to position and arrange child objects in Silverlight-based applications. |
| Example | PasswordBox
Represents a control for entering passwords. |
| Example | ProgressBar
Represents a control that indicates the progress of an operation. |
| Example | RadioButton |
| Example | RichTextBox |
| Example | ScrollViewer |
| Example | Slider |
| Example | StackPanel |
| Example | TextBlock |
| Example | TextBox |
| Example | UserControl |
Unsupported Controls in Windows Phone
Following is the Controls not supported in Windows Phone. But some library is provide in Silverlight Toolkit Library.
| ComboBox | TreeView | OpenFileDialog | SaveFileDialog | ToolTip |
| Calender | Example | Example | Example | Example |
| GridSplitter | Label | Scrollbar | TabControl |
Silverlight for Windows Phone Toolkit Controls
Silverlight Toolkit offers developers additional controls for Windows Phone application development, designed to match the rich user experience of the Windows Phone 7.
| Autocompletebox |
| ContextMenu |
| Datepicker |
| GestureService/GestureListener |
| ListPicker |
| LoopingSelector |
| Longlistselector |
| Transitions |
| Toggleswitch |
| WrapPanel |
| Timepicker |







Hamishwillee - File/image naming
Hi
Nice article.
In future, when you're naming your files and images, can you please give them names that are descriptive - for example File:Grid_Example.png would be better as "Windows phone Grid_Example.png". Reason is that the wiki supports UI frameworks for different platforms and development environments. When browsing through gallery, having something in the name can be helpful.
Also, you say in introduction this is about both supported and unsupported silverlight controls for WP. That is great! Can you make it clear which are supported and which aren't? Apologies if you're already doing this, just not got there yet!
regards
Hamishhamishwillee 01:15, 11 October 2011 (EEST)