Dela via


Windows.UI.Xaml.Controls Namespace

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

Classes

AnchorRequestedEventArgs

Provides data for the ScrollViewer.AnchorRequested event.

AppBar

Represents the container control that holds app UI components for commanding and experiences. For Windows 10, see Remarks.

AppBarButton

Represents a templated button control to be displayed in an AppBar.

AppBarElementContainer

Represents a container that allows an element that doesn't implement ICommandBarElement to be displayed in a command bar.

AppBarSeparator

Represents a line that separates items in an AppBar or CommandBar.

AppBarToggleButton

Represents a button control that can switch states and be displayed in an AppBar.

AutoSuggestBox

Represents a text control that makes suggestions to users as they enter text using a keyboard or pen (using ink and handwriting recognition). The app is notified when text has been changed by the user and is responsible for providing relevant suggestions for this control to display.

AutoSuggestBoxQuerySubmittedEventArgs

Provides event data for the AutoSuggestBox.QuerySubmitted event.

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.

BitmapIconSource

Represents an icon source that uses a bitmap as its content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.BitmapIconSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Border

Draws a border, background, or both, around another object.

Button

Represents a templated button control that interprets a Click user interaction.

CalendarDatePicker

Represents a control that allows a user to pick a date from a calendar display.

CalendarDatePickerDateChangedEventArgs

Provides event data for the DateChanged event.

CalendarView

Represents a control that enables a user to select a date by using a visual calendar display.

CalendarViewDayItem

Represents a day on a CalendarView.

CalendarViewDayItemChangingEventArgs

Provides data for the CalendarViewDayItemChanging event.

CalendarViewSelectedDatesChangedEventArgs

Provides data for the SelectedDatesChanged event.

CandidateWindowBoundsChangedEventArgs

Provides event data for the CandidateWindowBoundsChanged event.

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. CaptureElement is used in conjunction with the Windows.Media.Capture.MediaCapture API, and must be hooked up in the code behind.

CheckBox

Represents a control that a user can select (check) or clear (uncheck). A CheckBox can also report its value as indeterminate.

ChoosingGroupHeaderContainerEventArgs

Provides event data for the ListViewBase.ChoosingGroupHeaderContainer event.

ChoosingItemContainerEventArgs

Provides event data for the ListViewBase.ChoosingItemContainer event.

CleanUpVirtualizedItemEventArgs

Provides data for the CleanUpVirtualizedItemEvent event.

ColorChangedEventArgs

Provides event data for the ColorChanged event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ColorPicker

Represents a control that lets a user pick a color using a color spectrum, sliders, and text input.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPicker (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

ComboBoxTextSubmittedEventArgs

Provides data when the user enters custom text into the ComboBox.

CommandBar

Represents a specialized app bar that provides layout for AppBarButton and related command elements.

CommandBarFlyout

Represents a specialized flyout that provides layout for AppBarButton and related command elements.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.CommandBarFlyout (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

CommandBarOverflowPresenter

Displays the overflow content of a CommandBar.

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.

ContentLinkChangedEventArgs

Provides data for the RichEditBox.ContentLinkChanged 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.

DatePickerSelectedValueChangedEventArgs

Provides event data for the DatePicker.SelectedDateChanged event.

DatePickerValueChangedEventArgs

Provides event data for the DatePicker.DateChanged event.

DragItemsCompletedEventArgs

Provides event data for the DragItemsCompleted event.

DragItemsStartingEventArgs

Provides event data for the DragItemsStarting event.

DropDownButton

Represents a button with a chevron intended to open a menu.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.DropDownButton (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

DropDownButtonAutomationPeer

Exposes DropDownButton types to Microsoft UI Automation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.DropDownButtonAutomationPeer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

DynamicOverflowItemsChangingEventArgs

Provides data for the CommandBar.DynamicOverflowItemsChanging 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 outside of it, pressing the device's back button, or pressing the 'Esc' key.

FlyoutPresenter

Displays the content of a Flyout.

FocusDisengagedEventArgs

Provides data for the FocusDisengaged event.

FocusEngagedEventArgs

Provides data for the FocusEngaged event.

FontIcon

Represents an icon that uses a glyph from the specified font.

FontIconSource

Represents an icon source that uses a glyph from the specified font.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.FontIconSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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 data items in rows and columns.

GridViewHeaderItem

Represents items in the header for grouped data 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.

HandwritingPanelClosedEventArgs

Provides event data for the HandwritingView.Closed event.

HandwritingPanelOpenedEventArgs

Provides event data for the HandwritingView.Opened event.

HandwritingView

Represents a Windows Ink input surface for text input controls.

HandwritingViewCandidatesChangedEventArgs

Provides event data for the HandwritingView.CandidatesChanged event.

HandwritingViewContentSizeChangingEventArgs
HandwritingViewTextSubmittedEventArgs

Provides event data for the HandwritingView.TextSubmitted event.

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 functions as a hyperlink.

IconElement

Represents the base class for an icon UI element.

IconSource

Represents the base class for an icon source.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.IconSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

IconSourceElement

Represents an icon that uses an IconSource as its content.

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. See Remarks for the list of supported image source formats.

InkCanvas

Defines an area that receives and displays all pen input as either an ink stroke or an erase stroke (input from an eraser tip, or the pen tip when modified with an erase button).

InkToolbar

Represents a Universal Windows app control containing a customizable and extensible collection of buttons that activate ink-related features in an associated InkCanvas.

InkToolbarBallpointPenButton

Represents an InkToolbar button that activates the built-in ballpoint pen.

InkToolbarCustomPen

Represents an InkToolbar pen for which the ink color palette and pen tip properties, such as shape, rotation, and size, are defined by the host app.

InkToolbarCustomPenButton

Represents an InkToolbar button that activates a pen for which the ink color palette and pen tip properties, such as shape, rotation, and size, are defined by the host app.

InkToolbarCustomToggleButton

Represents an InkToolbar button that sets the state of an app-defined feature to on or off. When turned on, the feature works in conjunction with the active tool.

InkToolbarCustomToolButton

Represents an InkToolbar button that invokes a non-pen tool, defined by the host app.

InkToolbarEraserButton

Represents an InkToolbar button that activates the built-in eraser tool.

InkToolbarFlyoutItem

Represents an InkToolbar button on a flyout. This item can be a basic button, a radio button, a radio toggle button, or a check box.

InkToolbarHighlighterButton

Represents an InkToolbar toggle button control that activates the built-in highlighter pen.

InkToolbarIsStencilButtonCheckedChangedEventArgs

Provides data for the IsStencilButtonCheckedChanged event.

InkToolbarMenuButton

Represents an InkToolbar button that invokes a menu of tools, defined by the host app.

InkToolbarPenButton

Provides a base class for all built-in and custom pen buttons on an InkToolbar.

InkToolbarPencilButton

Represents an InkToolbar toggle button control that activates the built-in pencil.

InkToolbarPenConfigurationControl

Represents an object used to configure an optional flyout associated with an InkToolbarCustomPenButton. An "extension glyph" is displayed on the button to indicate the existence of the flyout.

InkToolbarRulerButton

Represents an InkToolbar button that sets the state of the built-in ruler tool to on or off.

InkToolbarStencilButton

Represents an InkToolbar button that sets the state of stencil tool to on or off.

InkToolbarToggleButton

Represents an object that provides infrastructure for both built-in and custom toggle buttons on an InkToolbar.

InkToolbarToolButton

Provides a base class for all built-in and custom buttons on an InkToolbar.

IsTextTrimmedChangedEventArgs

Provides event data for the IsTextTrimmedChanged event.

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 of an ItemsControl into a single line that can be oriented horizontally or vertically. Supports pixel-based UI virtualization and grouped layouts.

ItemsWrapGrid

Positions child elements sequentially from left to right or top to bottom in an ItemsControl that shows multiple items. When elements extend beyond the container edge, elements are positioned in the next row or column. Supports pixel-based UI virtualization and grouped layouts.

ListBox

Presents a list of items the user can select from.

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. See Remarks.

ListPickerFlyoutPresenter

Represents a control that allows a user to pick one or more items from a list. (Not recommended for Universal Windows Platform (UWP) app. See Flyout.)

ListView

Represents a control that displays data items in a vertical stack.

ListViewBase

Provides the infrastructure for the ListView and GridView classes.

ListViewBaseHeaderItem

Provides the infrastructure for the ListViewHeaderItem and GridViewHeaderItem classes.

ListViewHeaderItem

Represents items in the header for grouped data 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. See Remarks.

MediaPlayerElement

Represents an object that uses a MediaPlayer to render audio and video to the display.

MediaPlayerPresenter

Represents an object that displays a MediaPlayer.

MediaTransportControls

Represents the playback controls for a media player element.

MediaTransportControlsHelper

Provides properties and methods to customize media transport controls.

MenuBar

Represents a specialized container that presents a set of menus in a horizontal row, typically at the top of an app window.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.MenuBar (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

MenuBarItem

Represents a top-level menu in a MenuBar control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.MenuBarItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

MenuBarItemFlyout

Represents the flyout of a MenuBar item.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.MenuBarItemFlyout (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

MenuFlyoutSubItem

Represents a menu item that displays a sub-menu in a MenuFlyout control.

NavigationView

Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane for navigation commands.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewBackRequestedEventArgs

Provides event data for the NavigationView.BackRequested event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewDisplayModeChangedEventArgs

Provides data for the NavigationView.DisplayModeChanged event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewDisplayModeChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewItem

Represents the container for an item in a NavigationView control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewItemBase

Base class for NavigationView menu items.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItemBase (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewItemHeader

Represents a header for a group of menu items in a NavigationMenu.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItemHeader (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewItemInvokedEventArgs

Provides event data for the NavigationView.ItemInvoked event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewItemSeparator

Represents a line that separates menu items in a NavigationMenu.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItemSeparator (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewList

Represents a control that displays menu items in a NavigationView control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewList (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewPaneClosingEventArgs

Provides data for the NavigationView.PaneClosing event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewSelectionChangedEventArgs

Provides data for the NavigationView.SelectionChanged event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a NavigationView. Not intended for general use.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewTemplateSettings (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

ParallaxView

Represents a container that ties the scroll position of a foreground element, such as a list, to a background element, such as an image. As you scroll through the foreground element, it animates the background element to create a parallax effect.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ParallaxView (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PasswordBox

Represents a control for entering passwords.

PasswordBoxPasswordChangingEventArgs

Provides event data for the PasswordBox.PasswordChanging event.

PathIcon

Represents an icon that uses a vector path as its content.

PathIconSource

Represents an icon source that uses a vector path as its content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.PathIconSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PersonPicture

Represents a control that displays the avatar image for a person, if one is available; if not, it displays the person's initials or a generic glyph.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.PersonPicture (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PickerConfirmedEventArgs

Provides data for the PickerConfirmed event.

PickerFlyout

Represents a custom picker control. (Not recommended for Universal Windows Platform (UWP) app. See Flyout.)

PickerFlyoutPresenter

Represents a custom picker. (Not recommended for Universal Windows Platform (UWP) app. See Flyout.)

Pivot

Represents a control that provides quick navigation of views within an app.

PivotItem

Represents the container for an item in a Pivot control.

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.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ProgressBar (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ProgressRing (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RadioButton

Represents a button that allows a user to select a single option from a group of options.

RatingControl

Represents a control that lets a user enter a star rating.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingControl (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RatingItemFontInfo

Represents information about the visual states of font elements that represent a rating.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemFontInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RatingItemImageInfo

Represents information about the visual states of image elements that represent a rating.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemImageInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RatingItemInfo

Represents information about the visual states of the elements that represent a rating.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingItemInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshContainer

Represents a container control that provides a RefreshVisualizer and pull-to-refresh functionality for scrollable content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshContainer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshInteractionRatioChangedEventArgs

Provides event data.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshInteractionRatioChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshRequestedEventArgs

Provides event data for RefreshRequested events.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshStateChangedEventArgs

Provides event data for the RefreshVisualizer.RefreshStateChanged event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshStateChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshVisualizer

Represents a control that provides animated state indicators for content refresh.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshVisualizer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RelativePanel

Defines an area within which you can position and align child objects in relation to each other or the parent panel.

RichEditBox

Represents a rich text editing control that supports formatted text, hyperlinks, and other rich content.

RichEditBoxSelectionChangingEventArgs

Provides event data for the RichEditBox.SelectionChanging event.

RichEditBoxTextChangingEventArgs

Provides event data for the RichEditBox.TextChanging event.

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. (Not recommended for Universal Windows Platform (UWP) apps. See AutoSuggestBox.)

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

Note

SettingsFlyout is not supported for use in Universal Windows Platform (UWP) app for Windows 10. Instead, use a Flyout.

Note

SettingsFlyout is supported only for use with the SettingsPane in Windows 8. While the SettingsFlyout type is visible in Windows Phone projects, SettingsPane is not present on Windows Phone, so use of SettingsFlyout is not supported.

Represents a control that provides in-context access to settings that affect the current app. (Not recommended for Universal Windows Platform (UWP) app.)

Slider

Represents a control that lets the user select from a range of values by moving a Thumb control along a track.

SplitButton

Represents a button with two parts that can be invoked separately. One part behaves like a standard button and the other part invokes a flyout.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SplitButton (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SplitButtonAutomationPeer

Exposes SplitButton types to Microsoft UI Automation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SplitButtonAutomationPeer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SplitButtonClickEventArgs

Provides event data for the SplitButton.Click event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SplitButtonClickEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SplitView

Represents a container with two views; one view for the main content and another view that is typically used for navigation commands.

SplitViewPaneClosingEventArgs

Provides event data for the SplitView.PaneClosing event.

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. This panel has some atypical restrictions on its usage within an app window; see Remarks.

Important

SwapChainBackgroundPanel may be altered or unavailable for releases after Windows 8.1. Instead, use SwapChainPanel.

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.

SwipeControl

Represents a container that provides access to contextual commands through touch interactions.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeControl (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SwipeItem

Represents an individual command in a SwipeControl.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SwipeItemInvokedEventArgs

Provides event data for the SwipeItem.Invoked event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItemInvokedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SwipeItems

Represents a collection of SwipeItem objects.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItems (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SymbolIcon

Represents an icon that uses a glyph from the Segoe MDL2 Assets font as its content.

SymbolIconSource

Represents an icon source that uses a glyph from the Segoe MDL2 Assets font as its content.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SymbolIconSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TextBlock

Provides a lightweight control for displaying small amounts of text.

TextBox

Represents a control that can be used to display and edit plain text (single or multi-line).

TextBoxBeforeTextChangingEventArgs

Provides event data for the TextBox.BeforeTextChanging event.

TextBoxSelectionChangingEventArgs

Provides event data for the TextBox.SelectionChanging event.

TextBoxTextChangingEventArgs

Provides event data for the TextBox.TextChanging event.

TextChangedEventArgs

Provides data for the TextChanged event.

TextCommandBarFlyout

Represents a specialized command bar flyout that contains commands for editing text.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TextCommandBarFlyout (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TextCompositionChangedEventArgs

Provides event data for the TextCompositionChanged event on TextBox and RichEditBox.

TextCompositionEndedEventArgs

Provides event data for the TextCompositionEnded event on TextBox and RichEditBox.

TextCompositionStartedEventArgs

Provides event data for the TextCompositionStarted event on TextBox and RichEditBox.

TextControlCopyingToClipboardEventArgs

Provides event data for the CopyingToClipboard event.

TextControlCuttingToClipboardEventArgs

Provides event data for the CuttingToClipboard 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.

TimePickerSelectedValueChangedEventArgs

Provides event data for the TimePicker.SelectedTimeChanged event.

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.

ToggleSplitButton

Represents a button with two parts that can be invoked separately. One part behaves like a toggle button and the other part invokes a flyout.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButton (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ToggleSplitButtonAutomationPeer

Exposes ToggleSplitButton types to Microsoft UI Automation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButtonAutomationPeer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ToggleSplitButtonIsCheckedChangedEventArgs

Provides event data for the ToggleSplitButton.IsCheckedChanged event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButtonIsCheckedChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ToggleSwitch

Represents a switch that can be toggled between two states.

ToolTip

Represents a pop-up window for displaying information about an element in the UI.

ToolTipService

Represents a service that provides static methods to display a ToolTip.

TreeView

Represents a hierarchical list with expanding and collapsing nodes that contain nested items.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewCollapsedEventArgs

Provides event data for the TreeView.Collapsed event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewCollapsedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewDragItemsCompletedEventArgs

Provides event data for the TreeView.DragItemsCompleted event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewDragItemsStartingEventArgs

Provides event data for the TreeView.DragItemsStarting event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewExpandingEventArgs

Provides event data for the TreeView.Expanding event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewItem

Represents the container for an item in a TreeView control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewItemInvokedEventArgs

Provides event data for the TreeView.ItemInvoked event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewItemTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a TreeViewItem control. Not intended for general use.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemTemplateSettings (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewList

Represents a flattened list of tree view items so that operations such as keyboard navigation and drag-and-drop can be inherited from ListView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewList (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewNode

Represents a node in a TreeView control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewNode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TwoPaneView

Represents a container with two views that size and position content in the available space, either side-by-side or top-bottom.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneView (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

WebViewContentLoadingEventArgs

Provides data for the WebView.ContentLoading event.

WebViewDeferredPermissionRequest

Represents a deferred request for permissions in a WebView.

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.

WebViewNewWindowRequestedEventArgs

Provides data for the WebView.NewWindowRequested event.

WebViewPermissionRequest

Represents a request for permissions in a WebView.

WebViewPermissionRequestedEventArgs

Provides event data for the WebView.PermissionRequested event.

WebViewSeparateProcessLostEventArgs

Provides event data for the WebView.SeparateProcessLost event.

WebViewSettings

Defines properties that enable or disable WebView features.

WebViewUnsupportedUriSchemeIdentifiedEventArgs

Provides data for the WebView.UnsupportedUriSchemeIdentified event.

WebViewUnviewableContentIdentifiedEventArgs

Provides data for the WebView.UnviewableContentIdentified event.

WebViewWebResourceRequestedEventArgs

Provides event data for the WebView.WebResourceRequested 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. See Remarks.

Interfaces

ICommandBarElement

Defines the compact view for command bar elements.

ICommandBarElement2

Defines members to manage the command bar overflow menu.

IInsertionPanel

Provides methods to let an item be inserted between other items in a drag-and-drop operation.

IItemContainerMapping

Provides methods that let an ItemsControl map data items to UI containers.

INavigate

Defines the navigation action for navigation hosts and navigation initiators.

IScrollAnchorProvider

Specifies a contract for a scrolling control that supports scroll anchoring.

ISemanticZoomInformation

Communicates the info needed for a view to serve as one of the two possible views (ZoomedOutView or ZoomedInView) of a SemanticZoom.

Enums

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.

BackgroundSizing

Defines constants that specify how far an element's background extends in relation to the element's border.

CalendarViewDisplayMode

Defines constants that specify which view of the calendar is shown.

CalendarViewSelectionMode

Defines constants that specify what kind of date selections are allowed in the calendar.

CandidateWindowAlignment

Defines constants that specify how the Input Method Editor (IME) window for text predictions is aligned with a text edit control.

CharacterCasing

Defines constants that specify how a control modifies the case of characters as they are typed.

ClickMode

Specifies when the Click event should be raised for a control.

ColorPickerHsvChannel

Defines contstants that specify which Hue-Saturation-Value-Alpha component a slider in a ColorPicker controls.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPickerHsvChannel (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ColorSpectrumComponents

Defines constants that specify how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorSpectrumComponents (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ColorSpectrumShape

Defines constants that specify how the ColorSpectrum control is shown.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorSpectrumShape (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ComboBoxSelectionChangedTrigger

Defines constants that specify what action causes a SelectionChanged event to occur.

CommandBarDefaultLabelPosition

Defines constants that specify the placement and visibility of AppBarButton labels in a CommandBar.

CommandBarDynamicOverflowAction

Defines constants that specify whether items were added to or removed from the CommandBar overflow menu.

CommandBarLabelPosition

Defines constants that specify the placement and visibility of an app bar button's label.

CommandBarOverflowButtonVisibility

Defines constants that specify when a command bar's overflow button is shown.

ContentDialogButton

Defines constants that specify the default button on a content dialog.

ContentDialogPlacement

Defines constants that specify where in the XAML visual tree a ContentDialog is rooted.

ContentDialogResult

Specifies identifiers to indicate the return value of a ContentDialog

ContentLinkChangeKind

Defines constants that specify what kind of change is being made to a ContentLink.

DisabledFormattingAccelerators

Defines constants that specify which keyboard shortcuts for formatting are disabled in a RichEditBox.

HandwritingPanelPlacementAlignment

Defines constants that specify where the handwriting view panel is anchored to the control.

IncrementalLoadingTrigger

Defines constants that specify list view incremental loading behavior (IncrementalLoadingTrigger property).

InkToolbarButtonFlyoutPlacement

Specifies the location of the ink stroke configuration flyout relative to the InkToolbar.

InkToolbarFlyoutItemKind

Specifies the types of buttons that can be used on an InkToolbar flyout.

InkToolbarInitialControls

Defines constants that specify the built-in buttons (InitialControls) added to an InkToolbar at initialization.

InkToolbarMenuKind

Specifies the types of menu buttons that can be added to an InkToolbar.

InkToolbarStencilKind

Specifies the types of InkToolbar stencils.

InkToolbarToggle

Defines constants that specify the button types exposed in the toggle button group of an InkToolbar.

InkToolbarTool

Defines constants that specify the type of built-in or custom tool associated with the InkToolbarToolButton.

ItemsUpdatingScrollMode

Defines constants that specify the scrolling behavior of items while updating.

LightDismissOverlayMode

Defines constants that specify whether the area outside of a light-dismiss UI is darkened.

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.

NavigationViewBackButtonVisible

Defines constants that specify whether the back button is visible in NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewBackButtonVisible (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewDisplayMode

Defines constants that specify how the pane is shown in a NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewDisplayMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewOverflowLabelMode

Defines constants that specify the label for the overflow button in a NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewOverflowLabelMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewPaneDisplayMode

Defines constants that specify how and where the NavigationView pane is shown.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneDisplayMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewSelectionFollowsFocus

Defines constants that specify whether item selection changes when keyboard focus changes in a NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionFollowsFocus (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

NavigationViewShoulderNavigationEnabled

Defines constants that specify when gamepad bumpers can be used to navigate the top-level navigation items in a NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewShoulderNavigationEnabled (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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.

ParallaxSourceOffsetKind

Defines constants that specify how the source offset values of a ParallaxView are interpreted.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ParallaxSourceOffsetKind (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PasswordRevealMode

Defines constants that specify the password reveal behavior of a PasswordBox.

PivotHeaderFocusVisualPlacement

Defines constants that specify the style of focus visual used for pivot header items.

PivotSlideInAnimationGroup

Defines constants that specify the different slide-in animation groups that Pivot elements can belong to.

RefreshPullDirection

Defines constants that specify the direction to pull a RefreshContainer to initiate a refresh.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshPullDirection (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshVisualizerOrientation

Defines constants that specify the starting position of a RefreshVisualizer's progress spinner.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshVisualizerOrientation (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RefreshVisualizerState

Defines constants that specify the state of a RefreshVisualizer

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshVisualizerState (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RequiresPointer

Defines constants that specify when an element requires a mouse-like pointer behavior from a game pad.

RichEditClipboardFormat

Defines constants that specify the format of text copied from a RichEditBox.

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.

SplitViewDisplayMode

Defines constants that specify how the pane is shown in a SplitView.

SplitViewPanePlacement

Defines constants that specify whether the pane is to the left or right of the content in a SplitView.

StretchDirection

Defines constants that specify the direction that content is scaled.

SwipeBehaviorOnInvoked

Defines constants that specify how a SwipeControl behaves after a command is invoked.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeBehaviorOnInvoked (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SwipeMode

Defines constants that specify the effect of a swipe interaction.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Symbol

Defines constants that specify a glyph from the Segoe MDL2 Assets font to use as the content of a SymbolIcon.

TreeViewSelectionMode

Defines constants that specify the selection behavior for a TreeView instance.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewSelectionMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TwoPaneViewMode

Defines constants that specify how panes are shown in a TwoPaneView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneViewMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TwoPaneViewPriority

Defines constants that specify which pane has priority in a TwoPaneView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneViewPriority (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TwoPaneViewTallModeConfiguration

Defines constants that specify how panes are shown in a TwoPaneView in tall mode.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneViewTallModeConfiguration (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TwoPaneViewWideModeConfiguration

Defines constants that specify how panes are shown in a TwoPaneView in wide mode.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TwoPaneViewWideModeConfiguration (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

VirtualizationMode

Defines constants that specify how VirtualizingStackPanel manages item containers for its child items.

WebViewExecutionMode

Defines constants that specify whether WebView hosts HTML content on the UI thread or on a non-UI thread.

WebViewPermissionState

Defines constants that specify the state of a WebView.PermissionRequested event.

WebViewPermissionType

Defines constants the specify the type of permission requested in a WebView.

ZoomMode

Defines constants that specify the current mode for zoom behavior in the ScrollViewer content.

Delegates

BackClickEventHandler

Represents the method that will handle a BackClick event.

CalendarViewDayItemChangingEventHandler

Represents the method that will handle the CalendarViewDayItemChanging 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.

DragItemsStartingEventHandler

Represents the method that will handle the DragItemsStarting event.

HubSectionHeaderClickEventHandler

Represents the method that will handle a Hub.SectionHeaderClick event.

ItemClickEventHandler

Represents the method that will handle an ItemClick event.

ListViewItemToKeyHandler

Represents the method that will handle callback for the GetRelativeScrollPosition method.

ListViewKeyToItemHandler

Represents the asynchronous method that will handle callback for the SetRelativeScrollPositionAsync method.

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.

See also