添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
using Stylet;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace MainShell.Models
|
||||
{
|
||||
public class ToolNavItem : PropertyChangedBase
|
||||
{
|
||||
private string _title;
|
||||
public string Title
|
||||
{
|
||||
get => _title;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _title, value);
|
||||
}
|
||||
}
|
||||
private string _subtitle;
|
||||
public string Subtitle
|
||||
{
|
||||
get => _subtitle;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _subtitle, value);
|
||||
}
|
||||
}
|
||||
private string _icon = "🛠";
|
||||
public string Icon
|
||||
{
|
||||
get => _icon;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _icon, value);
|
||||
}
|
||||
}
|
||||
private object _viewModel;
|
||||
public object ContentViewModel
|
||||
{
|
||||
get => _viewModel;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _viewModel, value);
|
||||
}
|
||||
}
|
||||
|
||||
private Brush _foreground = Brushes.Black;
|
||||
|
||||
public Brush Foreground
|
||||
{
|
||||
get { return _foreground; }
|
||||
set { SetAndNotify(ref _foreground, value); }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user