Microsoft.Maui Namespace

Provides interfaces, classes and supporting types that are common across all .NET MAUI functionalities.

Classes

ActivationState
CommandMapper
CommandMapper<TVirtualView>
CommandMapper<TVirtualView,TViewHandler>
CommandMapperExtensions
Crc64
CustomKeyboard
DisplayDensityRequest
Easing

Functions that modify values non-linearly, generally used for animations.

ElementHandlerExtensions
EmbeddedFont

Represents a font that is added as an embedded resource in the application.

EmbeddedFontLoader

The IEmbeddedFontLoader is able to load a font from the embedded resources.

EvaluateJavaScriptAsyncRequest

Specifies JavasScript to be evaluated by a platform web view control

FileImageSourceService
FileSystemEmbeddedFontLoader

The IEmbeddedFontLoader is able to load a font from the embedded resources.

FocusRequest
FontFile

Represents a font file.

FontImageSourceService
FontManager

The FontManager handles all fonts, font families and font sizes throughout the application.

FontRegistrar

The IFontRegistrar keeps track of the fonts that are registered in our application.

ImageSourceExtensions
ImageSourceService
ImageSourceServiceLoadResult
ImageSourceServiceProviderExtensions
ImageSourceServiceResult
IPickerExtension
ItemDelegateList<T>
ITextInputExtensions
Keyboard

Default keyboard and base class for specialized keyboards, such as those for telephone numbers, email, and URLs.

LockableObservableListWrapper
MauiContext
MissingMapperAttribute
NavigationRequest
PersistedState
PortHandlerAttribute
PropertyMapper
PropertyMapper<TVirtualView>
PropertyMapper<TVirtualView,TViewHandler>
PropertyMapperExtensions
RectangleAdorner

Rectangle Adorner.

RectangleGridAdorner

Rectangle Grid Adorner.

RetrievePlatformValueRequest<T>

Specifies a request for the retrieval of a platform value.

ScrollToRequest
SemanticExtensions
Semantics
SoftInputExtensions

Extension methods for interacting with a platform's Soft Input Pane

SourceInfo

The source info for a given object. Used for locating where a given object is created in a given project.

StreamImageSourceService
SwipeViewCloseRequest
SwipeViewOpenRequest
SwipeViewSwipeChanging
SwipeViewSwipeEnded
SwipeViewSwipeStarted
ToolTip
UriImageSourceService
ViewExtensions
VisualDiagnostics
VisualDiagnosticsOverlay
VisualTreeChangeEventArgs
VisualTreeElementExtensions
WeakEventManager
WebProcessTerminatedEventArgs
WindowExtensions
WindowOverlay
WindowOverlayTappedEventArgs

Structs

CornerRadius

Contains methods and properties for specifying corner radiuses.

Font

The font used to display text.

GridLength

Used to define the size (width/height) of Grid ColumnDefinition and RowDefinition.

SizeRequest

Struct that defines minimum and maximum Sizes.

Thickness

Struct defining thickness around the edges of a Rectangle using doubles.

Interfaces

IAbsoluteLayout

A Layout used to position and size children using explicit values.

IActivationState
IActivityIndicator

Represents a View that displays an animation to show that the application is engaged in a lengthy activity.

IAdorner

Represents an adorner around a view.

IApplication

Class that represents a cross-platform .NET MAUI application.

IBorder

Provides functionality to provide a border.

IBorderStroke

Define how the Shape outline is painted on Layouts.

IBorderView

Provides functionality to define a border around an element.

IButton

Represents a IView that reacts to touch events.

IButtonStroke

Provides functionality to be able to customize a Button border.

ICheckBox

Represents a View which allows the user to select a binary choice.

ICommandMapper
ICommandMapper<TVirtualView,TViewHandler>
IContainer

Provides functionality to act as containers for views.

IContentView

A View that contains another View.

IContextFlyoutElement

Represents a view that can contain a context flyout menu, which is usually represented as a right-click menu.

ICrossPlatformLayout
ICrossPlatformLayoutBacking

Indicates a control which supports cross-platform layout operations

IDatePicker

Represents a View that allows the user to select a date.

IEditor

Represents a View used to accept multi-line input.

IElement
IElementHandler

Defines the core behavior necessary to create a custom element handler. Conceptual documentation on handlers

IEmbeddedFontLoader

The IEmbeddedFontLoader is able to load a font from the embedded resources.

IEntry

Represents a IView that is used for single-line text input.

IFileImageSource
IFlexLayout

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

IFlyout
IFlyoutView

Represents a Page that manages two panes of information: A master page that presents data at a high level, and a detail page that displays low-level details about information in the master.

IFontImageSource
IFontManager

The FontManager handles all fonts, font families and font sizes throughout the application.

IFontRegistrar

The IFontRegistrar keeps track of the fonts that are registered in our application.

IGraphicsView

Represents a view that can be drawn on using drawing commands.

IGridColumnDefinition

Provides the properties for a column in a GridLayout.

IGridLayout

Represents a layout that arranges views in rows and columns.

IGridRowDefinition

Provides the properties for a row in a GridLayout.

IHybridWebView
IImage

Represents a View that holds an image.

IImageButton

Represents a View that reacts to touch events.

IImageSource
IImageSourcePart
IImageSourcePartEvents
IImageSourceService
IImageSourceService<T>
IImageSourceServiceProvider
IImageSourceServiceResult
IImageSourceServiceResult<T>
IIndicatorView

A view that displays indicators that represent the number of items, and current position

IItemDelegate<T>
IKeyboardAccelerator

