DesignSurfaceManager.ActiveDesignSurface Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the active designer.
public:
virtual property System::ComponentModel::Design::DesignSurface ^ ActiveDesignSurface { System::ComponentModel::Design::DesignSurface ^ get(); void set(System::ComponentModel::Design::DesignSurface ^ value); };
public virtual System.ComponentModel.Design.DesignSurface ActiveDesignSurface { get; set; }
public virtual System.ComponentModel.Design.DesignSurface? ActiveDesignSurface { get; set; }
member this.ActiveDesignSurface : System.ComponentModel.Design.DesignSurface with get, set
Public Overridable Property ActiveDesignSurface As DesignSurface
The active designer.
The ActiveDesignSurface property should be set by the designer's user interface whenever a designer becomes the active window. The default implementation of this property works with the default implementation of the IDesignerEventService interface to notify interested parties that a new designer is now active. If you provide your own implementation of IDesignerEventService, you should override this property to notify your service appropriately. This property can be set to null
, indicating that no designer is active.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: