mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
16 lines
368 B
C#
16 lines
368 B
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace DragablzDemo
|
|
{
|
|
public class TreeNode
|
|
{
|
|
private readonly ObservableCollection<TreeNode> _children = new ObservableCollection<TreeNode>();
|
|
|
|
public object Content { get; set; }
|
|
|
|
public ObservableCollection<TreeNode> Children
|
|
{
|
|
get { return _children; }
|
|
}
|
|
}
|
|
} |