61 строка
1.4 KiB
C#
61 строка
1.4 KiB
C#
#region Copyright Syncfusion Inc. 2001-2024.
|
|
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
|
|
// Use of this code is subject to the terms of our license.
|
|
// A copy of the current license can be obtained at any time by e-mailing
|
|
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
// applicable laws.
|
|
#endregion
|
|
using Syncfusion.Windows.Shared;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Text;
|
|
|
|
namespace syncfusion.treeviewdemos.wpf
|
|
{
|
|
public class MusicInfo : NotificationObject
|
|
{
|
|
#region Fields
|
|
|
|
public string itemName;
|
|
public int id;
|
|
public bool hasChildNodes;
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public string ItemName
|
|
{
|
|
get { return itemName; }
|
|
set
|
|
{
|
|
itemName = value;
|
|
RaisePropertyChanged("ItemName");
|
|
}
|
|
}
|
|
|
|
public int ID
|
|
{
|
|
get { return id; }
|
|
set
|
|
{
|
|
id = value;
|
|
RaisePropertyChanged("ID");
|
|
}
|
|
}
|
|
|
|
public bool HasChildNodes
|
|
{
|
|
get { return hasChildNodes; }
|
|
set
|
|
{
|
|
hasChildNodes = value;
|
|
RaisePropertyChanged("HasChildNodes");
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|