Example #1
0
 public TreeStyle(TreeStyle style)
 {
     Plus           = style.Plus;
     PlusSelection  = style.PlusSelection;
     Minus          = style.Minus;
     MinusSelection = style.MinusSelection;
     Selection      = style.Selection;
 }
Example #2
0
        public Tree(TreeStyle style)
        {
            YSpacing = 4;
            IconSpacing = 2;
            MultiSelect = true;
            ToggleSelect = true;
            Style = style;

            _selectionChanger = new SelectionChanger<TreeNode>() {
                CanSelectMultiple = true,
                SelectionChangeHandler = SelectionChangeHandler,
            };
        }
Example #3
0
        public Tree(TreeStyle style)
        {
            YSpacing     = 4;
            IconSpacing  = 2;
            MultiSelect  = true;
            ToggleSelect = true;
            Style        = style;

            _selectionChanger = new SelectionChanger <TreeNode>()
            {
                CanSelectMultiple      = true,
                SelectionChangeHandler = SelectionChangeHandler,
            };
        }
Example #4
0
 public TreeStyle(TreeStyle style)
 {
     Plus = style.Plus;
     PlusSelection = style.PlusSelection;
     Minus = style.Minus;
     MinusSelection = style.MinusSelection;
     Selection = style.Selection;
 }