1 write to ownerItem
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1442
this.
ownerItem
= ownerItem;
15 references to ownerItem
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (15)
1447
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1456
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1478
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1483
arrowRect.Y = LayoutUtils.VAlign(arrowRect.Size,
ownerItem
.ClientBounds, ContentAlignment.MiddleCenter).Y;
1493
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1496
if (
ownerItem
.CheckedImage != null) {
1497
int imageHeight =
ownerItem
.CheckedImage.Height;
1511
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1517
if (
ownerItem
.ImageScaling == ToolStripItemImageScaling.SizeToFit) {
1522
Image image =
ownerItem
.Image ??
ownerItem
.CheckedImage;
1525
imageRect.Y = LayoutUtils.VAlign(imageRect.Size,
ownerItem
.ClientBounds, ContentAlignment.MiddleCenter).Y;
1536
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;
1547
return
ownerItem
.Owner is ToolStripDropDownMenu;
1553
ToolStripDropDownMenu menu =
ownerItem
.Owner as ToolStripDropDownMenu;