Microsoft.Maui.Controls Namespace

Provides all the common layouts an controls classes and everything that goes with it.

Classes

AbsoluteLayout

Positions child elements at absolute positions.

Accelerator

Represents a shortcut key for a MenuItem.

AcceleratorTypeConverter

Class that the XAML parser uses to convert strings to Accelerator objects.

ActivityIndicator

A visual control used to indicate that something is ongoing.

AdaptiveTrigger
AndExpandLayoutManager
Animation

Encapsulates an animation, a collection of functions that modify properties over a user-perceptible time period.

AnimationExtensions

Extension methods for IAnimatable objects.

Application

Class that represents a cross-platform mobile application.

AppLinkEntry

A deep application link in an app link search index.

AppThemeChangedEventArgs
AutomationProperties

Contains both abbreviated and detailed UI information that is supplied to accessibility services.

BackButtonBehavior

A BindableObject specifying the behavior associated with the back button in a Shell application.

BackButtonPressedEventArgs

Internal use only. Contains arguments for the event that is raised when a back button is pressed.

BackgroundingEventArgs
BaseMenuItem

Base class for menu items.

BaseShellItem

A NavigableElement that is the base class for ShellGroupItem and ShellContent.

BaseSwipeEventArgs
Behavior

Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events.

Behavior<T>

Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events.

BindableLayout

Static class specifying the attached properties that allow a ILayout work with a data-bound IEnumerable.

BindableObject

Provides a mechanism to propagate data changes from one object to another. Enables validation, type coercion, and an event system.

BindableObjectExtensions

Contains convenience extension methods for BindableObject.

BindableProperty

A BindableProperty is a backing store for properties allowing bindings on BindableObject.

BindablePropertyConverter

A TypeConverter for bindable properties.

BindablePropertyKey

The secret key to a BindableProperty, used to implement a BindableProperty with restricted write access.

Binding

A single 1:1 immutable data binding.

BindingBase

An abstract class that provides a BindingMode and a formatting option.

BindingCondition

Class that represents a value comparison with the target of an arbitrary binding.

Border
BoundsConstraint

A bounds layout constraint used by RelativeLayouts.

BoundsTypeConverter

A TypeConverter that converts strings into Rectangles for use with AbsoluteLayouts.

BoxView

A View used to draw a solid colored rectangle.

Brush

Defines the core behavior and built-in colors for painting an area.

BrushTypeConverter
BrushTypeConverter.GradientBrushParser
Button

A button View that reacts to touch events.

Button.ButtonContentLayout

Represents the layout of the button content whenever an image is shown.

Button.ButtonContentTypeConverter

A converter to convert a string to a Button.ButtonContentLayout object.

CarouselLayoutTypeConverter
CarouselView

A ItemsView whose scrollable child views 'snap' into place.

Cell

Provides base class and capabilities for all Microsoft.Maui.Controls cells. Cells are elements meant to be added to ListView or TableView.

CheckBox
CheckedChangedEventArgs

Event Args for CheckBox's CheckedChanged event.

ChildGestureRecognizer

A gesture recognizer for use as a child of another.

ClickedEventArgs

Event arguments for a click event.

ClickGestureRecognizer

Recognizer for click gestures.

CloseRequestedEventArgs
CollectionView

A SelectableItemsView that presents a collection of items.

ColumnDefinition

An IDefinition that defines properties for a column in a Grid.

ColumnDefinitionCollection

A DefinitionCollection<T> for ColumnDefinitions.

ColumnDefinitionCollectionTypeConverter
Command

Defines an ICommand implementation that wraps a Action.

Command<T>
CompareStateTrigger
CompressedLayout

Contains attached properties for omitting redundant renderers.

Condition

Base class for conditions.

Configuration<TPlatform,TElement>
ContentPage

A Page that displays a single view.

ContentPresenter

Layout manager for templated views.

ContentPropertyAttribute

Indicates the property of the type that is the (default) content property.

ContentView

An element that contains a single child element.

ControlsColorExtensions
ControlTemplate

Template that specifies a group of styles and effects for controls.

CurrentItemChangedEventArgs
DataPackage
DataPackagePropertySet
DataPackagePropertySetView
DataPackageView
DataTemplate

