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)
143host.TransactionDescription.Should().BeNullOrEmpty(); 1876Assert.Equal("No Description Available", host.TransactionDescription); 1883Assert.Equal("No Description Available", host.TransactionDescription); 1901Assert.Equal(expectedDescription, host.TransactionDescription); 1908Assert.Equal("CustomDescription", host.TransactionDescription); 1976Assert.Equal("Description1", host.TransactionDescription); 1987Assert.Equal("Description1", host.TransactionDescription); 1998host.TransactionDescription.Should().BeNullOrEmpty(); 2089Assert.Equal("Description1", host.TransactionDescription); 2100Assert.Equal("Description1", host.TransactionDescription); 2111host.TransactionDescription.Should().BeNullOrEmpty();
System\ComponentModel\Design\DesignSurfaceTests.cs (14)
28surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 67surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 89surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 111surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 158surface.Host.TransactionDescription.Should().BeNullOrEmpty(); 1213Assert.Equal("Transaction1", host.TransactionDescription); 1217Assert.Equal("Transaction1", host.TransactionDescription); 1223Assert.Equal("Transaction1", host.TransactionDescription); 1332Assert.Equal("Transaction1", host.TransactionDescription); 1336Assert.Equal("Transaction1", host.TransactionDescription); 1342Assert.Equal("Transaction1", host.TransactionDescription); 1357Assert.Equal("Transaction1", host.TransactionDescription); 1361Assert.Equal("Transaction1", host.TransactionDescription); 1367Assert.Equal("Transaction1", host.TransactionDescription);