예제 #1
0
        public override ITreeNode FindNodeAt(TreeTextRange treeRange)
        {
            if (treeRange.IntersectsOrContacts(TreeTextRange.FromLength(GetTextLength())))
            {
                return(base.FindNodeAt(treeRange));
            }

            return(null);
        }
 public override ITreeNode FindNodeAt(TreeTextRange treeRange) =>
 treeRange.IntersectsOrContacts(TreeTextRange.FromLength(GetTextLength()))
 ? base.FindNodeAt(treeRange)
 : null;