A template for multiple bindings, commonly used by ListViews and MultiPage<T>s.

DataTemplateSelector

Selects DataTemplate objects by data type and container.

DataTrigger

Class that represents a condition on an arbitrary binding, along with a list of Setter objects that will be applied when the condition is met.

DateChangedEventArgs

Event arguments for DateSelected event.

DatePicker

A View that allows date picking.

DefinitionCollection<T>
DependencyAttribute

An attribute that indicates that the specified type provides a concrete implementation of a needed interface.

DependencyService

Static class that provides the Get<T>(DependencyFetchTarget) factory method for retrieving platform-specific implementations of the specified type T.

DesignMode

Static class that developers can use to determine if the application is running in a previewer.

Device

A utility class to interact with the current Device/Platform.

Device.Styles
DeviceStateTrigger
DisplayDensityChangedEventArgs
DoubleCollection
DoubleCollectionConverter
DragEventArgs

Provides data for the DragOver and DragLeave events.

DragGestureRecognizer

Provides drag gesture recognition and defines the associated events for dragging and dropping.

DragStartingEventArgs

Provides data for the DragStarting event.

DropCompletedEventArgs
DropEventArgs

Provides data for the Drop event.

DropGestureRecognizer
Editor

A control that can edit multiple lines of text.

Effect

A collection of styles and properties that can be added to an element at run time.

EffectiveVisualExtensions
Element

Provides the base class for all Microsoft.Maui.Controls hierarchal elements. This class contains all the methods and properties required to represent an element in the Microsoft.Maui.Controls hierarchy.

ElementEventArgs

Provides data for events pertaining to a single Element.

ElementTemplate

Base class for DataTemplate and ControlTemplate classes.

Entry

Entry is a single line text entry. It is best used for collecting small discrete pieces of information, like usernames and passwords.

EntryCell

A Cell with a label and a single line text entry field.

EventTrigger

Class that represents a triggering event and a list of TriggerAction objects that will be invoked when the event is raised.

ExportEffectAttribute

Attribute that identifies a Effect with a unique identifier that can be used with Resolve(String) to locate an effect.

ExportFontAttribute
FileImageSource

An ImageSource that reads an image from a file.

FileImageSourceConverter

A TypeConverter that converts to FileImageSource.

FlexLayout

A Flexbox-like layout that lays out child elements in optionally wrappable rows or columns of child elements.

FlowDirectionConverter
FlyoutBase
FlyoutItem

A ShellItem that has a collection of Tab objects.

FlyoutPage
FocusEventArgs

Event args for VisualElement's Focused and Unfocused events.

FontAttributesConverter

Converts a string into a FontAttributes object.

FontExtensions
FontImageSource
FontSizeConverter

Converts a string into a font size.

FormattedString

Represents a text with attributes applied to some parts.

Frame

An element containing a single child, with some framing options.

GestureElement

An element that can respond to gestures.

GestureRecognizer

The base class for all gesture recognizers.

GradientBrush
GradientStop
GradientStopCollection
GraphicsView
Grid

A layout that arranges views in rows and columns.

GridExtensions
GridItemsLayout
GridLengthTypeConverter
GroupableItemsView
HandlerAttribute

An abstract attribute whose subclasses specify the platform-specific renderers for Microsoft.Maui.Controls abstract controls.

HandlerChangingEventArgs
HorizontalStackLayout
HtmlWebViewSource

A WebViewSource bound to an HTML-formatted string.

IElementExtensions
Image

View that holds an image.

ImageButton
ImageCell

A TextCell that has an image.

ImageSource

Abstract class whose implementors load images from files or the Web.

ImageSourceConverter

Class that takes a string representation of an image file location and returns a ImageSource from the specified resource.

IndicatorView
InputView

The base class of a view which can take keyboard input.

InvalidNavigationException
ItemsLayout
ItemsLayoutTypeConverter
ItemsView

A View that serves as a base class for views that contain a templated list of items.

ItemsView<TVisual>

A View that serves as a base class for views that contain a templated list of items.

ItemsViewScrolledEventArgs
ItemTappedEventArgs

Event arguments for the ItemTapped event.

