26 references to OwnerToolStrip
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ToolStrip.cs (2)
1680
if (dropDown.
OwnerToolStrip
!= null) {
1681
return dropDown.
OwnerToolStrip
.Renderer;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (22)
625
if (IsAutoGenerated &&
OwnerToolStrip
!= null) {
626
return
OwnerToolStrip
.ImageScalingSizeInternal;
638
ToolStrip ownerToolStrip =
OwnerToolStrip
;
648
ToolStrip ownerToolStrip =
OwnerToolStrip
;
1285
return (topmost.OwnerItem == null) ? null : topmost.
OwnerToolStrip
;
1453
if (
OwnerToolStrip
!= null && OwnerItem != null) {
1454
if (OwnerItem.Bounds.Contains(WindowsFormsUtils.TranslatePoint(mea.Location, this,
OwnerToolStrip
))) {
1486
if (
OwnerToolStrip
!= null) {
1489
if (!
OwnerToolStrip
.IsDropDown) {
1490
if (ToolStripManager.ModalMenuFilter.GetActiveToolStrip() !=
OwnerToolStrip
) {
1491
ToolStripManager.ModalMenuFilter.SetActiveToolStrip(
OwnerToolStrip
);
1494
OwnerToolStrip
.MenuAutoExpand = false;
1498
if (
OwnerToolStrip
.CanSelect) {
1825
if (
OwnerToolStrip
!= null) {
1826
OwnerToolStrip
.ActiveDropDowns.Add(this);
1829
OwnerToolStrip
.SnapMouseLocation();
1833
if (
OwnerToolStrip
.CaptureInternal) {
1943
if (
OwnerToolStrip
!= null) {
1944
OwnerToolStrip
.ActiveDropDowns.Remove(this);
2256
return ((
OwnerToolStrip
as ToolStripDropDown) == null);
2267
ToolStripDropDown ownerDropDown = topmost.
OwnerToolStrip
as ToolStripDropDown;
2270
ownerDropDown = topmost.
OwnerToolStrip
as ToolStripDropDown;
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
1055
if (!(activeToolStripDropDown.
OwnerToolStrip
!= null
1056
&& activeToolStripDropDown.
OwnerToolStrip
.Handle == hwndMouseMessageIsFrom