10 references to ItemBoundsPortion
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ListView.cs (9)
3129Rectangle iconBounds = this.GetItemRect(lvi.Index, ItemBoundsPortion.Icon); 3411public Rectangle GetItemRect(int index, ItemBoundsPortion portion) { 3416if (!ClientUtils.IsEnumValid(portion, (int)portion, (int)ItemBoundsPortion.Entire, (int)ItemBoundsPortion.ItemOnly)){ 3417throw new InvalidEnumArgumentException("portion", (int)portion, typeof(ItemBoundsPortion)); 3495internal Rectangle GetSubItemRect(int itemIndex, int subItemIndex, ItemBoundsPortion portion) { 3509if (!ClientUtils.IsEnumValid(portion, (int)portion, (int)ItemBoundsPortion.Entire, (int)ItemBoundsPortion.ItemOnly)) 3511throw new InvalidEnumArgumentException("portion", (int)portion, typeof(ItemBoundsPortion));
winforms\Managed\System\WinForms\ListViewItem.cs (1)
1051public Rectangle GetBounds(ItemBoundsPortion portion) {