Implemented Servlet session management. Servlet hosting moved to Mainsoft.Web package
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / DataGridViewHeaderCell.cs
1 // Permission is hereby granted, free of charge, to any person obtaining
2 // a copy of this software and associated documentation files (the
3 // "Software"), to deal in the Software without restriction, including
4 // without limitation the rights to use, copy, modify, merge, publish,
5 // distribute, sublicense, and/or sell copies of the Software, and to
6 // permit persons to whom the Software is furnished to do so, subject to
7 // the following conditions:
8 // 
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
11 // 
12 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 //
20 // Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
21 //
22 // Author:
23 //      Pedro Martínez Juliá <pedromj@gmail.com>
24 //
25
26
27 #if NET_2_0
28
29 using System.ComponentModel;
30 using System.Drawing;
31
32 namespace System.Windows.Forms {
33         public class DataGridViewHeaderCell : DataGridViewCell {
34
35                 private ButtonState buttonState;
36
37                 public DataGridViewHeaderCell ()
38                 {
39                 }
40
41                 [Browsable (false)]
42                 public override bool Displayed {
43                         get { return base.Displayed; }
44                 }
45
46                 public override Type FormattedValueType {
47                         get { return typeof(string); } //base.FormattedValueType; }
48                 }
49
50                 [Browsable (false)]
51                 public override bool Frozen {
52                         get { return base.Frozen; }
53                 }
54
55                 [Browsable (false)]
56                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
57                 public override bool ReadOnly {
58                         get { return base.ReadOnly; }
59                         set { base.ReadOnly = value; }
60                 }
61
62                 [Browsable (false)]
63                 public override bool Resizable {
64                         get { return base.Resizable; }
65                 }
66
67                 [Browsable (false)]
68                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
69                 public override bool Selected {
70                         get { return base.Selected; }
71                         set { base.Selected = value; }
72                 }
73
74                 public override Type ValueType {
75                         get { return base.ValueType; }
76                         set { base.ValueType = value; }
77                 }
78
79                 [Browsable (false)]
80                 public override bool Visible {
81                         get { return base.Visible; }
82                 }
83
84                 public override object Clone ()
85                 {
86                         DataGridViewHeaderCell result = new DataGridViewHeaderCell();
87                         return result;
88                 }
89
90                 protected override void Dispose (bool disposing)
91                 {
92                 }
93
94                 public override ContextMenuStrip GetInheritedContextMenuStrip (int rowIndex)
95                 {
96                         throw new NotImplementedException();
97                 }
98
99                 public override DataGridViewElementStates GetInheritedState (int rowIndex)
100                 {
101                         throw new NotImplementedException();
102                 }
103
104                 public override string ToString () {
105                         return "";
106                 }
107
108                 protected override Size GetSize (int rowIndex)
109                 {
110                         throw new NotImplementedException();
111                 }
112
113                 protected override object GetValue (int rowIndex)
114                 {
115                         throw new NotImplementedException();
116                 }
117
118                 protected override bool MouseDownUnsharesRow (DataGridViewCellMouseEventArgs e)
119                 {
120                         throw new NotImplementedException ();
121                 }
122
123                 protected override bool MouseEnterUnsharesRow (int rowIndex)
124                 {
125                         throw new NotImplementedException ();
126                 }
127
128                 protected override bool MouseLeaveUnsharesRow (int rowIndex)
129                 {
130                         throw new NotImplementedException ();
131                 }
132
133                 protected override bool MouseUpUnsharesRow (DataGridViewCellMouseEventArgs e)
134                 {
135                         throw new NotImplementedException ();
136                 }
137
138                 protected override void OnMouseDown (DataGridViewCellMouseEventArgs e)
139                 {
140                         base.OnMouseDown (e);
141                 }
142
143                 protected override void OnMouseEnter (int rowIndex)
144                 {
145                         base.OnMouseEnter (rowIndex);
146                 }
147
148                 protected override void OnMouseLeave (int rowIndex)
149                 {
150                         base.OnMouseLeave (rowIndex);
151                 }
152
153                 protected override void OnMouseUp (DataGridViewCellMouseEventArgs e)
154                 {
155                         base.OnMouseUp (e);
156                 }
157
158                 protected override void Paint (Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
159                 {
160                         throw new NotImplementedException();
161                 }
162
163                 protected ButtonState ButtonState {
164                         get { return buttonState; }
165                 }
166
167         }
168
169 }
170
171 #endif