mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-02 07:06:37 +08:00
项目结构调整
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
namespace FluentTest.ViewModels
|
||||
{
|
||||
public class GalleryItemViewModel : ViewModel
|
||||
{
|
||||
private string text;
|
||||
private string group;
|
||||
|
||||
public GalleryItemViewModel(string group, string text)
|
||||
{
|
||||
this.Group = group;
|
||||
this.Text = text;
|
||||
}
|
||||
|
||||
public string Text
|
||||
{
|
||||
get { return this.text; }
|
||||
|
||||
set
|
||||
{
|
||||
if (value == this.text)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
this.text = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public string Group
|
||||
{
|
||||
get { return this.group; }
|
||||
|
||||
set
|
||||
{
|
||||
if (value == this.group)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
this.group = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user