Partager via


Getting Started: Common Controls

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

Common controls list

In the previous section, you worked with only two controls. Of course, there are many more controls that are available to you. Here are some common ones. The iOS controls are listed in alphabetical order, next to their equivalent Windows Store app controls.

iOS control (class/protocol) Equivalent Windows Store app control

Activity indicator (UIActivityIndicatorView)

ProgressRing

See also Quickstart: adding progress controls

Ad banner view (ADBannerView) and ad banner view delegate (ADBannerViewDelegate)

See Microsoft Advertising SDK

Button (UIButton)

Button

See also Quickstart: Adding button controls

Date picker (UIDatePicker)

DatePicker

Image view (UIImageView)

Image

See also Quickstart: Image and ImageBrush

Label (UILabel)

TextBlock

See also Quickstart: displaying text

Map view (MKMapView) and map view delegate (MKMapViewDelegate)

See Bing Maps for Windows Store apps

Navigation controller (UINavigationController) and navigation controller delegate (UINavigationControllerDelegate)

Frame

See also Quickstart: Navigating between pages

Page control (UIPageControl)

Page

See also Quickstart: Navigating between pages

Picker view (UIPickerView) and picker view delegate (UIPickerViewDelegate)

ComboBox

See also Adding combo boxes and list boxes

Progress bar (UIProgressView)

ProgressBar

See also Quickstart: adding progress controls

Scroll view (UIScrollView) and scroll view delegate (UIScrollViewDelegate)

ScrollViewer

See also Extensible Application Markup Language (XAML) scrolling, panning, and zooming sample

Search bar (UISearchBar) and search bar delegate (UISearchBarDelegate)

See Adding search to an app

See also Quickstart: Adding search to an app

Segmented control (UISegmentedControl)

None

Slider (UISlider)

Slider

See also How to add a slider

Split view controller (UISplitViewController) and split view controller delegate (UISplitViewControllerDelegate)

None

Switch (UISwitch)

ToggleSwitch

See also How to add a toggle switch

Tab bar controller (UITabBarController) and tab bar controller delegate (UITabBarControllerDelegate)

None

Table view controller (UITableViewController), table view (UITableView), table view delegate (UITableViewDelegate), and table cell (UITableViewCell)

ListView

See also Quickstart: adding ListView and GridView controls

Text field (UITextField) and text field delegate (UITextFieldDelegate)

TextBox

See also Quickstart: adding text input and editing controls

Text view (UITextView) and text view delegate (UITextViewDelegate)

TextBlock

See also Quickstart: displaying text

View (UIView) and view controller (UIViewController)

Page

See also Quickstart: Navigating between pages

Web view (UIWebView) and web view delegate (UIWebViewDelegate)

WebView

See also XAML WebView control sample

Window (UIWindow)

Frame

See also Quickstart: Navigating between pages

 

For even more controls, see Controls list.

Note  For a list of controls for Windows Store apps using JavaScript and HTML, see Controls list.

 

Next step

Getting Started: Navigation

build 2014: What about XAML UI and Controls?

build 2014: Developing Apps using the Common XAML UI Framework

build 2014: Using Visual Studio to Build XAML Converged Apps