maui-linux/samples/ControlGallery/README.md

42 lines
1.0 KiB
Markdown

# OpenMaui Control Gallery
A comprehensive sample application demonstrating all 35+ controls available in OpenMaui for Linux.
## Features
This gallery showcases:
- **Basic Controls**: Buttons, Labels, Entry, Editor
- **Selection Controls**: Picker, DatePicker, TimePicker, Slider, Stepper
- **Toggle Controls**: CheckBox, Switch, RadioButton
- **Progress Controls**: ProgressBar, ActivityIndicator
- **Image Controls**: Image, ImageButton with various aspect ratios
- **Collection Controls**: CollectionView, CarouselView with IndicatorView
- **Gesture Controls**: SwipeView, RefreshView
## Running the Sample
```bash
cd samples/ControlGallery
dotnet run
```
## Requirements
- .NET 9.0 SDK
- Linux with X11 or Wayland
- OpenMaui.Controls.Linux NuGet package
## Screenshots
The gallery uses Shell navigation with a flyout menu to organize controls by category.
## Adding Images
Before running, add the following images to `Resources/Images/`:
- `dotnet_bot.png` - From official MAUI templates
## License
MIT License - Copyright 2025 MarketAlly LLC