Windows.UI.Xaml.Controls namespace

Applies to Windows and Windows Phone

Provides UI controls and classes that support existing and custom controls.

Members

The Windows.UI.Xaml.Controls namespace has these types of members:

Classes

The Windows.UI.Xaml.Controls namespace has these classes.

ClassDescription
AppBar Represents the container control that holds app UI components for commanding and experiences.
AppBarButton Represents a templated button control to be displayed in an AppBar.
AppBarSeparator Represents a vertical line that separates items in an AppBar.
AppBarToggleButton Represents a button control that can switch states and be displayed in an AppBar.
AutoSuggestBox Represents a text control
AutoSuggestBoxSuggestionChosenEventArgs Provides data for the SuggestionChosen event.
AutoSuggestBoxTextChangedEventArgs Provides data for the TextChanged event.
BackClickEventArgs Provides event data for the SettingsFlyout.BackClick event.
BitmapIcon Represents an icon that uses a bitmap as its content.
Border Draws a border, background, or both, around another object.
Button Represents a templated button control that interprets a Click user interaction.
Canvas Defines an area within which you can explicitly position child objects, using coordinates that are relative to the Canvas area.
CaptureElement Renders a stream from a capture device, such as a camera or webcam.
CheckBox Represents a control that a user can select (check) or clear (uncheck). A CheckBox can also report its value as indeterminate.
CleanUpVirtualizedItemEventArgs Provides data for the CleanUpVirtualizedItemEvent event.
ColumnDefinition Defines column-specific properties that apply to Grid objects.
ColumnDefinitionCollection Provides access to an ordered, strongly typed collection of ColumnDefinition objects.
ComboBox Represents a selection control that combines a non-editable text box and a drop-down list box that allows users to select an item from a list.
ComboBoxItem Represents the container for an item in a ComboBox control.
CommandBar Represents a specialized app bar that provides layout for AppBarButton and related command elements.
ContainerContentChangingEventArgs Provides data for the ContainerContentChanging event.
ContentControl Represents a control with a single piece of content. Controls such as Button, CheckBox, and ScrollViewer directly or indirectly inherit from this class.
ContentDialog Represents a dialog box that can be customized to contain checkboxes, hyperlinks, buttons and any other XAML content.
ContentDialogButtonClickDeferral Represents a deferral that can be used by an app to respond asynchronously to a button click event.
ContentDialogButtonClickEventArgs Provides data for the button click events.
ContentDialogClosedEventArgs Provides data for the Closed event.
ContentDialogClosingDeferral Represents a deferral that can be used by an app to respond asynchronously to the closing event of the ContentDialog.
ContentDialogClosingEventArgs Provides data for the closing event.
ContentDialogOpenedEventArgs Provides data for the Opened event.
ContentPresenter Displays the content of a ContentControl. Can also provide content presentation for non-controls. Provides a base class for specialized presenters such as ScrollContentPresenter.
ContextMenuEventArgs Provides event data for the ContextMenuOpening event that exists on several text-related UI elements.
Control Represents the base class for UI elements that use a ControlTemplate to define their appearance. Parent class for ContentControl, UserControl, ItemsControl and several practical controls.
ControlTemplate Defines the element tree that is used as the control template for a control.
DataTemplateSelector Enables custom template selection logic at the application level.
DatePickedEventArgs Provides data for the DatePicked event.
DatePicker Represents a control that allows a user to pick a date value.
DatePickerFlyout Represents a control that allows a user to pick a date.
DatePickerFlyoutItem Represents the container for an item in the DatePickerFlyout control.
DatePickerFlyoutPresenter Represents a control to allow a user to pick a date.
DatePickerValueChangedEventArgs Provides event data for the DatePicker.DateChanged event.
DragItemsStartingEventArgs Provides event data for the DragItemsStarting event.
FlipView Represents an items control that displays one item at a time, and enables "flip" behavior for traversing its collection of items.
FlipViewItem Represents the container for an item in a FlipView control.
Flyout Represents a control that displays lightweight UI that is either information, or requires user interaction. Unlike a dialog, a Flyout can be light dismissed by clicking or tapping off of it.
FlyoutPresenter Displays the content of a Flyout.
FontIcon Represents an icon that uses a glyph from the specified font.
Frame Displays Page instances, supports navigation to new pages, and maintains a navigation history to support forward and backward navigation.
Grid Defines a flexible grid area that consists of columns and rows. Child elements of the Grid are measured and arranged according to their row/column assignments (set by using Grid.Row and Grid.Column attached properties) and other logic.
GridView Represents a control that displays a horizontal grid of data items.
GridViewHeaderItem Represents a group header for a group inside a GridView.
GridViewItem Represents the container for an item in a GridView control.
GroupItem Represents the root element for a subtree that is created for a group.
GroupStyle Describes how to display the grouped items in a collection, such as the collection from GroupItems.
GroupStyleSelector Enables custom group style selection logic as a function of the parent group and its level.
Hub Represents a control that displays groups of content in a panning view.
HubSection Represents a single group of content in a Hub.
HubSectionCollection Represents an ordered collection of HubSection objects.
HubSectionHeaderClickEventArgs Provides data for the Hub.SectionHeaderClick event.
HyperlinkButton Represents a button control that displays a hyperlink.
IconElement Represents the base class for an icon UI element.
Image Represents a control that displays an image. The image source is specified by referring to an image file, using several supported formats. The image source can also be set with a stream.
ItemClickEventArgs Provides event data for the ItemClick event.
ItemCollection Holds the list of items that represent the content of an ItemsControl.
ItemContainerGenerator Provides mappings between the items of an ItemsControl and their container elements.
ItemsControl Represents a control that can be used to present a collection of items.
ItemsPanelTemplate Specifies the panel that the ItemsPresenter creates for the layout of the items of an ItemsControl.
ItemsPickedEventArgs Provides data for the ItemsPicked event.
ItemsPresenter Specifies where items are placed in a control, usually an ItemsControl.
ItemsStackPanel Arranges child elements into a single line that can be oriented horizontally or vertically. Supports pixel-based UI virtualization and grouped layouts. Can only be used to display items in an ItemsControl that shows multiple items; not supported for ComboBox and FlipView.
ItemsWrapGrid Positions child elements sequentially from left to right or top to bottom. When elements extend beyond the container edge, elements are positioned in the next row or column. Supports pixel-based UI virtualization and grouped layouts. Can only be used to display items in an ItemsControl that shows multiple items; not supported for ComboBox and FlipView.
ListBox Contains a list of selectable items.
ListBoxItem Represents the container for an item in a ListBox control.
ListPickerFlyout Represents a control that allows a user to pick one or more items from a list.
ListPickerFlyoutPresenter Represents a control that allows a user to pick one or more items from a list.
ListView Represents a control that displays a vertical list of data items.
ListViewBase Provides the infrastructure for the ListView and GridView classes.
ListViewBaseHeaderItem Provides the infrastructure for the ListViewHeaderItem and GridViewHeaderItem classes.
ListViewHeaderItem Represents a group header for a group inside a ListView.
ListViewItem Represents the container for an item in a ListView control.
ListViewPersistenceHelper Represents a helper class to save and retrieve the relative scroll position of the ListView.
MediaElement Represents an object that renders audio and video to the display.
MenuFlyout Represents a flyout that displays a menu of commands.
MenuFlyoutItem Represents a command in a MenuFlyout control.
MenuFlyoutItemBase Represents the base class for items in a MenuFlyout control.
MenuFlyoutPresenter Displays the content of a MenuFlyout control.
MenuFlyoutSeparator Represents a horizontal line that separates items in an MenuFlyout.
NotifyEventArgs Provides data for the ScriptNotify event.
Page Represents content that a Frame control can navigate to.
Panel Provides a base class for all Panel elements. Use Panel elements to position and arrange child objects in a UI page.
PasswordBox Represents a control for entering passwords.
PathIcon Represents an icon that uses a vector path as its content.
PickerConfirmedEventArgs Provides data for the PickerConfirmed event.
PickerFlyout Represents a custom picker control.
PickerFlyoutPresenter Represents a custom picker.
Pivot The Pivot control provides a quick way to manage the navigation of views within an application. The control can be used as a navigation interface for filtering large sets or switching between views.
PivotItem PivotItem is the container for items in the Pivot control. The item has both a set of visual states for position and a Header, effectively a headered ContentControl.
PivotItemEventArgs Event arguments for dynamically interacting with the PivotItem before use, allowing for delay load scenarios.
ProgressBar Represents a control that indicates the progress of an operation, where the typical visual appearance is a bar that animates a filled area as progress continues.
ProgressRing Represents a control that indicates that an operation is ongoing. The typical visual appearance is a ring-shaped "spinner" that cycles an animation as progress continues.
RadioButton Represents a button that allows a user to select a single option from a group of options.
RichEditBox Represents a rich text editing control that supports formatted text, hyperlinks, and other rich content.
RichTextBlock Represents a rich text display container that supports formatted text, hyperlinks, inline images, and other rich content. RichTextBlock supports a built-in overflow model.
RichTextBlockOverflow Represents a rich text display overflow container. This element cannot have direct content. The only purpose of RichTextBlockOverflow is to display text content that does not fit in the bounds of a RichTextBlock or another RichTextBlockOverflow element.
RowDefinition Defines row-specific properties that apply to Grid elements.
RowDefinitionCollection Provides access to an ordered, strongly typed collection of RowDefinition objects.
ScrollContentPresenter Displays the content of a ScrollViewer control.
ScrollViewer Represents a scrollable area that can contain other visible elements.
ScrollViewerView Provides a view for a ScrollViewer when its view is changing.
ScrollViewerViewChangedEventArgs Provides event data for the ViewChanged event and similar control-specific events.
ScrollViewerViewChangingEventArgs Provides event data for the ViewChanging event and similar control-specific events.
SearchBox Represents a control that can be used to enter search query text.
SearchBoxQueryChangedEventArgs Provides event data for the SearchBox.QueryChanged event.
SearchBoxQuerySubmittedEventArgs Provides event data for the SearchBox.QuerySubmitted event.
SearchBoxResultSuggestionChosenEventArgs Provides event data for the SearchBox.ResultSuggestionChosen event.
SearchBoxSuggestionsRequestedEventArgs Provides event data for the SearchBox.SuggestionsRequested event.
SectionsInViewChangedEventArgs Provides data for the Hub.SectionsInViewChanged event.
SelectionChangedEventArgs Provides data for the SelectionChanged event.
SemanticZoom Represents a scrollable control that incorporates two views that have a semantic relationship. For example, the ZoomedOutView might be an index of titles, and the ZoomedInView might include details and summaries for each of the title entries. Views can be changed using zoom or other interactions.
SemanticZoomLocation Communicates information for items and view state in a SemanticZoom, such that hosts for scrolling and virtualization (such as ListViewBase) can get correct item and bounds information.
SemanticZoomViewChangedEventArgs Provides event data for the ViewChangeStarted and ViewChangeCompleted events.
SettingsFlyout Represents a control that provides in-context access to settings that affect the current app.
Slider Represents a control that lets the user select from a range of values by moving a Thumb control along a track.
StackPanel Arranges child elements into a single line that can be oriented horizontally or vertically.
StyleSelector Enables custom item style selection logic as a function of the content data and its specific item container.
SwapChainBackgroundPanel Implements a XAML layout surface target for Microsoft DirectX interoperation scenarios.
SwapChainPanel Provides a hosting surface, where Microsoft DirectX swap chains provide content that can be rendered into a XAML UI. A SwapChainPanel element is a key component for an app that renders Microsoft DirectX graphics and then presents those visuals within a XAML page.
SymbolIcon Represents an icon that uses a glyph from the Segoe UI Symbol font as its content.
TextBlock Provides a lightweight control for displaying small amounts of text.
TextBox Represents a control that can be used to display single-format, multi-line text.
TextChangedEventArgs Provides data for the TextChanged event.
TextControlPasteEventArgs Provides data for the text control Paste event.
TimePickedEventArgs Provides data for the TimePicked event.
TimePicker Represents a control that allows a user to pick a time value.
TimePickerFlyout Represents a control that allows a user to pick a time value.
TimePickerFlyoutPresenter Represents the visual container for the TimePickerFlyout.
TimePickerValueChangedEventArgs Provides event data for the TimePicker.TimeChanged event.
ToggleMenuFlyoutItem Represents an item in a MenuFlyout that a user can change between two states, checked or unchecked.
ToggleSwitch Represents a switch that can be toggled between two states.
ToolTip Represents a control that creates a pop-up window that displays information for an element in the UI.
ToolTipService Represents a service that provides static methods to display a ToolTip.
UIElementCollection Represents an ordered collection of UIElement objects.
UserControl Provides the base class for defining a new control that encapsulates related existing controls and provides its own logic.
VariableSizedWrapGrid Provides a grid-style layout panel where each tile/cell can be variable size based on content.
Viewbox Defines a content decorator that can stretch and scale a single child to fill the available space.
VirtualizingPanel Provides a framework for Panel elements that virtualize their visual children.
VirtualizingStackPanel Arranges and virtualizes content on a single line that is oriented either horizontally or vertically. Can only be used to display items in an ItemsControl.
WebView Provides a control that hosts HTML content in an app.
WebViewBrush Provides a brush that renders the content that is currently hosted in a WebView control. This class is not supported on Windows Phone. WebView content will not be captured.
WebViewContentLoadingEventArgs Provides data for the WebView.ContentLoading event.
WebViewDOMContentLoadedEventArgs Provides data for the DOMContentLoaded event.
WebViewLongRunningScriptDetectedEventArgs Provides data for the WebView.LongRunningScriptDetected event.
WebViewNavigationCompletedEventArgs Provides data for the WebView.NavigationCompleted and FrameNavigationCompleted events.
WebViewNavigationFailedEventArgs Provides data for the WebView.NavigationFailed event.
WebViewNavigationStartingEventArgs Provides data for the WebView.NavigationStarting and FrameNavigationStarting events.
WebViewUnviewableContentIdentifiedEventArgs Provides data for the WebView.UnviewableContentIdentified event.
WrapGrid Positions child elements sequentially from left to right or top to bottom. When elements extend beyond the container edge, elements are positioned in the next row or column. Can only be used to display items in an ItemsControl.

 

Delegates

The Windows.UI.Xaml.Controls namespace has these delegates.

DelegateDescription
BackClickEventHandler Represents the method that will handle a BackClick event.
CleanUpVirtualizedItemEventHandler Represents the method that handles the CleanUpVirtualizedItemEvent attached event.
ContextMenuOpeningEventHandler Represents the method that will handle the ContextMenuOpening event that exists on several text-related UI elements.
DateSelectionCompletedEventHandler Represents the method that will handle the SelectionAccepted event.
DragItemsStartingEventHandler Represents the method that will handle the DragItemsStarting event.
DropDownVisibilityChangedEventHandler DropDownVisibilityChangedEventHandler
GetSerializationKeyForItemHandler Represents the callback method that is called by the system in
HubSectionHeaderClickEventHandler Represents the method that will handle a Hub.SectionHeaderClick event.
ItemClickEventHandler Represents the method that will handle an ItemClick event.
ItemsSelectionCompletedEventHandler Represents the method that will handle the SelectionAccepted event.
ListViewItemToKeyHandler Represents the method that will handle the ListViewItemToKey callback.
ListViewKeyToItemHandler Represents the asynchronous method that will handle the ListViewKeyToItem callback.
NotifyEventHandler Represents the method that will handle the ScriptNotify event.
SectionsInViewChangedEventHandler Represents the method that will handle a SectionsInViewChanged event.
SelectionChangedEventHandler Represents the method that will handle the SelectionChanged event.
SemanticZoomViewChangedEventHandler Represents the method that will handle the ViewChangeStarted and ViewChangeCompleted events.
TextChangedEventHandler Represents the method that will handle the TextChanged event.
TextControlPasteEventHandler Represents the method that will handle a Paste event.
WebViewNavigationFailedEventHandler Represents the method that will handle the WebView.NavigationFailed event.

 

