1 implementation of InTransaction
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
859bool IDesignerHost.InTransaction => (_transactions is not null && _transactions.Count > 0) || IsClosingTransaction;
11 references to InTransaction
System.Windows.Forms.Design (11)
System\ComponentModel\Design\DesignerActionUI.cs (2)
280if (host is { InTransaction: true } and not IDesignerHostTransactionState { IsClosingTransaction: true }) 538if (_serviceProvider.TryGetService(out IDesignerHost? host) && host.InTransaction)
System\ComponentModel\Design\DesignerEventService.cs (2)
259if (host.InTransaction) 283if (host.InTransaction)
System\ComponentModel\Design\DesignerHost.cs (1)
1002if (((IDesignerHost)this).InTransaction)
System\ComponentModel\Design\SelectionService.cs (2)
73if (host.InTransaction) 277if (host.InTransaction)
System\ComponentModel\Design\UndoEngine.cs (1)
157if (reason != PopUnitReason.Normal || !_host.InTransaction)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
286if (!_designerHost.InTransaction)
System\Windows\Forms\Design\SelectionUIService.cs (2)
78if (host.InTransaction) 151if (_host.InTransaction)