DesignSurfaceManager.ActiveDesignSurface Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: