11 writes to DefaultItem
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
949
_zoomToolStripSplitButton.
DefaultItem
= _autoToolStripMenuItem;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1448
_addItemButton.
DefaultItem
= firstItem;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ToolStripSplitButtonTests.cs (9)
31
_toolStripSplitButton.
DefaultItem
= value;
49
_toolStripSplitButton.
DefaultItem
= item1;
54
_toolStripSplitButton.
DefaultItem
= item1;
60
_toolStripSplitButton.
DefaultItem
= item2;
65
_toolStripSplitButton.
DefaultItem
= null;
71
_toolStripSplitButton.
DefaultItem
= item1;
353
_toolStripSplitButton.
DefaultItem
= defaultItem;
377
_toolStripSplitButton.
DefaultItem
= defaultItem;
401
_toolStripSplitButton.
DefaultItem
= defaultItem;
8 references to DefaultItem
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
390
DefaultItem
?.FireEvent(ToolStripItemEventType.Click);
400
DefaultItem
?.FireEvent(ToolStripItemEventType.DoubleClick);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripSplitButtonTests.cs (6)
32
_toolStripSplitButton.
DefaultItem
.Should().Be(value);
50
_toolStripSplitButton.
DefaultItem
.Should().Be(item1);
55
_toolStripSplitButton.
DefaultItem
.Should().Be(item1);
61
_toolStripSplitButton.
DefaultItem
.Should().Be(item2);
66
_toolStripSplitButton.
DefaultItem
.Should().BeNull();
72
_toolStripSplitButton.
DefaultItem
.Should().Be(item1);