添加项目文件。
This commit is contained in:
28
GroupLine.App/ViewModel/ItemMenu.cs
Normal file
28
GroupLine.App/ViewModel/ItemMenu.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user