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