System.Windows.Forms.TreeView.TreeView C# (CSharp) Method

TreeView() public method

public TreeView ( ) : System
return System
        public TreeView()
        {
            this.BackColor = Color.White;
            this.BorderColor = Color.FromArgb(130, 135, 144);
            this.CanSelect = true;
            this.ImageList = new ImageList();
            this.ItemHeight = 22;
            this.Padding = new Padding(4);
            this.root = new TreeNode(this);
            this.root.Expand();
            this.Resize += TreeView_Resize;
            this.ScrollBarColor = Color.FromArgb(222, 222, 230);
            this.ScrollBarHoverColor = Color.FromArgb(136, 136, 136);
            this.ScrollSpeed = 2;
            this.SelectionColor = Color.FromArgb(187, 222, 251);
            this.SelectionHoverColor = Color.FromArgb(221, 238, 253);
            this.SmoothScrolling = true;

            _nodes = new TreeNodeCollection(root);
            _nodeList = new List<TreeNode>();
            scrollNodeList = new List<TreeNode>();

            onDrawNode = _OnDrawNode;

            Owner.UpClick += _Application_UpClick;
        }