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

47 lines
793 B
C#
Raw Normal View History

namespace RecipeEditorLib.RecipeModel.Params
2022-09-19 09:16:33 +08:00
{
public class StepParam : ParamBaseWithGenericValue<int>
2022-09-19 09:16:33 +08:00
{
#region Variables
private bool _checked;
#endregion
#region Constructors
public StepParam()
{
}
public StepParam(int initValue) : base(initValue)
2022-09-19 09:16:33 +08:00
{
}
#endregion
#region Properties
public override bool IsHideValue
{
get => false;
2022-09-19 09:16:33 +08:00
set
{
2022-09-19 09:16:33 +08:00
}
}
public bool IsChecked
2022-09-19 09:16:33 +08:00
{
get => _checked;
2022-09-19 09:16:33 +08:00
set
{
_checked = value;
NotifyOfPropertyChange(nameof(IsChecked));
2022-09-19 09:16:33 +08:00
}
}
#endregion
2022-09-19 09:16:33 +08:00
}
}