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) |
See also Quickstart: adding progress controls |
Ad banner view (ADBannerView) and ad banner view delegate (ADBannerViewDelegate) |
|
Button (UIButton) |
See also Quickstart: Adding button controls |
Date picker (UIDatePicker) |
|
Image view (UIImageView) |
See also Quickstart: Image and ImageBrush |
Label (UILabel) |
See also Quickstart: displaying text |
Map view (MKMapView) and map view delegate (MKMapViewDelegate) |
|
Navigation controller (UINavigationController) and navigation controller delegate (UINavigationControllerDelegate) |
See also Quickstart: Navigating between pages |
Page control (UIPageControl) |
See also Quickstart: Navigating between pages |
Picker view (UIPickerView) and picker view delegate (UIPickerViewDelegate) |
See also Adding combo boxes and list boxes |
Progress bar (UIProgressView) |
See also Quickstart: adding progress controls |
Scroll view (UIScrollView) and scroll view delegate (UIScrollViewDelegate) |
See also Extensible Application Markup Language (XAML) scrolling, panning, and zooming sample |
Search bar (UISearchBar) and search bar delegate (UISearchBarDelegate) |
See also Quickstart: Adding search to an app |
Segmented control (UISegmentedControl) |
None |
Slider (UISlider) |
See also How to add a slider |
Split view controller (UISplitViewController) and split view controller delegate (UISplitViewControllerDelegate) |
None |
Switch (UISwitch) |
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) |
|
Text field (UITextField) and text field delegate (UITextFieldDelegate) |
|
Text view (UITextView) and text view delegate (UITextViewDelegate) |
See also Quickstart: displaying text |
View (UIView) and view controller (UIViewController) |
See also Quickstart: Navigating between pages |
Web view (UIWebView) and web view delegate (UIWebViewDelegate) |
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
Related topics
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