5 writes to TargetItem
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (5)
1194
TargetItem
= item
1200
maction.
TargetItem
= item;
1209
maction.
TargetItem
= source;
1229
maction.
TargetItem
= source;
1244
maction.
TargetItem
= source;
5 references to TargetItem
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\MergeHistoryItem.cs (2)
26
=> $"MergeAction: {MergeAction} | TargetItem: {(
TargetItem
is null ? "null" :
TargetItem
.Text)} Index: {Index}";
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (3)
1334
historyItem.IndexCollection!.Remove(historyItem.
TargetItem
!);
1336
historyItem.PreviousIndexCollection!.Insert(Math.Min(historyItem.PreviousIndex, historyItem.PreviousIndexCollection.Count), historyItem.
TargetItem
!);
1339
historyItem.IndexCollection!.Insert(Math.Min(historyItem.Index, historyItem.IndexCollection.Count), historyItem.
TargetItem
!);