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