/[dotgnu-pnet]/pnetlib/System.Windows.Forms/DataGridColumnStyle.cs
ViewVC logotype

Diff of /pnetlib/System.Windows.Forms/DataGridColumnStyle.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by drobosson, Sun Aug 7 11:58:30 2005 UTC revision 1.3 by ktreichel, Sun Sep 25 12:46:24 2005 UTC
# Line 1  Line 1 
1  /*  /*
2   * DataGridColumnStyle.cs - Implementation of the   * DataGridColumnStyle.cs - Implementation of "System.Windows.Forms.DataGridColumnStyle"
  *              "System.Windows.Forms.DataGridColumnStyle" class.  
3   *   *
4   * Copyright (C) 2003  Southern Storm Software, Pty Ltd.   * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
5     * Copyright (C) 2004  Free Software Foundation, Inc.
6     * Copyright (C) 2005  Boris Manojlovic.
7   *   *
8   * This program is free software; you can redistribute it and/or modify   * This program is free software; you can redistribute it and/or modify
9   * it under the terms of the GNU General Public License as published by   * it under the terms of the GNU General Public License as published by
# Line 18  Line 19 
19   * along with this program; if not, write to the Free Software   * along with this program; if not, write to the Free Software
20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21   */   */
   
22  namespace System.Windows.Forms  namespace System.Windows.Forms
23  {  {
24            using System.Drawing;
25            using System.Text;
26            using System.ComponentModel;
27            using System.Reflection;
28    
 [TODO]  
 public abstract class DataGridColumnStyle  
 {  
         // Complete class here  
29    
30  }; // class DataGridColumnStyle          public abstract class DataGridColumnStyle : Component, IDataGridColumnStyleEditingNotificationService
31            {
32                    [TODO]
33                    public DataGridColumnStyle()
34                    {
35                            throw new NotImplementedException(".ctor");
36                    }
37    
38                    [TODO]
39                    public DataGridColumnStyle(System.ComponentModel.PropertyDescriptor prop)
40                    {
41                            throw new NotImplementedException(".ctor");
42                    }
43    
44                    protected internal abstract void Abort(int rowNum);
45    
46                    [TODO]
47                    protected void BeginUpdate()
48                    {
49                            throw new NotImplementedException("BeginUpdate");
50                    }
51    
52                    [TODO]
53                    protected void CheckValidDataSource(CurrencyManager value)
54                    {
55                            throw new NotImplementedException("CheckValidDataSource");
56                    }
57    
58                    [TODO]
59                    public virtual void ColumnStartedEditing(Control editingControl)
60                    {
61                            throw new NotImplementedException("ColumnStartedEditing");
62                    }
63    
64                    protected internal abstract bool Commit(CurrencyManager dataSource, int rowNum);
65    
66                    [TODO]
67                    protected internal virtual void ConcedeFocus()
68                    {
69                            throw new NotImplementedException("ConcedeFocus");
70                    }
71    
72                    [TODO]
73                    protected virtual AccessibleObject CreateHeaderAccessibleObject()
74                    {
75                            throw new NotImplementedException("CreateHeaderAccessibleObject");
76                    }
77    
78                    [TODO]
79                    protected internal virtual void Edit(CurrencyManager source, int rowNum, Rectangle bounds, bool readOnly)
80                    {
81                            throw new NotImplementedException("Edit");
82                    }
83    
84                    [TODO]
85                    protected internal virtual void Edit(CurrencyManager source, int rowNum, Rectangle bounds, bool readOnly, System.String instantText)
86                    {
87                            throw new NotImplementedException("Edit");
88                    }
89    
90                    protected internal abstract void Edit(CurrencyManager source, int rowNum, Rectangle bounds, bool readOnly, System.String instantText, bool cellIsVisible);
91    
92                    [TODO]
93                    protected void EndUpdate()
94                    {
95                            throw new NotImplementedException("EndUpdate");
96                    }
97    
98                    [TODO]
99                    protected internal virtual void EnterNullValue()
100                    {
101                            throw new NotImplementedException("EnterNullValue");
102                    }
103    
104                    [TODO]
105                    protected internal virtual System.Object GetColumnValueAtRow(CurrencyManager source, int rowNum)
106                    {
107                            throw new NotImplementedException("GetColumnValueAtRow");
108                    }
109    
110                    protected internal abstract int GetMinimumHeight();
111    
112                    protected internal abstract int GetPreferredHeight(Graphics g, System.Object value);
113    
114                    protected internal abstract System.Drawing.Size GetPreferredSize(System.Drawing.Graphics g, System.Object value);
115    
116                    [TODO]
117                    protected virtual void Invalidate()
118                    {
119                            throw new NotImplementedException("Invalidate");
120                    }
121    
122                    protected internal abstract void Paint(Graphics g, Rectangle bounds, CurrencyManager source, int rowNum);
123    
124                    protected internal abstract void Paint(Graphics g, Rectangle bounds, CurrencyManager source, int rowNum, bool alignToRight);
125    
126                    [TODO]
127                    protected internal virtual void Paint(Graphics g, Rectangle bounds, CurrencyManager source, int rowNum, Brush backBrush, Brush foreBrush, bool alignToRight)
128                    {
129                            throw new NotImplementedException("Paint");
130                    }
131    
132                    [TODO]
133                    protected internal virtual void ReleaseHostedControl()
134                    {
135                            throw new NotImplementedException("ReleaseHostedControl");
136                    }
137    
138                    [TODO]
139                    public void ResetHeaderText()
140                    {
141                            throw new NotImplementedException("ResetHeaderText");
142                    }
143    
144                    [TODO]
145                    protected internal virtual void SetColumnValueAtRow(CurrencyManager source, int rowNum, System.Object value)
146                    {
147                            throw new NotImplementedException("SetColumnValueAtRow");
148                    }
149    
150                    [TODO]
151                    protected virtual void SetDataGrid(System.Windows.Forms.DataGrid value)
152                    {
153                            throw new NotImplementedException("SetDataGrid");
154                    }
155    
156                    [TODO]
157                    protected virtual void SetDataGridInColumn(DataGrid value)
158                    {
159                            throw new NotImplementedException("SetDataGridInColumn");
160                    }
161    
162                    [TODO]
163                    protected internal virtual void UpdateUI(CurrencyManager source, int rowNum, System.String instantText)
164                    {
165                            throw new NotImplementedException("UpdateUI");
166                    }
167    
168                    public event EventHandler AlignmentChanged
169                    {
170                            add
171                            {
172                                    Events.AddHandler(EventId.AlignmentChanged,value);
173                            }
174                            remove
175                            {
176                                    Events.RemoveHandler(EventId.AlignmentChanged,value);
177                            }
178                    }
179                    
180                            
181                    public event EventHandler FontChanged
182                    {
183                            add
184                            {
185                                    Events.AddHandler(EventId.FontChanged,value);
186                            }
187                            remove
188                            {
189                                    Events.RemoveHandler(EventId.FontChanged,value);
190                            }
191                    }
192    
193                    public event EventHandler HeaderTextChanged
194                    {
195                            add
196                            {
197                                    Events.AddHandler(EventId.HeaderTextChanged,value);
198                            }
199                            remove
200                            {
201                                    Events.RemoveHandler(EventId.HeaderTextChanged,value);
202                            }
203                    }
204    
205                    public event EventHandler MappingNameChanged
206                    {
207                            add
208                            {
209                                    Events.AddHandler(EventId.MappingNameChanged,value);
210                            }
211                            remove
212                            {
213                                    Events.RemoveHandler(EventId.MappingNameChanged,value);
214                            }
215                    }
216    
217                    public event EventHandler NullTextChanged
218                    {
219                            add
220                            {
221                                    Events.AddHandler(EventId.NullTextChanged,value);
222                            }
223                            remove
224                            {
225                                    Events.RemoveHandler(EventId.NullTextChanged,value);
226                            }
227                    }
228    
229                    public event EventHandler PropertyDescriptorChanged
230                    {
231                            add
232                            {
233                                    Events.AddHandler(EventId.PropertyDescriptorChanged,value);
234                            }
235                            remove
236                            {
237                                    Events.RemoveHandler(EventId.PropertyDescriptorChanged,value);
238                            }
239                    }
240    
241                    public event EventHandler ReadOnlyChanged
242                    {
243                            add
244                            {
245                                    Events.AddHandler(EventId.ReadOnlyChanged,value);
246                            }
247                            remove
248                            {
249                                    Events.RemoveHandler(EventId.ReadOnlyChanged,value);
250                            }
251                    }
252    
253                    public event EventHandler WidthChanged
254                    {
255                            add
256                            {
257                                    Events.AddHandler(EventId.WidthChanged,value);
258                            }
259                            remove
260                            {
261                                    Events.RemoveHandler(EventId.WidthChanged,value);
262                            }
263                    }
264    
265                    [TODO]
266                    public virtual HorizontalAlignment Alignment
267                    {
268                            get
269                            {
270                                    throw new NotImplementedException("Alignment");
271                            }
272    
273                            set
274                            {
275                                    throw new NotImplementedException("Alignment");
276                            }
277    
278                    }
279    
280                    [TODO]
281                    public virtual DataGridTableStyle DataGridTableStyle
282                    {
283                            get
284                            {
285                                    throw new NotImplementedException("DataGridTableStyle");
286                            }
287    
288                    }
289    
290                    [TODO]
291                    protected int FontHeight
292                    {
293                            get
294                            {
295                                    throw new NotImplementedException("FontHeight");
296                            }
297    
298                    }
299    
300                    [TODO]
301                    public AccessibleObject HeaderAccessibleObject
302                    {
303                            get
304                            {
305                                    throw new NotImplementedException("HeaderAccessibleObject");
306                            }
307    
308                    }
309    
310                    [TODO]
311                    public virtual System.String HeaderText
312                    {
313                            get
314                            {
315                                    throw new NotImplementedException("HeaderText");
316                            }
317    
318                            set
319                            {
320                                    throw new NotImplementedException("HeaderText");
321                            }
322    
323                    }
324    
325                    [TODO]
326                    public System.String MappingName
327                    {
328                            get
329                            {
330                                    throw new NotImplementedException("MappingName");
331                            }
332    
333                            set
334                            {
335                                    throw new NotImplementedException("MappingName");
336                            }
337    
338                    }
339    
340                    [TODO]
341                    public virtual System.String NullText
342                    {
343                            get
344                            {
345                                    throw new NotImplementedException("NullText");
346                            }
347    
348                            set
349                            {
350                                    throw new NotImplementedException("NullText");
351                            }
352    
353                    }
354    
355                    [TODO]
356                    public virtual System.ComponentModel.PropertyDescriptor PropertyDescriptor
357                    {
358                            get
359                            {
360                                    throw new NotImplementedException("PropertyDescriptor");
361                            }
362    
363                            set
364                            {
365                                    throw new NotImplementedException("PropertyDescriptor");
366                            }
367    
368                    }
369    
370                    [TODO]
371                    public virtual bool ReadOnly
372                    {
373                            get
374                            {
375                                    throw new NotImplementedException("ReadOnly");
376                            }
377    
378                            set
379                            {
380                                    throw new NotImplementedException("ReadOnly");
381                            }
382    
383                    }
384    
385                    [TODO]
386                    public virtual int Width
387                    {
388                            get
389                            {
390                                    throw new NotImplementedException("Width");
391                            }
392    
393                            set
394                            {
395                                    throw new NotImplementedException("Width");
396                            }
397    
398                    }
399    
400  }; // namespace System.Windows.Forms          }
401    }//namespace

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26