Example #1
0
        /// <summary>
        ///   Called when the user selects a label in the object tree view.
        /// </summary>
        /// <param name = "label"></param>
        private void TreeViewSelectedLabel(Node label)
        {
            // Store the current selected level
            _currentLabel = label;

            if (label == null)
            {
                return;
            }
            TreeViewHoverLabel(label);

            // Display the shape properties in the property grid, even if it is not a visible element
            _wpfPropertyView.OnSelectNode(label);
            _nodeSelectInput.OnSelect(label);

            _view.Update();
        }