Sic04/FrameworkLocal/UIClient/RecipeEditorLib/RecipeModel/Params/MultipleSelectParam.cs

19 lines
623 B
C#
Raw Normal View History

using System.Collections.ObjectModel;
using MECF.Framework.UI.Client.RecipeEditorLib.RecipeModel.Params;
2022-09-19 09:16:33 +08:00
using RecipeEditorLib.DGExtension.CustomColumn;
namespace RecipeEditorLib.RecipeModel.Params
{
public class MultipleSelectParam : Param
{
public MultipleSelectParam(MultipleSelectColumn col)
2022-09-19 09:16:33 +08:00
{
this.Options = new ObservableCollection<MultipleSelectColumn.Option>();
col.CloneOptions(this).ForEach(opt => this.Options.Add(opt));
this.IsSaved = true;
}
public ObservableCollection<MultipleSelectColumn.Option> Options { get; set; }
}
}