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

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

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