NuExt.Minimal.Mvvm.MahApps.Metro
is a NuGet package that provides extensions for integrating MahApps.Metro, a popular Metro-style UI toolkit for WPF applications, with NuExt.Minimal.Mvvm.Windows, an extension for the lightweight MVVM framework NuExt.Minimal.Mvvm. This package includes services and components to facilitate the creation of modern, responsive, and visually appealing user interfaces using the MVVM pattern.
Minimal.Mvvm.Windows.DialogCoordinatorService
: Provides dialog coordination services using MahApps.Metro dialogs.Minimal.Mvvm.Windows.MetroDialogService
: Implementation ofIAsyncDialogService
for Metro dialogs.Minimal.Mvvm.Windows.MetroTabbedDocumentService
: Manages tabbed documents within a UI.MahApps.Metro.Controls.Dialogs.MetroDialog
: The class used for custom dialogs.
The MetroTabbedDocumentService
class is responsible for managing tabbed documents within a UI that utilizes the Metro design language. It extends the DocumentServiceBase
and implements interfaces for asynchronous document management and disposal. This service allows for the creation, binding, and lifecycle management of tabbed documents within MetroTabControl
.
For an enhanced development experience, we highly recommend using the NuExt.Minimal.Mvvm.SourceGenerator
package alongside this framework. It provides a source generator that produces boilerplate code for your ViewModels at compile time, significantly reducing the amount of repetitive coding tasks and allowing you to focus more on the application-specific logic.
You can install NuExt.Minimal.Mvvm.MahApps.Metro
via NuGet:
dotnet add package NuExt.Minimal.Mvvm.MahApps.Metro
Or through the Visual Studio package manager:
- Go to
Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution...
. - Search for
NuExt.Minimal.Mvvm.MahApps.Metro
. - Click "Install".
For comprehensive examples of how to use the package, refer to the samples directory in the repository. These samples illustrate best practices for using Minimal.Mvvm and MahApps.Metro with these extensions.
Contributions are welcome! Feel free to submit issues, fork the repository, and send pull requests. Your feedback and suggestions for improvement are highly appreciated.
Licensed under the MIT License. See the LICENSE file for details.