Manina.Windows.Forms.ImageListViewLayoutManager.GetItemBoundsWithMargin C# (CSharp) Method

GetItemBoundsWithMargin() public method

Returns the bounds of the item with the specified index, including the margin around the item.
public GetItemBoundsWithMargin ( int itemIndex ) : Rectangle
itemIndex int
return System.Drawing.Rectangle
        public Rectangle GetItemBoundsWithMargin(int itemIndex)
        {
            Rectangle rec = GetItemBounds(itemIndex);
            rec.Inflate(cachedItemMargin.Width / 2, cachedItemMargin.Height / 2);
            return rec;
        }