You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for the amazing work on MahApps.Metro! Your project greatly enhances the development experience for WPF applications.
I have a suggestion that I believe could improve the package structure and dependency management. Currently, the main package includes a dependency on Microsoft.Xaml.Behaviors.Wpf. As a result, all users of MahApps.Metro must include this dependency even if they don't use the behaviors from the package or use another implementation of behaviors.
My suggestion is as follows:
Split the current NuGet package into two separate packages:
MahApps.Metro — containing only the control extensions without the dependency on Microsoft.Xaml.Behaviors.Wpf.
MahApps.Metro.Behaviors — containing all behaviors and having a dependency on Microsoft.Xaml.Behaviors.Wpf.
Advantages of this approach:
Users who don't need behaviors can use MahApps.Metro without unnecessary dependencies.
Improved dependency management as each package will contain only the necessary components.
Example of the new structure:
MahApps.Metro
All controls and control extensions
MahApps.Metro.Behaviors
All behaviors
Dependency on Microsoft.Xaml.Behaviors.Wpf
Thank you for considering my suggestion. I hope it can be a valuable addition to your project. If any help is needed in implementing this split, I am willing to assist.
Best regards,
IvanGit
The text was updated successfully, but these errors were encountered:
Hello!
First of all, thank you very much for the amazing work on MahApps.Metro! Your project greatly enhances the development experience for WPF applications.
I have a suggestion that I believe could improve the package structure and dependency management. Currently, the main package includes a dependency on
Microsoft.Xaml.Behaviors.Wpf
. As a result, all users of MahApps.Metro must include this dependency even if they don't use the behaviors from the package or use another implementation of behaviors.My suggestion is as follows:
MahApps.Metro
— containing only the control extensions without the dependency onMicrosoft.Xaml.Behaviors.Wpf
.MahApps.Metro.Behaviors
— containing all behaviors and having a dependency onMicrosoft.Xaml.Behaviors.Wpf
.Advantages of this approach:
MahApps.Metro
without unnecessary dependencies.Example of the new structure:
MahApps.Metro
MahApps.Metro.Behaviors
Microsoft.Xaml.Behaviors.Wpf
Thank you for considering my suggestion. I hope it can be a valuable addition to your project. If any help is needed in implementing this split, I am willing to assist.
Best regards,
IvanGit
The text was updated successfully, but these errors were encountered: