16 references to None
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
521
if ((DisplayStyle & ToolStripItemDisplayStyle.Image) != ToolStripItemDisplayStyle.
None
)
526
if ((DisplayStyle & ToolStripItemDisplayStyle.Text) != ToolStripItemDisplayStyle.
None
)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
154
_noneStyleToolStripMenuItem = CreateEnumValueItem("DisplayStyle", "None", ToolStripItemDisplayStyle.
None
);
628
_noneStyleToolStripMenuItem.Checked = currentDisplayStyleValue == ToolStripItemDisplayStyle.
None
;
System.Windows.Forms.Tests (12)
System\Windows\Forms\ToolStripButtonTests.cs (1)
1225
yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.
None
, 0, 0, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (2)
801
item.DisplayStyle = ToolStripItemDisplayStyle.
None
;
802
Assert.Equal(ToolStripItemDisplayStyle.
None
, item.DisplayStyle);
System\Windows\Forms\ToolStripItemTests.cs (7)
2127
[InlineData(ToolStripItemDisplayStyle.
None
, 1)]
2168
[InlineData(ToolStripItemDisplayStyle.
None
, 1)]
2308
item.DisplayStyle = ToolStripItemDisplayStyle.
None
;
2309
Assert.Equal(ToolStripItemDisplayStyle.
None
, item.DisplayStyle);
2995
yield return new object[] { ToolStripItemDisplayStyle.
None
, new Font("Arial", 8.25f), 0 };
11366
yield return new object[] { ToolStripItemDisplayStyle.
None
, null, 0 };
11367
yield return new object[] { ToolStripItemDisplayStyle.
None
, new EventArgs(), 0 };
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
207
item.DisplayStyle = ToolStripItemDisplayStyle.
None
;
208
Assert.Equal(ToolStripItemDisplayStyle.
None
, item.DisplayStyle);