.NET MAUI API Reference

Welcome to the .NET MAUI API documentation. Explore the namespaces and types that power your cross-platform applications.

Namespace: Microsoft.Maui

Class: Application

Represents a .NET MAUI application.

The Application class is the entry point for a .NET MAUI application. It provides access to application-level resources, lifecycle events, and the main window.

Constructors

Properties

Methods

Namespace: Microsoft.Maui

Interface: IWindow

Represents a window in a .NET MAUI application.

The IWindow interface defines the contract for a window, which is a top-level container for the application's UI.

Properties

Namespace: Microsoft.Maui.Controls

Class: View

Represents a UI element that can be displayed on the screen.

View is the base class for all visual elements in .NET MAUI. It provides properties and methods for layout, input handling, and visual appearance.

Properties

Methods

Namespace: Microsoft.Maui.Controls

Class: Button

Represents a button control that can be tapped.

Button is a fundamental UI element for user interaction, allowing users to trigger actions by tapping it.

Properties

Events

Namespace: Microsoft.Maui.Controls

Class: Label

Represents a control that displays a block of text.

Label is used to display static or dynamic text content within your application.

Properties

Namespace: Microsoft.Maui.Graphics

Struct: Color

Represents an RGBA color.

The Color struct is used to define colors with Red, Green, Blue, and Alpha components.

Properties

Static Properties

Methods