17 writes to Tag
PresentationUI (1)
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
175this._networkRadioButton.Tag = "";
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
421set => base.Tag = value;
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerActionPanel.Line.cs (2)
35c.Tag = this; 55c.Tag = null;
System\Windows\Forms\Design\MaskDescriptor.cs (2)
111maskedTextBox.Tag = MaskedTextBoxDesigner.GetMaskInputRejectedErrorMessage(e); 122maskedTextBox.Tag = e.Message;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
356menu.Tag = isRow;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
561_newItemTypes.Tag = true;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripControlHostTests.cs (1)
37Tag = new object(),
WinFormsControlsTest (8)
ListBoxes.Designer.cs (8)
84this.addButton1.Tag = new object[] { listBox1, textBox1 }; 93this.deleteButton1.Tag = listBox1; 122this.addButton2.Tag = new object[] { listBox2, textBox2 }; 131this.deleteButton2.Tag = listBox2; 162this.addButton3.Tag = new object[] { listBox3, textBox3 }; 171this.deleteButton3.Tag = listBox3; 204this.addButton4.Tag = new object[] { listBox4, textBox4 }; 213this.deleteButton4.Tag = listBox4;
11 references to Tag
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
420get => base.Tag;
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
170private Line? FocusedLine => ActiveControl?.Tag as Line;
System\Windows\Forms\Design\MaskDescriptor.cs (3)
92if (maskedTextBox.Tag is null) // Sample was added successfully (MaskInputRejected event handler did not change the maskedTextBox tag). 100if (maskedTextBox.Tag is not null) // Validation failed. 102validationErrorDescription = maskedTextBox.Tag.ToString()!;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1607bool isRow = (bool)menu.Tag;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
541if (_newItemTypes.Tag is null || !(bool)_newItemTypes.Tag)
WinFormsControlsTest (3)
ListBoxes.cs (3)
20var listBox = (ListBox)((object[])control.Tag)[0]; 21var textBox = (TextBox)((object[])control.Tag)[1]; 28var listBox = (ListBox)control.Tag;