Logo
Blogs
Sign In
open-maui/OpenMaui
2
0
Fork 0
You've already forked maui-linux
Code Issues Releases 1
Files
18ab0abe9744c0a5184f7bdd145a5cf849c33adf
maui-linux/samples/TodoApp/App.xaml.cs

15 lines
292 B
C#
Raw Normal View History

Add TodoApp sample with reconstructed XAML Complete TodoApp sample application with: - App.xaml/cs: Colors and styles for light/dark themes - TodoListPage: Task list with theme toggle switch - NewTodoPage: Form to create new tasks - TodoDetailPage: Edit task details with delete option - TodoItem.cs/TodoService.cs: Data model and service - SVG icons for save, delete, and add actions Theme switching via toggle on main page applies app-wide. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 19:52:56 -05:00
using Microsoft.Maui.ApplicationModel;
using Microsoft.Maui.Controls;
namespace TodoApp;
public partial class App : Application
{
public App()
{
InitializeComponent();
UserAppTheme = AppTheme.Light;
MainPage = new NavigationPage(new TodoListPage());
}
}
Reference in New Issue Copy Permalink
Version: v3.3.20 Page: 18ms Template: 0ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어