Files
laatzen/Common/OmniPlus/InspectionUI/Plugins/ItemsGridCellCheckboxVM.cs
T

30 lines
619 B
C#

namespace InspectionUI
{
using InspectionUI.Abstraction.Interfaces;
using System;
using System.Windows.Input;
public class ItemsGridCellCheckboxVM : ItemsGridCellVM, IGridCellCheckbox
{
public ItemsGridCellCheckboxVM() : base()
{
}
private bool @checked;
public bool IsChecked
{
get => this.@checked;
set => this.Set(() => this.@checked = value);
}
public ICommand Cmd { get; private set; }
public Action Executable
{
set => this.Cmd = new Command(value);
}
}
}