protected virtual RectTestResult RectTestCore(Gdk.Rectangle rect) { RectTestResult result; if (this.GetCSVisual().RectTest(rect)) { result = new RectTestResult(this, rect, this.CanContinueTest()); } else { result = new RectTestResult(rect, this.CanContinueTest()); } return(result); }
public virtual RectTestResult RectTest(Gdk.Rectangle rect) { RectTestResult result; if (!this.IsHitTestVisible || !this.Visible || !this.VisibleForFrame || !this.CanEdit) { result = new RectTestResult(rect, this.Visible); } else { result = this.RectTestCore(rect); } return(result); }