Esempio n. 1
0
        public OutlineViewModel Insert(int index, string text = "")
        {
            var outline = new OutlineViewModel()
            {
                Parent = this, Text = text
            };

            Children.Insert(index, outline);
            return(outline);
        }
Esempio n. 2
0
        public OutlineViewModel Add(string text = "")
        {
            var outline = new OutlineViewModel()
            {
                Parent = this, Text = text
            };

            Children.Add(outline);
            return(outline);
        }