20 references to DropDownAdorner
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
466
_toolStripAdornerWindowService?.
DropDownAdorner
.Glyphs.Add(bodyGlyphDropDownItem);
2258
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(glyph))
2260
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(glyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
470
&& toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(_bodyGlyph))
472
toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(_bodyGlyph);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (11)
399
_toolStripAdornerWindowService?.
DropDownAdorner
.Glyphs.Insert(0, bodyGlyphForddItem);
1109
_toolStripAdornerWindowService?.
DropDownAdorner
.Glyphs.Add(_rootControlGlyph);
1121
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(_rootControlGlyph))
1123
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(_rootControlGlyph);
1167
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(_rootControlGlyph))
1169
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(_rootControlGlyph);
1177
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Add(_rootControlGlyph);
2337
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(glyph))
2339
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(glyph);
2358
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Contains(glyph))
2360
_toolStripAdornerWindowService.
DropDownAdorner
.Glyphs.Remove(glyph);
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (4)
35
_behaviorService.Adorners.Add(_service.
DropDownAdorner
);
53
Adorner adorner = _service.
DropDownAdorner
;
72
_behaviorService.Adorners.Cast<Adorner>().Should().NotContain(_service.
DropDownAdorner
);
74
_service.
DropDownAdorner
.Should().BeNull();