13 writes to Tag
Accessibility_Core_App (1)
DataControls.Designer.cs (1)
253this.toolStripProgressBar1.Tag = "PB";
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
526menuItem.Tag = Tag;
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
317add.Tag = isRow; 322insert.Tag = isRow; 327delete.Tag = isRow; 340absolute.Tag = isRow; 345percent.Tag = isRow; 350autosize.Tag = isRow;
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
96Tag = new EnumValueDescription(propertyName, value) 108item.Tag = propertyName;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripItemTests.cs (2)
8053Tag = value 8058item.Tag = value;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
301Tag = "Tag",
29 references to Tag
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
526menuItem.Tag = Tag;
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
1668private void OnAddClick(object sender, EventArgs e) => OnAdd((bool)((ToolStripMenuItem)sender).Tag); // Tag = isRow 1754bool isRow = (bool)((ToolStripMenuItem)sender).Tag; 1937bool isRow = (bool)((ToolStripMenuItem)sender).Tag; 2042private void OnAbsoluteClick(object sender, EventArgs e) => ChangeSizeType((bool)((ToolStripMenuItem)sender).Tag, SizeType.Absolute); 2044private void OnPercentClick(object sender, EventArgs e) => ChangeSizeType((bool)((ToolStripMenuItem)sender).Tag, SizeType.Percent); 2046private void OnAutoSizeClick(object sender, EventArgs e) => ChangeSizeType((bool)((ToolStripMenuItem)sender).Tag, SizeType.AutoSize);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
258string propertyName = item.Tag as string; 274EnumValueDescription desc = item.Tag as EnumValueDescription;
System.Windows.Forms.Tests (20)
System\Windows\Forms\ToolStripButtonTests.cs (6)
84Assert.Null(item.Tag); 165Assert.Null(item.Tag); 252Assert.Null(item.Tag); 342Assert.Null(item.Tag); 430Assert.Null(item.Tag); 528Assert.Null(item.Tag);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
113Assert.Null(item.Tag);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
84Assert.Null(item.Tag); 173Assert.Null(item.Tag); 272Assert.Null(item.Tag); 380Assert.Null(item.Tag);
System\Windows\Forms\ToolStripItemTests.cs (5)
83Assert.Null(item.Tag); 168Assert.Null(item.Tag); 263Assert.Null(item.Tag); 8055Assert.Same(value, item.Tag); 8059Assert.Same(value, item.Tag);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
93Assert.Null(item.Tag); 346clone.Tag.Should().Be(original.Tag);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
81Assert.Null(item.Tag);