23 lines
368 B
C#
23 lines
368 B
C#
|
using Microsoft.UI.Xaml.Controls;
|
|||
|
|
|||
|
namespace RustTools.Contracts.Services;
|
|||
|
|
|||
|
public interface INavigationViewService
|
|||
|
{
|
|||
|
IList<object>? MenuItems
|
|||
|
{
|
|||
|
get;
|
|||
|
}
|
|||
|
|
|||
|
object? SettingsItem
|
|||
|
{
|
|||
|
get;
|
|||
|
}
|
|||
|
|
|||
|
void Initialize(NavigationView navigationView);
|
|||
|
|
|||
|
void UnregisterEvents();
|
|||
|
|
|||
|
NavigationViewItem? GetSelectedItem(Type pageType);
|
|||
|
}
|