//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.ComponentModel.Design { using System.Diagnostics; using System; using System.ComponentModel; using Microsoft.Win32; /// /// Provides global /// event notifications and the ability to create designers. /// public interface IDesignerEventService { /// /// /// Gets the currently active designer. /// /// IDesignerHost ActiveDesigner { get; } /// /// /// Gets or /// sets a collection of running design documents in the development environment. /// /// DesignerCollection Designers { get; } /// /// /// Adds an event that will be raised when the currently active designer /// changes. /// /// event ActiveDesignerEventHandler ActiveDesignerChanged; /// /// /// Adds an event that will be raised when a designer is created. /// /// event DesignerEventHandler DesignerCreated; /// /// /// Adds an event that will be raised when a designer is disposed. /// /// event DesignerEventHandler DesignerDisposed; /// /// /// Adds an event that will be raised when the global selection changes. /// /// event EventHandler SelectionChanged; } }