ItemVisibilityEventArgs

Event args when an item's visibility has been changed in a ListView.

KeyboardAccelerator

Represents a shortcut key for a MenuFlyoutItem.

KnownColor
Label

A View that displays text.

Layout

Provides the base class for all Layout elements. Use Layout elements to position and size child elements in Microsoft.Maui.Controls applications.

LayoutDirectionExtensions
LayoutOptionsConverter

Class that takes a string representation of a LayoutOptions and returns a corresponding LayoutOptions.

LinearGradientBrush
LinearItemsLayout
ListProxyChangedEventArgs
ListStringTypeConverter

Type converter for converting properly formatted string lists to lists.

ListView

An ItemsView<TVisual> that displays a collection of data as a vertical list.

MarshalingObservableCollection
MenuBar
MenuBarItem
MenuFlyout
MenuFlyoutItem

Represents a MenuFlyoutItem.

MenuFlyoutSeparator

Represents a horizontal line that separates items in a menu.

MenuFlyoutSubItem
MenuItem

Class that presents a menu item and associates it with a command.

MenuItemCollection

A group of related MenuItem objects.

MessagingCenter

Associates a callback on subscribers with a specific message name.

ModalEventArgs

Base class for ModalPushedEventArgs, ModalPushingEventArgs, ModalPoppedEventArgs, and ModalPoppingEventArgs.

ModalPoppedEventArgs

Arguments for the event that is raised when a modal window is popped from the navigation stack.

ModalPoppingEventArgs

Arguments for the event that is raised when a modal window is popping from the navigation stack.

ModalPushedEventArgs

Arguments for the event that is raised when a modal window is pushed onto the navigation stack.

ModalPushingEventArgs

Arguments for the event that is raised when a modal window is being pushed onto the navigation stack.

MultiBinding
MultiPage<T>
MultiTrigger

Class that represents a list of property and binding conditions, and a list of setters that are applied when all of the conditions in the list are met.

NameScopeExtensions

Extension methods for Element that adds a strongly-typed FindByName method.

NavigableElement

A Element that supports navigation.

NavigatedFromEventArgs
NavigatedToEventArgs
NavigatingFromEventArgs
NavigationEventArgs

EventArgs for the NavigationPage's navigation events.

NavigationPage

A Page that manages the navigation and user-experience of a stack of other pages.

NullEffect
On

Class that is used within OnPlatform tags in XAML when specifying values on platforms.

OnIdiom<T>
OnPlatform<T>
OpenGLView

A View that displays OpenGL content.

OpenRequestedEventArgs
OrientationStateTrigger
Page

A VisualElement that occupies the entire screen.

PanGestureRecognizer

A gesture recognizer for panning content that is larger than its parent view.

PanUpdatedEventArgs

Event that is raised when a pan gesture updates.

ParentChangingEventArgs
Picker

A View control for picking an element in a list.

PinchGestureRecognizer

Recognizer for pinch gestures.

PinchGestureUpdatedEventArgs

Event arguments for the PinchUpdated event.

PlatformBehavior<TView>

Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events when connected to the platform view hierarchy.

PlatformBehavior<TView,TPlatformView>

Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events when connected to the platform view hierarchy.

PlatformConfigurationRegistry<TElement>

Helper that handles storing and lookup of platform specifics implementations

PlatformDragEventArgs

Platform-specific arguments associated with the DragEventArgs.

PlatformDragStartingEventArgs

Platform-specific arguments associated with the DragStartingEventArgs.

PlatformDropCompletedEventArgs

Platform-specific arguments associated with the DropCompletedEventArgs

PlatformDropEventArgs

Platform-specific arguments associated with the DropEventArgs.

PlatformEffect<TContainer,TControl>
PlatformPointerEventArgs

Platform-specific arguments associated with the PointerEventArgs.

PointCollection
PointerEventArgs

Arguments for PointerGestureRecognizer events.

PointerGestureRecognizer

Provides pointer gesture recognition and events.

PoppedToRootEventArgs

EventArgs for the NavigationPage's PoppedToRoot navigation event.

PositionChangedEventArgs
ProgressBar

A View control that displays progress.

PropertyChangingEventArgs

