Filtration/Filtration.Common/ViewModels/PaneViewModel.cs

66 lines
1.5 KiB
C#
Raw Permalink Normal View History

using System.Windows.Media;
2015-06-26 12:42:20 -04:00
namespace Filtration.Common.ViewModels
{
2015-06-26 12:42:20 -04:00
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();
}
}
}
}
}