The Labs \ Source Viewer \ SSCLI \ System.ComponentModel.Design \ IDesigner

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IDesigner.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. /*
  16. */
  17. namespace System.ComponentModel.Design
  18. {
  19.     using System.Diagnostics;
  20.     using System;
  21.     using System.ComponentModel;
  22.     using Microsoft.Win32;
  23.    
  24.     /// <devdoc>
  25.     /// <para> Provides the basic framework for building a custom designer.
  26.     /// This interface stores the verbs available to the designer, as well as basic
  27.     /// services for the designer.</para>
  28.     /// </devdoc>
  29.     [System.Runtime.InteropServices.ComVisible(true)]
  30.     public interface IDesigner : IDisposable
  31.     {
  32.        
  33.         /// <devdoc>
  34.         /// <para>Gets or sets the base component this designer is designing.</para>
  35.         /// </devdoc>
  36.         IComponent Component {
  37.             get;
  38.         }
  39.        
  40.         /// <devdoc>
  41.         /// <para> Gets or sets the design-time verbs supported by the designer.</para>
  42.         /// </devdoc>
  43.         DesignerVerbCollection Verbs {
  44.             get;
  45.         }
  46.        
  47.         /// <devdoc>
  48.         /// <para>
  49.         /// Performs the default action for this designer.
  50.         /// </para>
  51.         /// </devdoc>
  52.         void DoDefaultAction();
  53.        
  54.         /// <devdoc>
  55.         /// <para>
  56.         /// Initializes the designer with the given component.
  57.         /// </para>
  58.         /// </devdoc>
  59.         void Initialize(IComponent component);
  60.     }
  61. }

Developer Fusion