Event arguments for the PropertyChangingEventHandler delegate.

PropertyCondition

Class that represents a value comparison against a property on the control that contains the enclosing MultiTrigger.

QueryPropertyAttribute
RadialGradientBrush
RadioButton
RadioButtonGroup
ReferenceTypeConverter

For internal use by the Microsoft.Maui.Controls platform.

RefreshView
RelativeBindingSource
RenderWithAttribute

Associate view with renderer.

ReorderableItemsView
ResolutionGroupNameAttribute

Attribute that identifies a group name, typically a company name or reversed company URL, that provides a scope for effect names.

ResourceDictionary

An IDictionary that maps identifier strings to arbitrary resource objects.

ResourceDictionary.RDSourceTypeConverter
RouteFactory
Routing
RoutingEffect

Platform-independent effect that wraps an inner effect, which is usually platform-specific.

RowDefinition

An IDefinition that defines properties for a row in a Grid.

RowDefinitionCollection

A DefinitionCollection<T> for RowDefinitions.

RowDefinitionCollectionTypeConverter
ScrolledEventArgs

Arguments for the event that is raised when a window is scrolled.

ScrollToRequestedEventArgs

Arguments for the event that is raised when a scroll is requested.

ScrollToRequestEventArgs
ScrollView

An element capable of scrolling if its Content requires.

SearchBar

A View control that provides a search box.

SearchHandler

Default implementation of ISearchHandlerController.

SelectableItemsView
SelectedItemChangedEventArgs

Event arguments for the ItemSelected event.

SelectedPositionChangedEventArgs

Event arguments for positional scrolling events.

SelectionChangedEventArgs
SemanticProperties
Setter

Represents an assignment of a property to a value, typically in a style or in response to a trigger.

SettersExtensions

Defines extensions methods for IList<Setter>

Shadow
Shell

A Page that provides fundamental UI features that most applications require, leaving you to focus on the application's core workload.

ShellAppearance
ShellContent

Corresponds to a ContentPage contained in a ShellSection.

ShellGroupItem

A BaseShellItem that has FlyoutDisplayOptions. Base class for ShellItem and ShellSection.

ShellItem

One or more items in the flyout. Contained within a Shell.

ShellNavigatedEventArgs

Arguments for the OnNavigated(ShellNavigatedEventArgs) event.

ShellNavigatingDeferral
ShellNavigatingEventArgs

Arguments for the OnNavigating(ShellNavigatingEventArgs) event.

ShellNavigationQueryParameters
ShellNavigationState

A URI representing either the current page or a destination for navigation in a Shell application.

ShellSection

Grouped content in a Shell application, navigable by bottom tabs.

ShellTemplatedViewManager
Slider

A View control that inputs a linear value.

SolidColorBrush
Span

Represents a section of a FormattedString.

StackBase
StackLayout

A Layout that positions child elements in a single line which can be oriented vertically or horizontally.

StackLayoutManager
StateTrigger
StateTriggerBase
Stepper

A View control that inputs a discrete value, constrained to a range.

StreamImageSource

ImageSource that loads an image from a Stream.

StructuredItemsView
Style

Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements.

SwipeChangingEventArgs
SwipedEventArgs

Arguments for swipe events.

SwipeEndedEventArgs
SwipeGestureRecognizer

Recognizer for swipe gestures.

SwipeItem
SwipeItems
SwipeItemView
SwipeStartedEventArgs
SwipeView
Switch

A View control that provides a toggled value.

SwitchCell

A Cell with a label and an on/off switch.

Tab
TabBar
TabbedPage

MultiPage<T> that displays an array of tabs across the top of the screen, each of which loads content onto the screen.

TableRoot

A TableSection that contains either a table section or the entire table.

TableSection

A logical and visible section of a TableView.

TableSectionBase

Abstract base class defining a table section.

TableSectionBase<T>

Abstract base class defining a table section.

TableView

A View that holds rows of Cell elements.

TapGestureRecognizer

Provides tap gesture recognition and events.

TappedEventArgs

Arguments for the ItemTapped event.

TemplateBinding

Binds a template property to the parent of the view that owns a ControlTemplate.

TemplatedPage

A page that displays full-screen content with a control template, and the base class for ContentPage .

