Namespaces
Variants
Actions

Windows Phone User Interface Controls

Jump to: navigation, search

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 .

Stub.png
Stub: This article is a stub - an "empty" article that has been requested by another wiki user.

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.
WP Metro Icon UI.png
Article Metadata

Code Example
Tested with
SDK: Windows Phone SDK 7.1

Compatibility
Platform(s): Windows Phone 7.5

Article
Created: kamaljaiswal (05 Oct 2011)
Last edited: hamishwillee (30 Nov 2012)

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 Example.png Border

Draws a border, background, or both around object.

Button Example.png Button

When you click a Button, it raises the Click event.

Canvas Example.png Canvas

A Canvas is one of the Panel elements that enable layout. Each child object is rendered within the Canvas area.

Checkbox example.png 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.
ContentPresenter Class (MSDN)

Example Control

Represents the base class for UI elements that use a ControlTemplate to define their appearance.
Control Class (MSDN)

Grid Example.png 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
This page was last modified on 30 November 2012, at 08:30.
225 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved