The Labs \ Source Viewer \ SSCLI \ System.ComponentModel \ PropertyTabScope

  1. //------------------------------------------------------------------------------
  2. // <copyright file="PropertyTabScope.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. namespace System.ComponentModel
  16. {
  17.    
  18.     /// <devdoc>
  19.     /// <para>
  20.     /// Specifies the function scope of
  21.     /// a tab in the properties window.
  22.     /// </para>
  23.     /// </devdoc>
  24.     public enum PropertyTabScope
  25.     {
  26.         /// <devdoc>
  27.         /// <para>
  28.         /// This tab will be added to the properties window and can never be
  29.         /// removed.
  30.         /// </para>
  31.         /// </devdoc>
  32.         Static = 0,
  33.        
  34.         /// <devdoc>
  35.         /// <para>
  36.         /// This tab will be added to the properties window and can
  37.         /// only be explictly removed by a component outside the properties window.
  38.         /// </para>
  39.         /// </devdoc>
  40.         Global = 1,
  41.        
  42.         /// <devdoc>
  43.         /// <para>
  44.         /// This tab will be added to the properties window
  45.         /// and will be removed when the currently selected document changes. This tab is relevant to
  46.         /// items on the current document.
  47.         /// </para>
  48.         /// </devdoc>
  49.         Document = 2,
  50.        
  51.         /// <devdoc>
  52.         /// <para>
  53.         /// This tab will be added to the properties window for the current component only, and is
  54.         /// removed when the component is no longer selected.
  55.         /// </para>
  56.         /// </devdoc>
  57.         Component = 3
  58.     }
  59. }

Developer Fusion