From 9dcf4c3352d2fb7353673a0ea12de6ee42f4689f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 15:23:36 +0000 Subject: [PATCH 01/11] Initial plan From a79d5986f4d343a3d8f5de38e75aa10f99d6c697 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 15:41:01 +0000 Subject: [PATCH 02/11] Add comprehensive README for Microsoft.Maui.Controls NuGet package Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com> --- src/Controls/src/NuGet/Controls.NuGet.csproj | 5 + src/Controls/src/NuGet/README.md | 282 +++++++++++++++++++ 2 files changed, 287 insertions(+) create mode 100644 src/Controls/src/NuGet/README.md diff --git a/src/Controls/src/NuGet/Controls.NuGet.csproj b/src/Controls/src/NuGet/Controls.NuGet.csproj index 41396d6d4af5..45ae01cd4aa0 100644 --- a/src/Controls/src/NuGet/Controls.NuGet.csproj +++ b/src/Controls/src/NuGet/Controls.NuGet.csproj @@ -20,6 +20,7 @@ true Microsoft.Maui.Controls .NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that can run on Android, iOS, macOS, Tizen, and Windows from a single shared codebase. + README.md @@ -29,6 +30,10 @@ + + + + diff --git a/src/Controls/src/NuGet/README.md b/src/Controls/src/NuGet/README.md new file mode 100644 index 000000000000..d6f9f4efcb74 --- /dev/null +++ b/src/Controls/src/NuGet/README.md @@ -0,0 +1,282 @@ +# .NET Multi-platform App UI (.NET MAUI) Controls + +![Build Status](https://img.shields.io/azure-devops/build/xamarin/public/57/main?label=Build&style=flat-square) +![NuGet](https://img.shields.io/nuget/v/Microsoft.Maui.Controls?style=flat-square&label=NuGet) +![License](https://img.shields.io/github/license/dotnet/maui?style=flat-square&label=License) + +[.NET Multi-platform App UI (.NET MAUI)](https://dotnet.microsoft.com/en-us/apps/maui) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that run on Android, iOS, iPadOS, macOS, and Windows from a single shared codebase. + +## ✨ What is .NET MAUI Controls? + +The **Microsoft.Maui.Controls** package provides the UI controls and XAML infrastructure for building beautiful, native cross-platform applications. It includes: + +- **40+ UI controls** - Buttons, labels, entries, pickers, lists, grids, and more +- **XAML support** - Design your UI with declarative markup +- **Layout system** - Flexible layouts including Grid, StackLayout, FlexLayout, and AbsoluteLayout +- **Navigation** - Shell navigation, NavigationPage, TabbedPage, FlyoutPage +- **Data binding** - Two-way data binding with MVVM support +- **Styling and theming** - Application-wide styles, dynamic resources, and light/dark theme support +- **Platform integration** - Access platform-specific features seamlessly +- **Hot Reload** - See UI changes instantly during development + +## 🚀 Supported Platforms + +.NET MAUI applications run on the following platforms: + +| Platform | Minimum Version | +|----------|----------------| +| Android | API 24 (Android 7.0) | +| iOS | iOS 13.0+ | +| iPadOS | iPadOS 13.0+ | +| macOS | macOS 11.0+ (via Mac Catalyst) | +| Windows | Windows 11, Windows 10 (Version 1809+) | + +## 📦 Getting Started + +### Prerequisites + +- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) (or .NET 9 for previous versions) +- Platform-specific tools: + - **Android**: Android SDK (installed via Visual Studio or Android Studio) + - **iOS/macOS**: Xcode (Mac required) + - **Windows**: Windows App SDK + +### Installation + +Install the .NET MAUI workload: + +```bash +dotnet workload install maui +``` + +### Create a New Project + +Create a new .NET MAUI app using the CLI: + +```bash +dotnet new maui -n MyMauiApp +cd MyMauiApp +``` + +Or create with sample content including Community Toolkit and Syncfusion Toolkit: + +```bash +dotnet new maui -n MyMauiApp -sc +``` + +### Run Your App + +Run on Android: +```bash +dotnet build -t:Run -f net10.0-android +``` + +Run on iOS (Mac only): +```bash +dotnet build -t:Run -f net10.0-ios +``` + +Run on Windows: +```bash +dotnet build -t:Run -f net10.0-windows +``` + +## 💡 Quick Start Example + +Here's a simple .NET MAUI page with various controls: + +### XAML (MainPage.xaml) + +```xml + + + + + + + + +