mscorlib(4.0.0.0) API with additions
ActiveDesignerEventArgs.cs
2 
4 {
6  [HostProtection(SecurityAction.LinkDemand, SharedState = true)]
7  [PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust")]
8  [PermissionSet(SecurityAction.InheritanceDemand, Name = "FullTrust")]
10  {
11  private readonly IDesignerHost oldDesigner;
12 
13  private readonly IDesignerHost newDesigner;
14 
17  public IDesignerHost OldDesigner => oldDesigner;
18 
21  public IDesignerHost NewDesigner => newDesigner;
22 
26  public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner)
27  {
28  this.oldDesigner = oldDesigner;
29  this.newDesigner = newDesigner;
30  }
31  }
32 }
Provides data for the P:System.ComponentModel.Design.IDesignerEventService.ActiveDesigner event.
Exposes state that might be shared between threads.
Definition: __Canon.cs:3
IDesignerHost OldDesigner
Gets the document that is losing activation.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: EventArgs.cs:9
SecurityAction
Specifies the security actions that can be performed using declarative security.
IDesignerHost NewDesigner
Gets the document that is gaining activation.
Provides an interface for managing designer transactions and components.
Definition: IDesignerHost.cs:7
ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner)
Initializes a new instance of the T:System.ComponentModel.Design.ActiveDesignerEventArgs class.