DesignSurfaceManager::ActiveDesignSurface Property

 

Gets or sets the active designer.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
property DesignSurface^ ActiveDesignSurface {
	virtual DesignSurface^ get();
	virtual void set(DesignSurface^ value);
}

Property Value

Type: System.ComponentModel.Design::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.

.NET Framework
Available since 2.0
Return to top
Show: