New test.
[mono.git] / mcs / class / System / System.ComponentModel / EditorBrowsableState.cs
1 //
2 // ProjectData.cs
3 //
4 // Author:
5 //   Martin Adoue (martin@cwanet.com)
6 //
7 // (C) 2002 Martin Adoue
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 using System;
32
33 namespace System.ComponentModel
34 {
35
36         /// <summary>
37         /// Specifies the browsable state of a property or method from within an editor.
38         /// </summary>
39         public enum EditorBrowsableState 
40         {
41                 /// <summary>
42                 /// The property or method is always browsable from within an editor.
43                 /// </summary>
44                 Always = 0,
45                 /// <summary>
46                 /// The property or method is never browsable from within an editor.
47                 /// </summary>
48                 Never = 1,
49                 /// <summary>
50                 /// The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
51                 /// </summary>
52                 Advanced = 2
53         }
54
55 }