Beispiel #1
0
        /// <summary>
        /// Clears the selection on the node and all child nodes.
        /// </summary>
        public void UnselectAll()
        {
            IsSelected = false;
            if (m_Title != null)
            {
                m_Title.ToggleState = false;
            }

            foreach (Base child in Children)
            {
                TreeNode node = child as TreeNode;
                if (node == null)
                {
                    continue;
                }
                node.UnselectAll();
            }
        }
Beispiel #2
0
 /// <summary>
 /// Clears the selection on the node and all child nodes.
 /// </summary>
 public void UnselectAll()
 {
     m_RootNode.UnselectAll();
 }