Files
aistudio-wpf-diagram/Live-Charts-master/Examples/Wpf/Home/SampleVm.cs
2021-07-23 09:42:22 +08:00

28 lines
594 B
C#

using System;
namespace Wpf.Home
{
public class SampleVm
{
private static int _idCount;
public SampleVm()
{
Id = _idCount++;
Tags = string.Empty;
}
public SampleVm(string title, Type content, string tags = "")
{
Id = _idCount++;
Title = title;
Content = content;
Tags = tags;
}
public int Id { get; private set; }
public string Title { get; set; }
public Type Content { get; set; }
public string Tags { get; set; }
}
}