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

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

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

revision 1.3 by neilcawse, Thu Jan 22 19:02:08 2004 UTC revision 1.4 by drobosson, Sun Aug 7 10:43:40 2005 UTC
# Line 97  using System.Collections; Line 97  using System.Collections;
97                                  if (activation != value)                                  if (activation != value)
98                                  {                                  {
99                                          activation = value;                                          activation = value;
                                         //TODO  
100                                  }                                  }
101                          }                          }
102                  }                  }
# Line 115  using System.Collections; Line 114  using System.Collections;
114                                  if (alignStyle != value)                                  if (alignStyle != value)
115                                  {                                  {
116                                          alignStyle = value;                                          alignStyle = value;
                                         //TODO  
117                                  }                                  }
118                          }                          }
119                  }                  }
# Line 133  using System.Collections; Line 131  using System.Collections;
131                                  if (allowColumnReorder != value)                                  if (allowColumnReorder != value)
132                                  {                                  {
133                                          allowColumnReorder = value;                                          allowColumnReorder = value;
                                         //TODO  
134                                  }                                  }
135                          }                          }
136                  }                  }
# Line 151  using System.Collections; Line 148  using System.Collections;
148                                  if (value != autoArrange)                                  if (value != autoArrange)
149                                  {                                  {
150                                          autoArrange = value;                                          autoArrange = value;
                                         //TODO  
151                                  }                                  }
152                          }                          }
153                  }                  }
# Line 167  using System.Collections; Line 163  using System.Collections;
163                          set                          set
164                          {                          {
165                                  base.BackColor = value;                                  base.BackColor = value;
                                 //TODO  
166                          }                          }
167                  }                  }
168    
# Line 201  using System.Collections; Line 196  using System.Collections;
196                                  if (borderStyle != value)                                  if (borderStyle != value)
197                                  {                                  {
198                                          borderStyle = value;                                          borderStyle = value;
                                         //TODO  
199                                  }                                  }
200                          }                          }
201                  }                  }
# Line 219  using System.Collections; Line 213  using System.Collections;
213                                  if (checkBoxes != value)                                  if (checkBoxes != value)
214                                  {                                  {
215                                          checkBoxes = value;                                          checkBoxes = value;
                                         //TODO  
216                                  }                                  }
217                          }                          }
218                  }                  }
# Line 301  using System.Collections; Line 294  using System.Collections;
294                          set                          set
295                          {                          {
296                                  base.ForeColor = value;                                  base.ForeColor = value;
                                 //TODO  
297                          }                          }
298                  }                  }
299    
# Line 318  using System.Collections; Line 310  using System.Collections;
310                                  if (fullRowSelect != value)                                  if (fullRowSelect != value)
311                                  {                                  {
312                                          fullRowSelect = value;                                          fullRowSelect = value;
                                         //TODO  
313                                  }                                  }
314                          }                          }
315                  }                  }
# Line 336  using System.Collections; Line 327  using System.Collections;
327                                  if (headerStyle != value)                                  if (headerStyle != value)
328                                  {                                  {
329                                          headerStyle = value;                                          headerStyle = value;
                                         //TODO  
330                                  }                                  }
331                          }                          }
332                  }                  }
# Line 354  using System.Collections; Line 344  using System.Collections;
344                                  if (gridLines != value)                                  if (gridLines != value)
345                                  {                                  {
346                                          gridLines = value;                                          gridLines = value;
                                         //TODO  
347                                  }                                  }
348                          }                          }
349                  }                  }
# Line 372  using System.Collections; Line 361  using System.Collections;
361                                  if (value != hideSelection)                                  if (value != hideSelection)
362                                  {                                  {
363                                          hideSelection = value;                                          hideSelection = value;
                                         //TODO  
364                                  }                                  }
365                          }                          }
366                  }                  }
# Line 424  using System.Collections; Line 412  using System.Collections;
412                                  if (value != labelWrap)                                  if (value != labelWrap)
413                                  {                                  {
414                                          labelWrap = value;                                          labelWrap = value;
                                         //TODO  
415                                  }                                  }
416                          }                          }
417                  }                  }
# Line 446  using System.Collections; Line 433  using System.Collections;
433                                                  largeImageList.Dispose();                                                  largeImageList.Dispose();
434                                          }                                          }
435                                          largeImageList = value;                                          largeImageList = value;
                                         // TODO  
436                                  }                                  }
437                  }                  }
438                  }                  }
# Line 506  using System.Collections; Line 492  using System.Collections;
492                                  if (value != scrollable)                                  if (value != scrollable)
493                                  {                                  {
494                                          scrollable = value;                                          scrollable = value;
                                         //TODO  
495                                  }                                  }
496                          }                          }
497                  }                  }
# Line 552  using System.Collections; Line 537  using System.Collections;
537                                                  smallImageList.Dispose();                                                  smallImageList.Dispose();
538                                          }                                          }
539                                          smallImageList = value;                                          smallImageList = value;
                                         //TODO  
