Collapse the table of content
Expand the table of content

System.Windows.Controls Namespace

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

Provides classes to create elements, known as controls, which enable a user to interact with an application.

Some of the controls contained in the System.Windows.Controls namespace documentation are available with the Windows Phone runtime, others are only available in the Windows Phone SDK. When you use a control from the Windows Phone SDK you will need to add a reference to the assembly and include the appropriate XML namespace mapping in XAML.

Public classBorderDraws a border, background, or both around another object.
Public classButtonRepresents a button control.
Public classCanvasDefines an area within which you can explicitly position child objects by using coordinates that are relative to the area.
Public classCheckBoxRepresents a control that a user can select (check) or clear (uncheck).
Public classCleanUpVirtualizedItemEventArgsProvides data for the CleanUpVirtualizedItemEvent event.
Public classColumnDefinitionDefines column-specific properties that apply to Grid objects.
Public classColumnDefinitionCollectionProvides access to an ordered, strongly typed collection of ColumnDefinition objects.
Public classComboBoxInfrastructure. Represents a selection control that combines a non-editable text box and a drop-down containing a list box that allows users to select an item from a list.
Public classComboBoxItemRepresents a selectable item contained in a ComboBox control.
Public classContentChangedEventArgsProvides data for the ContentChanged event.
Public classContentControlRepresents a control with a single piece of content. Controls such as Button, CheckBox, and ScrollViewer directly or indirectly inherit from this class.
Public classContentPresenterDisplays the content of a ContentControl.
Public classControl
Public classControlTemplateDefines the element tree that is applied as a control template.
Public classDrawingSurfaceA control that allows you to draw Direct3D graphics onto a region of your page.
Public classDrawingSurfaceBackgroundGridA control that allows you to draw Direct3D graphics onto the background of your application.
Public classFrameRepresents a control that supports navigation to and from XAML pages. The Frame class presented here is only a base class for PhoneApplicationFrame.
Public classGridDefines a flexible grid area that consists of columns and rows.
Public classHyperlinkButtonRepresents a button control that displays a hyperlink.
Public classImageRepresents a control that displays an image in the JPEG or PNG file formats.
Public classInkPresenterImplements a rectangular surface that displays ink strokes.
Public classItemCollectionHolds the list of items that represent the content of an ItemsControl.
Public classItemContainerGeneratorProvides mappings between the items of an ItemsControl and their container elements.
Public classItemsControlRepresents a control that can be used to present a collection of items.
Public classItemsPanelTemplateSpecifies the panel that the ItemsPresenter creates for the layout of the items of an ItemsControl.
Public classItemsPresenterSpecifies where items are placed in a control, usually an ItemsControl.
Public classListBoxContains a list of selectable items.
Public classListBoxItemRepresents a selectable item in a ListBox.
Public classMediaElementRepresents an object that contains audio, video, or both.
Public classMultiScaleImageEnables users to open a multi-resolution image, which can be zoomed in on and panned across.
Public classMultiScaleSubImageThis class holds the properties for each sub-image within the MultiScaleImage.
Public classPageEncapsulates content that can be navigated to by a Frame. The Page class presented here is only a base class for PhoneApplicationPage. The constructor is internal.
Public classPanelProvides a base class for all Panel elements. Use Panel elements to position and arrange child objects in Windows Phone applications.
Public classPasswordBoxRepresents a control for entering passwords.
Public classProgressBarRepresents a control that indicates the progress of an operation.
Public classRadioButtonRepresents a button that allows a user to select a single option from a group of options.
Public classRichTextBoxRepresents a rich text control that displays formatted text, hyperlinks, inline images, and other rich content.
Public classRowDefinitionDefines row-specific properties that apply to Grid elements.
Public classRowDefinitionCollectionProvides access to an ordered, strongly typed collection of RowDefinition objects.
Public classScrollContentPresenterDisplays the content of a ScrollViewer control.
Public classScrollViewerRepresents a scrollable area that can contain other visible elements.
Public classSelectionChangedEventArgsProvides data for the SelectionChanged event.
Public classSliderRepresents a control that lets the user select from a range of values by moving a Thumb control along a track.
Public classStackPanelArranges child elements into a single line that can be oriented horizontally or vertically.
Public classTextBlockProvides a lightweight control for displaying small amounts of text..
Public classTextBoxRepresents a control that can be used to display or edit single-format, multi-line text.
Public classTextChangedEventArgsProvides data for the TextChanged event.
Public classToolTipInfrastructure. Represents a control that creates a pop-up window that displays information for an element in the UI.
Public classToolTipServiceInfrastructure. Represents a service that provides static methods to display a tooltip.
Public classUIElementCollectionRepresents an ordered collection of UIElement objects.
Public classUserControlProvides the base class for defining a new control that encapsulates related existing controls and provides its own logic.
Public classValidationProvides methods and attached properties that support data validation and govern the visual state of the control.
Public classValidationErrorRepresents a validation error that is generated by the binding engine when an exception occurs during target-to-source updates.
Public classValidationErrorEventArgsProvides data for the BindingValidationError event.
Public classViewboxDefines a content decorator that can stretch and scale a single child to fill the available space.
Public classVirtualizingPanelProvides a framework for Panel elements that virtualize their visual children.
Public classVirtualizingStackPanelArranges and virtualizes content on a single line that is oriented either horizontally or vertically.

Public interfaceINavigateDefines a method for internal navigation in a Windows Phone application.

Public delegateCleanUpVirtualizedItemEventHandlerRepresents the method that handles the VirtualizingStackPanel.CleanUpVirtualizedItemEvent attached events.
Public delegateContentChangedEventHandlerRepresents the method that handles the ContentChanged event.
Public delegateSelectionChangedEventHandlerRepresents the method that will handle the SelectionChanged event.
Public delegateTextChangedEventHandlerRepresents the method that will handle the TextBox.TextChanged event.

Public enumerationClickModeSpecifies when the Click event should be raised for a control.
Public enumerationManipulationModeSpecifies how manipulations are handled for ScrollViewer behavior.
Public enumerationOrientationDefines the different orientations that a control or layout can have.
Public enumerationScrollBarVisibilitySpecifies the visibility of a scrollbar within a ScrollViewer control.
Public enumerationSelectionModeDefines the selection behavior for a ListBox.
Public enumerationStretchDirectionDescribes the direction that content is scaled.
Public enumerationValidationErrorEventActionDescribes the reason a BindingValidationError event has occurred.
Public enumerationVirtualizationModeSpecifies the method the VirtualizingStackPanel uses to manage virtualizing its child items.

© 2018 Microsoft