29 lines
771 B
C#
29 lines
771 B
C#
using MaterialDesignThemes.Wpf;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Controls;
|
|
|
|
namespace GroupLine.App.ViewModel
|
|
{
|
|
public class ItemMenu
|
|
{
|
|
public ItemMenu(string header, List<SubItem> subItems, PackIconKind icon)
|
|
{
|
|
Header = header;
|
|
SubItems = subItems;
|
|
Icon = icon;
|
|
}
|
|
|
|
public ItemMenu(string header, UserControl screen, PackIconKind icon)
|
|
{
|
|
Header = header;
|
|
Screen = screen;
|
|
Icon = icon;
|
|
}
|
|
|
|
public string Header { get; private set; }
|
|
public PackIconKind Icon { get; private set; }
|
|
public List<SubItem> SubItems { get; private set; }
|
|
public UserControl Screen { get; private set; }
|
|
}
|
|
}
|