1 implementation of TransactionDescription
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
877string IDesignerHost.TransactionDescription =>
26 references to TransactionDescription
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
529_unitStack.Push(CreateUndoUnit(_host.TransactionDescription, _unitStack.Count == 0));
System.Windows.Forms.Design.Tests (25)
System\ComponentModel\Design\DesignerHostTests.cs (11)
145host.TransactionDescription.Should().BeNullOrEmpty(); 1878Assert.Equal("No Description Available", host.TransactionDescription); 1885Assert.Equal("No Description Available", host.TransactionDescription); 1903Assert.Equal(expectedDescription, host.TransactionDescription); 1910Assert.Equal("CustomDescription", host.TransactionDescription); 1978Assert.Equal("Description1", host.TransactionDescription); 1989Assert.Equal("Description1", host.TransactionDescription); 2000host.TransactionDescription.Should().BeNullOrEmpty(); 2091Assert.Equal("Description1", host.TransactionDescription); 2102Assert.Equal("Description1", host.TransactionDescription); 2113host.TransactionDescription.Should().BeNullOrEmpty();
System\ComponentModel\Design\DesignSurfaceTests.cs (14)
30surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 69surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 91surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 113surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 160surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 1215Assert.Equal("Transaction1", host.TransactionDescription); 1219Assert.Equal("Transaction1", host.TransactionDescription); 1225Assert.Equal("Transaction1", host.TransactionDescription); 1334Assert.Equal("Transaction1", host.TransactionDescription); 1338Assert.Equal("Transaction1", host.TransactionDescription); 1344Assert.Equal("Transaction1", host.TransactionDescription); 1359Assert.Equal("Transaction1", host.TransactionDescription); 1363Assert.Equal("Transaction1", host.TransactionDescription); 1369Assert.Equal("Transaction1", host.TransactionDescription);