19 writes to MessageReplacementToken
System.Windows.Forms (4)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (1)
152e.MessageReplacementToken = string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
217MessageReplacementToken = string.Empty
System\Windows\Forms\OLE\DragDropHelper.cs (1)
389e.MessageReplacementToken ??= string.Empty;
System\Windows\Forms\OLE\DragEventArgs.cs (1)
48MessageReplacementToken = messageReplacementToken;
System.Windows.Forms.Tests (1)
System\Windows\Forms\DragEventArgsTests.cs (1)
94MessageReplacementToken = value
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
356e.MessageReplacementToken = messageReplacementToken; 1069e.MessageReplacementToken = "DragAcceptFiles";
WinFormsControlsTest (12)
DragDrop.cs (12)
123e.MessageReplacementToken = $"{(files.Length > 1 ? "Cats" : "Cat")}"; 135e.MessageReplacementToken = Path.GetExtension(files[0]); 148e.MessageReplacementToken = "Cat"; 240e.MessageReplacementToken = "~=[,,_,,]:3"; 249e.MessageReplacementToken = "Cat"; 261e.MessageReplacementToken = Path.GetExtension(files[0]); 282e.MessageReplacementToken = "~=[,,_,,]:3"; 291e.MessageReplacementToken = "Cat"; 303e.MessageReplacementToken = Path.GetExtension(files[0]); 324e.MessageReplacementToken = "DragAcceptFiles"; 331e.MessageReplacementToken = "Cat"; 338e.MessageReplacementToken = "Cat";
14 references to MessageReplacementToken
System.Windows.Forms (9)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
144_lastDragEventArgs.MessageReplacementToken ?? string.Empty); 245_lastDragEventArgs.MessageReplacementToken ?? string.Empty);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
212DragEventArgs dragEnterArgs = new(e.Data, e.KeyState, e.X, e.Y, e.AllowedEffect, e.Effect, e.DropImageType, e.Message, e.MessageReplacementToken)
System\Windows\Forms\OLE\DragDropHelper.cs (1)
390SetDropDescription(dataObject, e.DropImageType, e.Message, e.MessageReplacementToken);
System\Windows\Forms\OLE\DragEventArgs.cs (4)
93/// UI coloring is applied to the text in <see cref="MessageReplacementToken"/> 104/// UI coloring is applied to the text in <see cref="MessageReplacementToken"/> 132&& dragEventArgs.MessageReplacementToken == MessageReplacementToken;
System\Windows\Forms\OLE\DropTarget.cs (1)
89_lastDragEventArgs.MessageReplacementToken ?? string.Empty);
System.Windows.Forms.Tests (3)
System\Windows\Forms\DragDropHelperTests.cs (1)
275Assert.Equal(e.MessageReplacementToken, szInsert);
System\Windows\Forms\DragEventArgsTests.cs (2)
48Assert.Equal(messageReplacementToken, e.MessageReplacementToken); 96Assert.Equal(value, e.MessageReplacementToken);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
364Assert.Equal(messageReplacementToken, e.MessageReplacementToken); 371Assert.Equal(messageReplacementToken, e.MessageReplacementToken);