Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramHelper/Extensions/ViewModels/SettingsDesignerItemData.cs
2022-10-28 22:45:39 +08:00

34 lines
976 B
C#

using AIStudio.Wpf.DiagramHelper.Models;
namespace AIStudio.Wpf.DiagramHelper.Extensions.ViewModels
{
/// <summary>
/// This is passed to the PopupWindow.xaml window, where a DataTemplate is used to provide the
/// ContentControl with the look for this data. This class is also used to allow
/// the popup to be cancelled without applying any changes to the calling ViewModel
/// whos data will be updated if the PopupWindow.xaml window is closed successfully
/// </summary>
public class SettingsDesignerItemData : TitleBindableBase
{
public SettingsDesignerItemData(string currentSetting1)
{
Setting1 = currentSetting1;
}
private string _setting1 = "";
public string Setting1
{
get
{
return _setting1;
}
set
{
SetProperty(ref _setting1, value);
}
}
}
}