This topic has not yet been rated - Rate this topic

DesignSurfaceManager.ActiveDesignSurface Property

Gets or sets the active designer.

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)
public virtual DesignSurface ActiveDesignSurface { get; set; }

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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