Skip to content
github-actions[bot] edited this page Dec 10, 2025 · 2 revisions

Myra UI Generator Wiki

Welcome to the Myra UI Generator documentation wiki!

What is Myra UI Generator?

Myra UI Generator is a source generator for Myra UI XML files that automatically creates strongly-typed C# accessor classes. It scans your Myra XML files at compile-time and generates C# classes with properties for each widget, providing type-safe access with full IntelliSense support.

Quick Links

Getting Started

Configuration

Usage Guides

Reference

Examples

Advanced Topics

Troubleshooting

Contributing

Project Information

Features

  • 🔧 Automatic Code Generation: Scans Myra XML files and generates strongly-typed C# classes
  • 🎯 Type Safety: Compile-time access to UI widgets with IntelliSense support
  • ⚙️ Configurable: Customize namespace and XML directory paths
  • 🚀 Zero Runtime Overhead: Pure compile-time code generation
  • 📦 NuGet Package: Easy to add to any MonoGame + Myra project

Clone this wiki locally