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