15 references to ToolStripItemDesignerAvailability
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
10[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
11[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.MenuStrip | ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.ContextMenuStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
14[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.StatusStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
13[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
17[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.MenuStrip | ToolStripItemDesignerAvailability.ContextMenuStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
10[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.None)]
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
10[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.ContextMenuStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
11[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.StatusStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
15[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.StatusStrip)]
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
13[ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.MenuStrip | ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.ContextMenuStrip)]
System.Windows.Forms.Tests (5)
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttributeTests.cs (5)
22ToolStripItemDesignerAvailabilityAttribute attribute = new(visibility); 38yield return new object[] { new ToolStripItemDesignerAvailabilityAttribute(ToolStripItemDesignerAvailability.All), false }; 50ToolStripItemDesignerAvailabilityAttribute attribute = new(ToolStripItemDesignerAvailability.All); 52yield return new object[] { attribute, new ToolStripItemDesignerAvailabilityAttribute(ToolStripItemDesignerAvailability.All), true }; 53yield return new object[] { attribute, new ToolStripItemDesignerAvailabilityAttribute(ToolStripItemDesignerAvailability.None), false };