TemplatedView

A view that displays content with a control template, and the base class for ContentView.

TemplateExtensions

Extension class for DataTemplate, providing a string-based shortcut method for defining a Binding.

TextAlignmentConverter
TextCell

A Cell with primary Text and Detail text.

TextChangedEventArgs

Event arguments for TextChanged events. Provides old and new text values.

TextDecorationConverter

A TypeConverter subclass that can convert between a string and a TextDecorations object.

TimePicker

A View control that provides time picking.

ToggledEventArgs

Event arguments for Toggled and OnChanged events.

Toolbar
ToolbarItem

An item in a toolbar or displayed on a Page.

ToolTipProperties
TouchEventArgs
Trigger

Class that represents a property condition and an action that is performed when the condition is met.

TriggerAction
TriggerAction<T>

A base class for user-defined actions that are performed when a trigger condition is met.

TriggerBase

Base class for classes that contain a condition and a list of actions to perform when the condition is met.

TypeTypeConverter

Class that takes a string representation of a Type and returns a corresponding Type.

UnsolvableConstraintsException

Exception indicating that the Constraints specified cannot be simultaneously satisfied.

UriImageSource

An ImageSource that loads an image from a URI, caching the result.

UriTypeConverter

A TypeConverter that converts from a string or Uri to a Uri.

UrlWebViewSource

A WebViewSource bound to a URL.

ValueChangedEventArgs

Event arguments for ValueChanged events. Provides both old and new values.

VerticalStackLayout
View

A visual element that is used to place layouts and controls on the screen.

ViewCell

A Cell containing a developer-defined View.

ViewExtensions

Extension methods for VisualElements, providing animatable scaling, rotation, and layout functions.

VisibilityExtensions
VisualAttribute
VisualElement

An Element that occupies an area on the screen, has a visual appearance, and can obtain touch input.

VisualElement.FocusRequestArgs
VisualElement.VisibilityConverter
VisualMarker

Contains the IVisual types implemented by the Xamarin Forms team and the default IVisual types used by the Visual system.

VisualMarker.DefaultVisual
VisualState

Contains a named visual state that applies a list of setters to an element in order to correlate a state with an appearance.

VisualStateGroup

Contains a list of related visual states that can be applied to a visual element.

VisualStateGroupList

Contains a list of visual state groups for an application.

VisualStateManager

Manages visual state groups and transitions controls between states.

VisualStateManager.CommonStates
VisualTypeConverter

A TypeConverter that can convert a string into a IVisual object.

WebNavigatedEventArgs

Class that contains arguments for the event that is raised after web navigation completes.

WebNavigatingEventArgs

Class that contains arguments for the event that is raised after web navigation begins.

WebNavigationEventArgs

TClass that contains arguments for the event that is when web navigation begins.

WebView

A View that presents HTML content.

WebViewSource

Abstract class whose subclasses provide the data for a WebView.

WebViewSourceTypeConverter

A TypeConverter that converts a string to a UrlWebViewSource.

Window
XmlnsDefinitionAttribute

Attribute specifying the mapping between an XML namespace and a CLR namespace.

XmlnsPrefixAttribute

Structs

LayoutOptions

A struct whose static members define various alignment and expansion options.

Region

Represents a visual region in a Microsoft.Maui.Controls UI.

Interfaces

IAnimatable
IAppearanceObserver
IAppIndexingProvider
IApplicationController
IAppLinkEntry
IAppLinks
IBindableLayout
IBorderElement
IButtonController
ICellController
IConfigElement<T>
IConfigPlatform
IDecorableTextElement
IDefinition
IEditorController
IEffectControlProvider
IElementConfiguration<TElement>

Helper that handles storing and lookup of platform specifics implementations

IElementController

For internal use by .NET MAUI.