540                                  }                                  }
541                          }                          }
542                  }                  }
# Line 570  using System.Collections; Line 554  using System.Collections;
554                                  if (sorting != value)                                  if (sorting != value)
555                                  {                                  {
556                                          sorting = value;                                          sorting = value;
                                         //TODO  
557                                  }                                  }
558                          }                          }
559                  }                  }
# Line 633  using System.Collections; Line 616  using System.Collections;
616                                  if (viewStyle != value)                                  if (viewStyle != value)
617                                  {                                  {
618                                          viewStyle = value;                                          viewStyle = value;
                                         //TODO  
619                                  }                                  }
620                          }                          }
621                  }                  }
# Line 654  using System.Collections; Line 636  using System.Collections;
636                          {                          {
637                                  Sort();                                  Sort();
638                          }                          }
                         //TODO:  
639                  }                  }
640    
641                  public void ArrangeIcons()                  public void ArrangeIcons()
# Line 1669  using System.Collections; Line 1650  using System.Collections;
1650                                  }                                  }
1651                          }                          }
1652    
1653                            [TODO]
1654                          public virtual ListViewItem this[int displayIndex]                          public virtual ListViewItem this[int displayIndex]
1655                          {                          {
1656                                  get                                  get
# Line 1679  using System.Collections; Line 1661  using System.Collections;
1661                                  set                                  set
1662                                  {                                  {
1663                                          owner.listItems[displayIndex] = value;                                          owner.listItems[displayIndex] = value;
                                         //TODO  
1664                                  }                                  }
1665                          }                          }
1666    
# Line 1756  using System.Collections; Line 1737  using System.Collections;
1737                                  return listViewItem;                                  return listViewItem;
1738                          }                          }
1739    
1740                            [TODO]
1741                          public virtual ListViewItem Add(ListViewItem value)                          public virtual ListViewItem Add(ListViewItem value)
1742                          {                          {
1743                                  owner.listItems.Add(value);                                  owner.listItems.Add(value);
1744                                  owner.Sort();                                  owner.Sort();
                                 //TODO  
1745                                  return value;                                  return value;
1746                          }                          }
1747    
1748                            [TODO]
1749                          public void AddRange(ListViewItem[] values)                          public void AddRange(ListViewItem[] values)
1750                          {                          {
1751                                  owner.listItems.AddRange(values);                                  owner.listItems.AddRange(values);
1752                                  owner.Sort();                                  owner.Sort();
                                 //TODO  
1753                          }                          }
1754    
1755                            [TODO]
1756                          public virtual void Clear()                          public virtual void Clear()
1757                          {                          {
1758                                  if (owner.listItems.Count > 0)                                  if (owner.listItems.Count > 0)
1759                                  {                                  {
1760                                          owner.listItems.Clear();                                          owner.listItems.Clear();
                                         //TODO  
1761                                  }                                  }
1762                          }                          }
1763    
# Line 1850  using System.Collections; Line 1831  using System.Collections;
1831                                  }                                  }
1832                          }                          }
1833    
1834                            [TODO]
1835                          public virtual void RemoveAt(int index)                          public virtual void RemoveAt(int index)
1836                          {                          {
1837                                  owner.listItems.RemoveAt(index);                                  owner.listItems.RemoveAt(index);
                                 //TODO  
1838                          }                          }
1839    
1840                            [TODO]
1841                          public virtual void Remove(ListViewItem item)                          public virtual void Remove(ListViewItem item)
1842                          {                          {
1843                                  Remove(item);                                  Remove(item);
                                 //TODO  
1844                          }                          }
1845    
1846                          void IList.Remove(object item)                          void IList.Remove(object item)
# Line 1870  using System.Collections; Line 1851  using System.Collections;
1851                                  }                                  }
1852                                  Remove(item as ListViewItem);                                  Remove(item as ListViewItem);
1853                          }                          }
1854    
1855                            [TODO]
1856                          public ListViewItem Insert(int index, ListViewItem item)                          public ListViewItem Insert(int index, ListViewItem item)
1857                          {                          {
1858                                  owner.listItems.Insert(index, item);                                  owner.listItems.Insert(index, item);
                                 //TODO  
1859                                  return item;                                  return item;
1860                          }                          }
1861    
# Line 1977  using System.Collections; Line 1959  using System.Collections;
1959                          [TODO]                          [TODO]
1960                          public virtual int Add(ColumnHeader value)                          public virtual int Add(ColumnHeader value)
1961                          {                          {
                                 //TODO;  
1962                                  return Count;                                  return Count;
1963                          }                          }
1964    
# Line 1998  using System.Collections; Line 1979  using System.Collections;
1979                                  if (owner.columnHeaders != null)                                  if (owner.columnHeaders != null)
1980                                  {                                  {
1981                                          owner.columnHeaders = null;                                          owner.columnHeaders = null;
                                         //TODO  
1982                                  }                                  }
1983                          }                          }
1984    

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

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