16 references to None
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
521if ((DisplayStyle & ToolStripItemDisplayStyle.Image) != ToolStripItemDisplayStyle.None) 526if ((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)
1225yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.None, 0, 0, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (2)
801item.DisplayStyle = ToolStripItemDisplayStyle.None; 802Assert.Equal(ToolStripItemDisplayStyle.None, item.DisplayStyle);
System\Windows\Forms\ToolStripItemTests.cs (7)
2127[InlineData(ToolStripItemDisplayStyle.None, 1)] 2168[InlineData(ToolStripItemDisplayStyle.None, 1)] 2308item.DisplayStyle = ToolStripItemDisplayStyle.None; 2309Assert.Equal(ToolStripItemDisplayStyle.None, item.DisplayStyle); 2995yield return new object[] { ToolStripItemDisplayStyle.None, new Font("Arial", 8.25f), 0 }; 11347yield return new object[] { ToolStripItemDisplayStyle.None, null, 0 }; 11348yield return new object[] { ToolStripItemDisplayStyle.None, new EventArgs(), 0 };
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
207item.DisplayStyle = ToolStripItemDisplayStyle.None; 208Assert.Equal(ToolStripItemDisplayStyle.None, item.DisplayStyle);