Export (0) Print
Expand All

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.5.3, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft