Let's agree to the disagree. We'll map 3rd party controls to our own classes therefore having the ability to declare XML to CRL mapping. Cleaner xaml without the prefixes.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Avalonia.Styling;
|
||||
|
||||
namespace TheXamlGuy.UI.Avalonia.Controls;
|
||||
|
||||
public class NavigationView : FluentAvalonia.UI.Controls.NavigationView, IStyleable
|
||||
{
|
||||
Type IStyleable.StyleKey => typeof(FluentAvalonia.UI.Controls.NavigationView);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Avalonia.Styling;
|
||||
|
||||
namespace TheXamlGuy.UI.Avalonia.Controls;
|
||||
|
||||
public class NavigationViewItem : FluentAvalonia.UI.Controls.NavigationViewItem, IStyleable
|
||||
{
|
||||
Type IStyleable.StyleKey => typeof(FluentAvalonia.UI.Controls.NavigationViewItem);
|
||||
}
|
||||
Reference in New Issue
Block a user