66 lines
1.5 KiB
C#
66 lines
1.5 KiB
C#
using System.Windows.Media;
|
|
|
|
namespace Filtration.Common.ViewModels
|
|
{
|
|
public class PaneViewModel : FiltrationViewModelBase
|
|
{
|
|
private string _title;
|
|
public string Title
|
|
{
|
|
get { return _title; }
|
|
set
|
|
{
|
|
if (_title != value)
|
|
{
|
|
_title = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public ImageSource IconSource { get; protected set; }
|
|
|
|
private string _contentId;
|
|
public string ContentId
|
|
{
|
|
get { return _contentId; }
|
|
set
|
|
{
|
|
if (_contentId != value)
|
|
{
|
|
_contentId = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
private bool _isSelected;
|
|
public bool IsSelected
|
|
{
|
|
get { return _isSelected; }
|
|
set
|
|
{
|
|
if (_isSelected != value)
|
|
{
|
|
_isSelected = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
private bool _isActive;
|
|
public bool IsActive
|
|
{
|
|
get { return _isActive; }
|
|
set
|
|
{
|
|
if (_isActive != value)
|
|
{
|
|
_isActive = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|