Explore the comprehensive API for building native cross-platform applications with .NET MAUI.
.NET MAUI (Multi-platform App UI) provides a rich set of controls that enable you to build native user interfaces for Windows, macOS, Android, and iOS from a single codebase. These controls are designed to be flexible, extensible, and performant, offering a consistent look and feel across different platforms while allowing for platform-specific customizations.
This section of the API documentation covers the various controls available, their properties, methods, and events, along with usage examples to help you integrate them seamlessly into your applications.
These are the fundamental building blocks for your UI:
Displays text. Supports rich text formatting, multi-line text, and various text styles.
Learn More →A multi-line text input control. Ideal for longer text entries like notes or messages.
Learn More →Displays images from various sources, including local files, URIs, and embedded resources.
Learn More →Arrange and position your UI elements effectively:
A flexible layout that can arrange elements in multiple directions and wrap them when they exceed available space.
Learn More →Display and manage collections of data efficiently:
Displays a scrollable list of items, optimized for performance with large datasets.
Learn More →A flexible and powerful control for displaying collections of data in various layouts.
Learn More →Displays a scrollable view of data items, where only one item is visible at a time.
Learn More →Facilitate navigation within your application:
Manages navigation history and provides a familiar navigation bar experience.
Learn More →Presents content in a tabbed interface, allowing users to switch between different views.
Learn More →Implements a master-detail interface, often used for side menus or navigation drawers.
Learn More →Understand the core concepts that apply to most MAUI controls:
Attributes that define the appearance and behavior of a control. For example, Text, BackgroundColor, IsEnabled.
Notifications that a control sends when something happens, such as user interaction. For example, Clicked, TextChanged.
A powerful mechanism for synchronizing data between your UI and your application's data model.
Learn More →Here's a simple example of how to use a Button in XAML and C#: