Sic.Framework/MECF.Framework.UI.Client/RecipeEditorLib/RecipeModel/Params/MultipleSelectParam.cs

24 lines
673 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using RecipeEditorLib.DGExtension.CustomColumn;
namespace RecipeEditorLib.RecipeModel.Params
{
public class MultipleSelectParam : Param
{
public MultipleSelectParam(MultipleSelectColumn col)
{
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; }
}
}