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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="ViewTechnology.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;
  20.    
  21.     /// <devdoc>
  22.     /// <para>
  23.     /// Specifies a set of technologies designer hosts should support.
  24.     /// </para>
  25.     /// </devdoc>
  26.     [System.Runtime.InteropServices.ComVisible(true)]
  27.     public enum ViewTechnology
  28.     {
  29.        
  30.         /// <devdoc>
  31.         /// Specifies that the view for a root designer is defined by some
  32.         /// private interface contract between the designer and the
  33.         /// development environment. This implies a tight coupling
  34.         /// between the development environment and the designer, and should
  35.         /// be avoided. This does allow older COM2 technologies to
  36.         /// be shown in development environments that support
  37.         /// COM2 interface technologies such as doc objects and ActiveX
  38.         /// controls.
  39.         /// </devdoc>
  40.         [Obsolete("This value has been deprecated. Use ViewTechnology.Default instead. http://go.microsoft.com/fwlink/?linkid=14202")]
  41.         Passthrough = 0,
  42.        
  43.         /// <devdoc>
  44.         /// Specifies that the view for a root designer is supplied through
  45.         /// a Windows Forms control object. The designer host will fill the
  46.         /// development environment's document window with this control.
  47.         /// </devdoc>
  48.         [Obsolete("This value has been deprecated. Use ViewTechnology.Default instead. http://go.microsoft.com/fwlink/?linkid=14202")]
  49.         WindowsForms = 1,
  50.        
  51.         /// <devdoc>
  52.         /// Specifies the default view technology support. Here, the root designer may return
  53.         /// any type of object it wishes, but it must be an object that can be "fitted" with
  54.         /// an adapter to the technology of the host. Hosting environments such as Visual
  55.         /// Studio will provide a way to plug in new view technology adapters. The default
  56.         /// view object for the Windows Forms designer is a Control instance, while the
  57.         /// default view object for the Avalon designer is an Element instance.
  58.         /// </devdoc>
  59.         Default = 2
  60.     }
  61. }

Developer Fusion