Enumerations

The Windows.UI.Xaml.Controls namespace has these enumerations.

EnumerationDescription
AppBarClosedDisplayMode Defines constants that specify whether icon buttons are displayed when an app bar is not completely open.
AutoSuggestionBoxTextChangeReason Values used to indicate the reason for the text changing in the AutoSuggestBox.
ClickMode Specifies when the Click event should be raised for a control.
ContentDialogResult Specifies identifiers to indicate the return value of a ContentDialog
IncrementalLoadingTrigger Defines constants that specify list view incremental loading behavior (IncrementalLoadingTrigger property).
ItemsUpdatingScrollMode Defines constants that specify the scrolling behavior of items while updating.
ListPickerFlyoutSelectionMode Defines constants that specify the selection mode of a ListPickerFlyout.
ListViewReorderMode Defines constants that specify the reorder mode of a ListView or GridView.
ListViewSelectionMode Defines constants that specify the selection mode of a ListView or GridView.
Orientation Defines constants that specify the different orientations that a control or layout can have.
PanelScrollingDirection Defines constants that specify the direction that a panel is scrolling.
PivotSlideInAnimationGroup Defines constants that specify the different slide-in animation groups that Pivot elements can belong to.
RouteViewKind Determines the colors that are used to display a route.
ScrollBarVisibility Defines constants that specify the visibility of a scrollbar within a ScrollViewer control.
ScrollIntoViewAlignment Defines constants that describe how an item that is programmatically scrolled into view aligns with the visible area.
ScrollMode Defines constants that specify scrolling behavior for ScrollViewer and other parts involved in scrolling scenarios.
SelectionMode Defines constants that specify the selection behavior for a ListBox.
SnapPointsType Defines constants that specify how panning snap points are processed for gesture/manipulation input.
StretchDirection Defines constants that specify the direction that content is scaled.
Symbol Defines constants that specify a glyph from the Segoe UI Symbol font to use as the content of a SymbolIcon.
VirtualizationMode Defines constants that specify how VirtualizingStackPanel manages item containers for its child items.
ZoomMode Defines constants that specify the current mode for zoom behavior in the ScrollViewer content.

 

Interfaces

The Windows.UI.Xaml.Controls namespace defines these interfaces.

InterfaceDescription
ICommandBarElement Defines the compact view for command bar elements.
IItemContainerMapping Provides methods that let an ItemsControl map data items to UI containers.
INavigate Defines the navigation action for navigation hosts and navigation initiators.
ISemanticZoomInformation Communicates the info needed for a view to serve as one of the two possible views (ZoomedOutView or ZoomedInView) of a SemanticZoom.

 

Structures

The Windows.UI.Xaml.Controls namespace has these structures.

StructureDescription
GeoRectangle A rectangle that surrounds a geographic area.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft. All rights reserved.