Represents a shortcut key for a MenuFlyoutItem.

ILabel

Represents a View that displays text.

ILayout

Provides the base properties and methods for all Layout elements. Use Layout elements to position and size child elements in .NET MAUI applications.

ILayoutHandler
IMauiContext
IMauiFactory
IMauiHandlersFactory
IMenuBar

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

IMenuBarElement
IMenuBarItem

Represents a top-level menu in a MenuBar view.

IMenuElement
IMenuFlyout

Represents a flyout that displays a menu of commands.

IMenuFlyoutItem

Represents a command in a MenuFlyout view.

IMenuFlyoutSeparator

Represents a horizontal line that separates items in a MenuFlyout.

IMenuFlyoutSubItem

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

IPadding

Provides functionality to be able to customize Padding.

IPersistedState
IPicker

Represents a View for selecting a text item from a list of data.

IPlaceholder

Provides functionality to be able to use a Placeholder.

IPlatformApplication

IPlatformApplication. Hosts the platform application.

IProgress

Represents a View that show progress as a horizontal bar that is filled to a percentage represented by a float value.

IPropertyMapper
IPropertyMapper<TVirtualView,TViewHandler>
IPropertyMapperView
IRadioButton

Represents a View that provides a toggled value.

IRange

Provides functionality to select a value from a range of values.

IRefreshView

Represents a container that provides pull to refresh functionality for scrollable content.

IReplaceableView
ISafeAreaView

Provides functionality for requesting layout outside of the "safe" areas of the device screen.

IScrollView
ISearchBar

Represents a View used to initiating a search.

IShadow

Represents a Shadow that can be applied to a View.

IShapeView

Represents a View that enables you to draw a shape to the screen.

ISlider

Represents a View that inputs a linear value.

IStackLayout

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

IStackNavigation

Provides stack based navigation for the .NET MAUI app.

IStackNavigationView

An IView that provides stack based navigation for the .NET MAUI app.

IStepper

Represents a View that consists of two buttons labeled with minus and plus signs. Use a Stepper for selecting a numeric value from a range of values.

IStreamImageSource
IStroke

Define how the outline is painted on elements.

ISwipeItem

Represents an individual command in a SwipeView.

ISwipeItemMenuItem
ISwipeItems

Represents a collection of SwipeItem objects.

ISwipeItemView

Represents a custom individual command in a SwipeView.

ISwipeView

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

ISwitch

Represents a View that provides a toggled value.

ITabbedView

Represents a View that consists of a list of tabs and a larger detail area, with each tab loading content into the detail area.

ITemplatedIndicatorView

A layout that displays indicators that represent the number of items using a DataTemplate for indicators

IText

Provides functionality to be able to customize Text.

ITextAlignment

Provides functionality to be able to align Text.

ITextButton

Functionality related with the Button View text.

ITextInput

Represents a View which can take keyboard input.

ITextStyle

Provides functionality to be able to customize the appearance of text.

ITimePicker

Represents a View that allows the user to select a time.

ITitleBar

Title bar control

ITitledElement

Represent the title content used in Navigation Views.

IToolbar

Represents a bar that may display the page title, navigation affordances, and other interactive items.

IToolbarElement
IToolTipElement

Indicates that this element has a ToolTip to show.

ITransform

Provides functionality to be able to apply transformations to a View.

IUriImageSource
IView

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

IViewHandler

Defines members that view handlers should implement to provide mapping virtual views to platform views.

IVisualDiagnosticsOverlay
IVisualTreeElement
IWebView

Represents a View that presents HTML content.

IWebViewDelegate
IWebViewSource

Provide the data for a WebView.

IWindow

Provides the ability to create, configure, show, and manage Windows.

IWindowOverlay
IWindowOverlayElement

Element drawn on top of IWindowOverlay.

Enums

Aspect

Defines how an image is displayed.

ClearButtonVisibility

Enumerates values that influence clear button visibility behavior on input fields. Typically this is a button inside of the input field, near the end, which clears the input when pressed.

FilterMode
FlowDirection

Enumerates values that control the layout direction for views.

FlyoutBehavior

Enumeration of modes for the root menu of a Shell application.

FontSlant
FontWeight
GestureStatus

Enumerates possible gesture states.

GridUnitType

Enumerates values that control how the Value property is interpreted for row and column definitions.

HandlerDisconnectPolicy
KeyboardAcceleratorModifiers

Enumerates modifier flags for keyboard accelerators. MacCatalyst modifiers AlphaShift and NumericPad are not currently supported.

KeyboardFlags

Enumerates keyboard option flags that controls capitalization, spellcheck, and suggestion behavior.

LineBreakMode

Enumeration specifying various options for line breaking.

OpenSwipeItem
PathAspect
ReturnType

Enumerates return button styles. Typically the operating system on-screen keyboard will visually style the return key based on this value.

ScrollBarVisibility

Enumerates conditions under which scroll bars will be visible.

ScrollOrientation

Enumeration specifying vertical or horizontal scrolling directions.

SemanticHeadingLevel
SwipeBehaviorOnInvoked
SwipeDirection

Enumerates swipe directions.

SwipeMode
SwipeTransitionMode
TextAlignment

Enumerates values that control text alignment.

TextDecorations

Flagging enumeration defining text decorations.

TextTransform

Enumerates values that determine the text transformation on an element.

TextType
Visibility
VisualTreeChangeType

The type of change applied to the Visual Tree.

WebNavigationEvent

Contains values that indicate why a navigation event was raised.

WebNavigationResult

Enumerates values that indicate the outcome of a web navigation.