namespace JD.AssetBrowser.Model
{
///
/// Provides a common implementation of a tree node model that supports checking.
///
public class CheckableTreeNodeModel : TreeNodeModel
{
private bool _isCheckable;
private bool? _isChecked = false;
///
/// Gets or sets whether the node is checkable.
///
///
/// true if the node is checkable; otherwise, false.
///
public bool IsCheckable
{
get { return _isCheckable; }
set { SetProperty(ref _isCheckable, value); }
}
///
/// Gets or sets whether the node is checked.
///
///
/// true if the node is checked; otherwise, false.
///
public bool? IsChecked
{
get { return _isChecked; }
set { SetProperty(ref _isChecked, value); }
}
}
}