Beispiel #1
0
        protected virtual void OnTraversing(ListViewTraversingEventArgs e)
        {
            ListViewTraversingEventHandler handler = this.Traversing;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        protected virtual void OnTraversing(ListViewTraversingEventArgs e)
        {
            ListViewTraversingEventHandler traversing = this.Traversing;

            if (traversing == null)
            {
                return;
            }
            traversing((object)this, e);
        }
        protected virtual bool OnTraversing()
        {
            if (this.IsGroupingEnabled && this.position != null && (this.position.Group != null && !this.position.Group.Expanded) || this.position != null && !this.position.Visible)
            {
                return(false);
            }
            ListViewTraversingEventArgs e = new ListViewTraversingEventArgs(this.position);

            this.OnTraversing(e);
            return(e.Process);
        }