Επεξεργασία

Κοινή χρήση μέσω


DesignSurfaceManager.ActiveDesignSurface Property

Definition

Gets or sets the active designer.

public:
 virtual property System::ComponentModel::Design::DesignSurface ^ ActiveDesignSurface { System::ComponentModel::Design::DesignSurface ^ get(); void set(System::ComponentModel::Design::DesignSurface ^ value); };
public virtual System.ComponentModel.Design.DesignSurface ActiveDesignSurface { get; set; }
public virtual System.ComponentModel.Design.DesignSurface? ActiveDesignSurface { get; set; }
member this.ActiveDesignSurface : System.ComponentModel.Design.DesignSurface with get, set
Public Overridable Property ActiveDesignSurface As DesignSurface

Property Value

The active designer.

Remarks

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.

Applies to