CommunityToolkit.WinUI.UI.Controls Namespace

Classes

AdaptiveGridView

The AdaptiveGridView control allows to present information within a Grid View perfectly adjusting the total display available space. It reacts to changes in the layout as well as the content so it can adapt to different form factors automatically.

BladeItem

The Blade is used as a child in the BladeView

BladeView

A container that hosts BladeItem controls in a horizontal scrolling list Based on the Azure portal UI

CameraPreview

Camera Control to preview video. Can subscribe to video frames, software bitmap when they arrive.

Carousel

A modern UI Carousel control. Really flexible. Works with touch, keyboard, mouse.

CarouselItem

Represents the container for an item in a Carousel control.

CarouselPanel

The panel used in the Carousel control

Case

Case is the value container for the SwitchPresenter.

CaseCollection

An collection of Case to help with XAML interop.

CodeBlockResolvingEventArgs

Arguments for the CodeBlockResolving event when a Code Block is being rendered.

ColorPicker

Presents a color spectrum, a palette of colors, and color channel sliders for user selection of a color.

ColorPickerButton

A Microsoft.UI.Xaml.Controls.DropDownButton which displays a color as its Content and it's Flyout is a ColorPicker.

DataGrid

Control to represent data in columns and rows.

DataGrid.DisplayIndexComparer

Comparator class so we can sort list by the display index

DataGridAutoGeneratingColumnEventArgs

Provides data for the AutoGeneratingColumn event.

DataGridBeginningEditEventArgs

Provides data for the BeginningEdit event.

DataGridBoundColumn

Represents a DataGrid column that can bind to a property in the grid's data source.

DataGridCell

Represents an individual DataGrid cell.

DataGridCellEditEndedEventArgs

Provides information just after a cell has exited editing mode.

DataGridCellEditEndingEventArgs

Provides information just before a cell exits editing mode.

DataGridCheckBoxColumn

Represents a DataGrid column that hosts CheckBox controls in its cells.

DataGridColumn

Represents a DataGrid column.

DataGridColumnEventArgs

Provides data for DataGrid column-related events.

DataGridColumnReorderingEventArgs

Provides data for the ColumnReordering event.

DataGridComboBoxColumn

Represents a DataGrid column that hosts textual content in its cells. In edit mode data can be changed to a value from a collection hosted in a ComboBox.

DataGridPreparingCellForEditEventArgs

Provides data for the PreparingCellForEdit event.

DataGridRow

Represents a DataGrid row.

DataGridRowClipboardEventArgs

This class encapsulates a selected row's information necessary for the CopyingRowClipboardContent event.

DataGridRowDetailsEventArgs

Provides data for the LoadingRowDetails, UnloadingRowDetails, and RowDetailsVisibilityChanged events.

DataGridRowEditEndedEventArgs

Provides information just after a row has exited edit mode.

DataGridRowEditEndingEventArgs

Provides information just before a row exits editing mode.

DataGridRowEventArgs

Provides data for DataGrid row-related events.

DataGridRowGroupHeader

Represents the header of a DataGrid row group.

DataGridRowGroupHeaderEventArgs

EventArgs used for the DataGrid's LoadingRowGroup and UnloadingRowGroup events

DataGridTemplateColumn

Represents a DataGrid column that hosts template-specified content in its cells.

DataGridTextColumn

Represents a DataGrid column that hosts textual content in its cells.

DockPanel

Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

DropShadowPanel

The DropShadowPanel control allows the creation of a DropShadow for any Xaml FrameworkElement in markup making it easier to add shadows to Xaml without having to directly drop down to Microsoft.UI.Composition APIs.

EditorChangedArgs

Arguments relating to a change of Editor

Expander

The Expander control allows user to show/hide content based on a boolean state

Eyedropper

The Eyedropper control can pick up a color from anywhere in your application.

EyedropperColorChangedEventArgs

Provides event data for the ColorChanged event.

EyedropperToolButton

The EyedropperToolButton control helps use Eyedropper in view.

FluentColorPalette

Implements the standard Windows 10 color palette.

GridSplitter

Represents the control that redistributes space between columns or rows of a Grid control.

HeaderedContentControl

Provides the base implementation for all controls that contain single content and have a header.

HeaderedItemsControl

Represents a control that contains multiple items and has a header.

ImageCropper

The ImageCropper control allows user to crop image freely.

ImageCropperThumb

The ImageCropperThumb control is used for ImageCropper.

ImageEx

The ImageEx control extends the default Image platform control improving the performance and responsiveness of your Apps. Source images are downloaded asynchronously showing a load indicator while in progress. Once downloaded, the source image is stored in the App local cache to preserve resources and load time next time the image needs to be displayed.

ImageExBase

Base Code for ImageEx

ImageExFailedEventArgs

Provides data for the ImageEx ImageFailed event.

ImageExOpenedEventArgs

Provides data for the ImageEx ImageOpened event.

ImageResolvingEventArgs

Arguments for the ImageResolving event which is called when a url needs to be resolved to a Microsoft.UI.Xaml.Media.ImageSource.

InAppNotification

In App Notification defines a control to show local notification in the app.

InAppNotificationClosedEventArgs

Provides data for the InAppNotification Dismissing event.

InAppNotificationClosingEventArgs

Provides data for the InAppNotification Dismissing event.

InAppNotificationOpeningEventArgs

Provides data for the InAppNotification Dismissing event.

InfiniteCanvas

InfiniteCanvas is a canvas that supports Ink, Text, Format Text, Zoom in/out, Redo, Undo, Export canvas data, Import canvas data.

InfiniteCanvasTextBox

This is the infiniteCanvas custom textbox that is used to write to the canvas. This control is used as part of the InfiniteCanvas

InfiniteCanvasVirtualDrawingSurface

The virtual Drawing surface renderer used to render the ink and text. This control is used as part of the InfiniteCanvas

InlineCollectionWrapper

A wrapper class for Microsoft.UI.Xaml.Controls.TextBlock.Inlines to hack the problem that Microsoft.UI.Xaml.Documents.InlineCollection. has no accessible constructor

LayoutTransformControl

Control that implements support for transformations as if applied by LayoutTransform.

LinkClickedEventArgs

Arguments for the OnLinkClicked event which is fired then the user presses a link.

ListDetailsView

Panel that allows for a List/Details pattern.

Loading

Loading control allows to show an loading animation with some xaml in it.

MarkdownRenderedEventArgs

Arguments for the OnMarkdownRendered event which indicates when the markdown has been rendered.

MarkdownTextBlock

An efficient and extensible control that can parse and render markdown.

Menu

Menu Control defines a menu of choices for users to invoke.

MenuItem

Menu Item is the items main container for Class Menu control

MetadataControl

Display MetadataItems separated by bullets.

OrbitView

ItemsControl that lays out items in a circle with support for orbits and anchors

OrbitViewDataItem

A class that can be used to provide data context for OrbitView items by providing distance and diameter values

OrbitViewDataItemCollection

The OrbitViewDataItemCollection provides typed collection of OrbitViewDataItem.

OrbitViewElementProperties

Class used by the OrbitViewPanel to store XY and distance values

OrbitViewItem

ContentControl used as the container for OrbitView items

OrbitViewItemClickedEventArgs

A class used by the OrbitView ItemClicked Event

OrbitViewPanel

A panel used by the OrbitView control

OrbitViewPanelItemArrangedArgs

Event args used by the OrbitViewPanel ItemArranged event

OrbitViewPanelItemsArrangedArgs

Event args used by the OrbitViewPanel ItemsArranged event

PreviewFailedEventArgs

PreviewFailed Event Args

RadialGauge

A Modern UI Radial Gauge using XAML and Composition API. The scale of the gauge is a clockwise arc that sweeps from MinAngle (default lower left, at -150°) to MaxAngle (default lower right, at +150°).

RadialGaugeAutomationPeer

Exposes RadialGauge to Microsoft UI Automation.

RadialProgressBar

An alternative implementation of a progress bar. Progression is represented by a loop filling up in a clockwise fashion. Like the traditional progress bar, it inherits from RangeBase, so Minimum, Maximum and Value properties work the same way.

RangeChangedEventArgs

Event args for a value changing event

RangeSelector

RangeSelector is a "double slider" control for range values.

RemoteDevicePicker

Picker Control to show List of Remote Devices that are accessible

RotatorTile

An items control that presents enumerable content similar to the live tiles on the start menu.

ShortcutKeyRequestArgs

Arguments relating to a CTRL Key Shortcut being activated.

StaggeredLayout

Arranges child elements into a staggered grid pattern where items are added to the column that has used least amount of space.

StaggeredPanel

Arranges child elements into a staggered grid pattern where items are added to the column that has used least amount of space.

SwitchPresenter

The SwitchPresenter is a Microsoft.UI.Xaml.Controls.ContentPresenter which can allow a developer to mimic a switch statement within XAML. When provided a set of Cases and a Value, it will pick the matching Case with the corresponding Value.

TabbedCommandBar

A basic TabbedCommandBar control that houses TabbedCommandBarItems

TabbedCommandBarItem

A Microsoft.UI.Xaml.Controls.CommandBar to be displayed in a TabbedCommandBar

TabbedCommandBarItemTemplateSelector

Microsoft.UI.Xaml.Controls.DataTemplateSelector used by TabbedCommandBar for determining the style of normal vs. contextual TabbedCommandBarItems.

TextToolbar

Toolbar for Editing Text attached to a RichEditBox

TileControl

A ContentControl that show an image repeated many times. The control can be synchronized with a ScrollViewer and animated easily.

TokenItemAddingEventArgs

Event arguments for TokenItemAdding event.

TokenItemRemovingEventArgs

Event arguments for TokenItemRemoving event.

TokenizingTextBox

A text input control that auto-suggests and displays token items.

TokenizingTextBoxItem

A control that manages as the item logic for the TokenizingTextBox control.

TokenizingTextBoxStyleSelector

Microsoft.UI.Xaml.Controls.StyleSelector used by TokenizingTextBox to choose the proper TokenizingTextBoxItem container style (text entry or token).

UniformGrid

The UniformGrid control presents information within a Grid with even spacing.

WrapLayout

Arranges elements by wrapping them to fit the available space. When Orientation is set to Orientation.Horizontal, element are arranged in rows until the available width is reached and then to a new row. When Orientation is set to Orientation.Vertical, element are arranged in columns until the available height is reached.

WrapPanel

WrapPanel is a panel that position child control vertically or horizontally based on the orientation and when max width / max height is reached a new row (in case of horizontal) or column (in case of vertical) is created to fit new controls.

Structs

DataGridClipboardCellContent

This structure encapsulate the cell information necessary when clipboard content is prepared.

DataGridLength

Represents the lengths of elements within the DataGrid control.

MetadataItem

An item to display in MetadataControl.

Proj

Structure used when an item moves

Interfaces

IColorPalette

Interface to define a color palette.

ITokenStringContainer

Provides access to unresolved token string values within the tokenizing text box control

Enums

BackButtonBehavior

The behavior to use for navigating between the ListDetailsView list and details views

BitmapFileFormat

This denotes the format used when saving a bitmap to a file.

BladeMode

The blade mode.

ColorChannel

Defines a specific channel within a color representation.

ColorRepresentation

Defines how colors are represented.

CropShape

Crop shape enumeration. Default is Rectangular

DataGridClipboardCopyMode

Defines modes that indicates how DataGrid content is copied to the Clipboard.

DataGridEditAction

Used to specify action to take out of edit mode.

DataGridEditingUnit

Determines whether the current cell or row is edited.

DataGridGridLinesVisibility

Determines whether the inner cells' vertical/horizontal gridlines are shown or not.

DataGridHeadersVisibility

Determines whether the row/column headers are shown or not.

DataGridLengthUnitType

DataGridLengthUnitType

DataGridRowDetailsVisibilityMode

Determines the visibility of the row details.

DataGridSelectionMode

Determines the selection model.

DataGridSortDirection

Determines the sort direction of a column.

Dock

Specifies the Dock position of a child element that is inside a DockPanel.

ExpandDirection

Expand direction enumeration

GridSplitter.GridResizeBehavior

Enum to indicate what Columns or Rows the GridSplitter resizes

GridSplitter.GridResizeDirection

Enum to indicate whether GridSplitter resizes Columns or Rows

GridSplitter.GripperCursorType

Enum to indicate the supported gripper cursor types.

GridSplitter.SplitterCursorBehavior

Enum to indicate the behavior of window cursor on grid splitter hover

ImageAlignment

Image alignment

InAppNotificationDismissKind

Enumeration to describe how an InAppNotification was dismissed

ListDetailsViewState

The ListDetailsView state.

RangeSelectorProperty

Enumeration used to determine what value triggered ValueChanged event on the RangeSelector

RemoteDeviceSelectionMode

Remote Devices Selection Mode.

RotatorTile.RotateDirection

Tile Slide Direction

ScrollOrientation

Orientation of the scroll

StackMode

The Stack mode of an in-app notification.

StretchChild

Options for how to calculate the layout of Microsoft.UI.Xaml.Controls.WrapGrid items.

ThumbPlacement

Thumb placement enumeration. Default is All

Delegates

ImageExFailedEventHandler

A delegate for ImageEx failed.

ImageExOpenedEventHandler

A delegate for ImageEx opened.

InAppNotificationClosedEventHandler

A delegate for InAppNotification dismissing.

InAppNotificationClosingEventHandler

A delegate for InAppNotification dismissing.

InAppNotificationOpeningEventHandler

A delegate for InAppNotification opening.