alielie
2025-03-03 21e28b068c8d0763a6d4ab613388a77a0db157fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.ObjectModel;
 
namespace WPFProject.Models
{
    public class FuncModel : NotifyBase 
    {
        private string _Name;
 
        public string Name
        {
            get { return _Name; }
            set => RaiseAndSetIfChanged(ref _Name, value);
        }
 
        private ObservableCollection<FuncModel> _Children;
 
        public ObservableCollection<FuncModel> Children
        {
            get { return _Children; }
            set => RaiseAndSetIfChanged(ref _Children, value);
        }
 
    }
}