client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionChapterVM.cs
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace Iri.Modernisation.Controls.ViewModel
{
public class HeaderProductionChapterVM : BaseMVVM.ViewModel.ViewModel
{
private bool _isEnable;
public bool IsEnable
{
get
{
return _isEnable;
}
set
{
_isEnable = value;
OnPropertyChanged("IsEnable");
}
}
private bool _editing;
public bool Editing
{
get
{
return _editing;
}
set
{
_editing = value;
if (_next != null)
{
_next.Enable();
}
OnPropertyChanged("Editing");
}
}
private bool _indexing;
public bool Indexing
{
get
{
return _indexing;
}
set
{
_indexing = value;
OnPropertyChanged("Indexing");
}
}
private HeaderProductionChapterVM _next;
public void Enable()
{
IsEnable = true;
}
public HeaderProductionChapterVM()
{
}
}
}