System.Windows.Forms.ListView.ItemControl.BoxIntersectsItem C# (CSharp) Method

BoxIntersectsItem() private method

private BoxIntersectsItem ( int index ) : bool
index int
return bool
			bool BoxIntersectsItem (int index)
			{
				Rectangle r = new Rectangle (owner.GetItemLocation (index), owner.ItemSize);
				if (owner.View != View.Details) {
					r.X += r.Width / 4;
					r.Y += r.Height / 4;
					r.Width /= 2;
					r.Height /= 2;
				}
				return BoxSelectRectangle.IntersectsWith (r);
			}