**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / GridColumnStylesCollection.cs
blob0a094915fe949865f56b2f494eb7c5a534444b0b
1 //
2 // System.Windows.Forms.GridColumnStylesCollection.cs
3 //
4 // Author:
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 // Dennis Hayes (dennish@Raytek.com)
7 //
8 // (C) 2002 Ximian, Inc
9 //
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
19 //
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
22 //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.Collections;
32 using System.ComponentModel;
33 namespace System.Windows.Forms {
35 // <summary>
36 // </summary>
38 public class GridColumnStylesCollection : BaseCollection, IList {
40 private GridColumnStylesCollection(){//For signiture compatablity. Prevents the auto creation of public constructor
44 // --- Public Methods
46 [MonoTODO]
47 public virtual int Add(DataGridColumnStyle column) {
48 throw new NotImplementedException ();
51 [MonoTODO]
52 public void AddRange(DataGridColumnStyle [] columns)
54 //FIXME:
57 [MonoTODO]
58 public void Clear()
60 //FIXME:
63 [MonoTODO]
64 public bool Contains(PropertyDescriptor propDesc)
66 throw new NotImplementedException ();
69 [MonoTODO]
70 public bool Contains(string name) {
71 throw new NotImplementedException ();
74 [MonoTODO]
75 public bool Contains(DataGridColumnStyle column) {
76 throw new NotImplementedException ();
79 [MonoTODO]
80 public int IndexOf(DataGridColumnStyle element)
82 throw new NotImplementedException ();
85 [MonoTODO]
86 public void Remove(DataGridColumnStyle column)
88 //FIXME:
91 [MonoTODO]
92 public void RemoveAt(int index)
94 //FIXME:
97 [MonoTODO]
98 public void ResetPropertyDescriptors()
100 //FIXME:
104 // --- Public Events
106 [MonoTODO]
107 public event CollectionChangeEventHandler CollectionChanged;
110 // --- Protected Properties
112 [MonoTODO]
113 protected override ArrayList List {
114 get {
115 return base.List;
116 //FIXME:
121 // --- Protected Methods
123 [MonoTODO]
124 protected void OnCollectionChanged(CollectionChangeEventArgs ccevent)
126 //FIXME:
128 /// <summary>
129 /// IList Interface implmentation.
130 /// </summary>
131 bool IList.IsReadOnly{
132 get{
133 // We allow addition, removeal, and editing of items after creation of the list.
134 return false;
137 bool IList.IsFixedSize{
138 get{
139 // We allow addition and removeal of items after creation of the list.
140 return false;
144 // [MonoTODO]
145 // DataGridColumnStyle IList.this[int index]{
146 // get{
147 // throw new NotImplementedException ();
148 // }
149 // }
151 [MonoTODO]
152 public DataGridColumnStyle this[PropertyDescriptor propDesc]{
153 get{
154 throw new NotImplementedException ();
158 // [MonoTODO]
159 // public DataGridColumnStyle this[string columnName]{
160 // get{
161 // throw new NotImplementedException ();
162 // }
163 // }
165 [MonoTODO]
166 void IList.Clear(){
167 //FIXME:
170 // [MonoTODO]
171 // DataGridColumnStyle IList.[int index]{
172 // get{
173 // throw new NotImplementedException ();
174 // }
175 // }
176 [MonoTODO]
177 public object this[int index]{
178 get{
179 throw new NotImplementedException ();
181 set{
182 //FIXME:
186 [MonoTODO]
187 int IList.Add( object value){
188 throw new NotImplementedException ();
191 [MonoTODO]
192 bool IList.Contains( object value){
193 throw new NotImplementedException ();
196 [MonoTODO]
197 int IList.IndexOf( object value){
198 throw new NotImplementedException ();
201 [MonoTODO]
202 void IList.Insert(int index, object value){
203 //FIXME:
206 [MonoTODO]
207 void IList.Remove( object value){
208 //FIXME:
211 [MonoTODO]
212 void IList.RemoveAt( int index){
213 //FIXME:
215 // End of IList interface
217 /// <summary>
218 /// ICollection Interface implmentation.
219 /// </summary>
220 int ICollection.Count{
221 get{
222 throw new NotImplementedException ();
225 bool ICollection.IsSynchronized{
226 get{
227 throw new NotImplementedException ();
230 object ICollection.SyncRoot{
231 get{
232 throw new NotImplementedException ();
235 void ICollection.CopyTo(Array array, int index){
236 //FIXME:
238 // End Of ICollection