IEntryCellController
IEntryController
IExtendedTypeConverter
IFlyoutBehaviorObserver
IFlyoutPageController
IGestureRecognizer
IGestureRecognizers
IGridController
IImageController
IImageElement
IItemsLayout
IItemsView<T>
IItemViewController
ILayout
ILayoutController
ILayoutManagerFactory
IListProxy
IListViewController
IMenuItemController
IMessagingCenter
IMultiPageController<T>
IMultiValueConverter
INavigation
INavigationPageController
IOpenGlViewController
IPaddingElement
IPageContainer<T>
IPageController
IPanGestureController
IPinchGestureController
IPlatformElementConfiguration<TPlatform,TElement>
IQueryAttributable
IRegisterable
IScrollViewController
ISearchBarController
ISearchHandlerController
IShellAppearanceElement
IShellContentController
IShellContentInsetObserver
IShellController
IShellItemController
IShellSectionController
ISliderController
ISwipeGestureController
ISwipeItem
ISwipeViewController
ITableModel
ITableViewController
ITemplatedItemsList<TItem>
ITemplatedItemsListScrollToRequestedEventArgs
ITemplatedItemsView<TItem>
IValueConverter
IViewContainer<T>
IViewController
IVisual
IVisualElementController

For internal use by .NET MAUI.

IWebViewController
IWindowCreator

Enums

AccessKeyPlacement

Enumerates access key placement relative to the control that the access key describes.

BindingMode

The direction of changes propagation for bindings.

Button.ButtonContentLayout.ImagePosition

Enumerates values that determine the position of the image on the button.

ButtonsMask

Flag values that represent mouse buttons.

ConstraintType

Enumeration specifying whether a constraint is constant, relative to a view, or relative to its parent.

DataPackageOperation
DependencyFetchTarget

Enumeration specifying whether Get<T>(DependencyFetchTarget) should return a reference to a global or new instance.

EditorAutoSizeOption

Enumerates values that control whether an editor will change size to accommodate input as the user enters it.

EffectiveFlowDirection

Enumerates flags that indicate whether the layout direction was explicitly set, and whether the layout direction is right-to-left.

FlyoutDisplayOptions

Enumerates display modes for the flyout in a Shell appication.

FlyoutHeaderBehavior

Enumeration of modes followed by the FlyoutHeader.

FlyoutLayoutBehavior
FontAttributes

Enumerates values that describe font styles.

GestureState

Enumeration specifying the various states of a gesture.

IndicatorShape
InitializationFlags
ItemSizingStrategy
ItemsLayoutOrientation
ItemsUpdatingScrollMode
LayoutAlignment

Values that represent LayoutAlignment.

ListViewCachingStrategy

Enumerates caching strategies for a ListView.

ListViewSelectionMode

Enumerates values that control whether items in a list view can or cannot be selected.

MeasureFlags

Enumerates values that tell whether margins are included when laying out windows.

NamedSize

Represents pre-defined font sizes.

PresentationMode
RelativeBindingSourceMode
ScrollMode
ScrollToMode

Enumerates values that describe how a scroll request is made.

ScrollToPosition

Enumerates values that describe a scroll request.

SearchBoxVisibility
SelectionMode
SeparatorVisibility

Enumerates values that control the visibility of list item separators.

ShellNavigationSource

Enumerates reasons for a navigation event in Shell applications.

SnapPointsAlignment
SnapPointsType
StackOrientation

The orientations the a StackLayout can have.

Stretch
SweepDirection
TableIntent

TableIntent provides hints to the renderer about how a table will be used.

TabsStyle

Enumerates tab styles for tabbed pages.

TargetIdiom

Indicates the type of device Microsoft.Maui.Controls is working on.

ToolbarItemOrder

Enumeration specifying whether the ToolbarItem appears on the primary toolbar surface or secondary.

ViewState

Deprecated. Do not use.

Delegates

BindableProperty.BindingPropertyChangedDelegate
BindableProperty.BindingPropertyChangedDelegate<TPropertyType>
BindableProperty.BindingPropertyChangingDelegate
BindableProperty.BindingPropertyChangingDelegate<TPropertyType>
BindableProperty.CoerceValueDelegate
BindableProperty.CoerceValueDelegate<TPropertyType>
BindableProperty.CreateDefaultValueDelegate
BindableProperty.CreateDefaultValueDelegate<TDeclarer,TPropertyType>
BindableProperty.ValidateValueDelegate
BindableProperty.ValidateValueDelegate<TPropertyType>
CollectionSynchronizationCallback
PropertyChangingEventHandler