コード例 #1
0
        public override ITreeNode FindNodeAt(TreeTextRange treeRange)
        {
            if (treeRange.IntersectsOrContacts(TreeTextRange.FromLength(GetTextLength())))
            {
                return(base.FindNodeAt(treeRange));
            }

            return(null);
        }
コード例 #2
0
 public override ITreeNode FindNodeAt(TreeTextRange treeRange) =>
 treeRange.IntersectsOrContacts(TreeTextRange.FromLength(GetTextLength()))
 ? base.FindNodeAt(treeRange)
 : null;