DesignSurfaceManager::ActiveDesignSurface Property
.NET Framework (current version)
Gets or sets the active designer.
Assembly: System.Design (in System.Design.dll)
public: property DesignSurface^ ActiveDesignSurface { virtual DesignSurface^ get(); virtual void set(DesignSurface^ value); }
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: