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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IRootDesigner.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.     /// Defines the root designer. A root designer is the designer that sits
  26.     /// at the top, or root, of the object hierarchy. The root designer's job
  27.     /// is to provide the design-time user interface for the design surface.
  28.     /// It does this through the View property.
  29.     /// </devdoc>
  30.     [System.Runtime.InteropServices.ComVisible(true)]
  31.     public interface IRootDesigner : IDesigner
  32.     {
  33.        
  34.         /// <devdoc>
  35.         /// The list of technologies that this designer can support
  36.         /// for its view. Examples of different technologies are
  37.         /// Windows Forms and Web Forms. Other object models can be
  38.         /// supported at design time, but they most be able to
  39.         /// provide a view in one of the supported technologies.
  40.         /// </devdoc>
  41.         ViewTechnology[] SupportedTechnologies {
  42.             get;
  43.         }
  44.        
  45.         /// <devdoc>
  46.         /// The user interface to present to the user. The returning
  47.         /// data type is an object because there can be a variety
  48.         /// of different user interface technologies. Development
  49.         /// environments typically support more than one technology.
  50.         /// </devdoc>
  51.         object GetView(ViewTechnology technology);
  52.     }
  53. }

Developer Fusion