2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / GridItem.cs
1 //
2 // System.Windows.Forms.GridItem.cs
3 //
4 // Author:
5 //   stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 //      Partially completed by Dennis Hayes (dennish@raytek.com)
7 //
8 // (C) 2002/3 Ximian, Inc
9 //
10 using System.ComponentModel;
11 namespace System.Windows.Forms {
12
13         // <summary>
14         // </summary>
15
16     public abstract class GridItem {
17                 bool expandable;
18                 bool expanded;
19                 //
20                 //  --- Public Properties
21                 //
22                 public virtual bool Expandable {
23                         get {
24                                 return expandable;
25                         }
26                 }
27                 public virtual bool Expanded {
28                         get {
29                                 return expanded;
30                         }
31                         set {
32                                 expanded = value;
33                         }
34                 }
35
36
37                 public abstract GridItemCollection GridItems {
38                         get;
39                 }
40                 public abstract GridItemType GridItemType {
41                         get;
42                 }
43                 public abstract string Label {
44                         get;
45                 }
46                 public abstract GridItem Parent {
47                         get;
48                 }
49                 public abstract PropertyDescriptor PropertyDescriptor {
50                         get;
51                 }
52                 public abstract object Value {
53                         get;
54                 }
55
56                 public abstract bool Select ();
57                 //
58                 // --- Protected Constructor
59                 //
60                 [MonoTODO]
61                 protected GridItem()
62                 {
63                         
64                 }
65          }
66 }