2 // System.Windows.Forms.ListBox
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
7 // (C) 2002 Ximian, Inc
10 namespace System.Windows.Forms {
13 // This is only a template. Nothing is implemented yet.
17 //public class ListBox : ListControl {
25 // throw new NotImplementedException ();
31 //public const int DefultItemHeight = ??;
32 //public const int NoMatches = ??;
35 // --- Public Properties
38 //public override Color BackColor {
40 // throw new NotImplementedException ();
43 // throw new NotImplementedException ();
47 //public override Image BackgroundImage {
49 // throw new NotImplementedException ();
52 // throw new NotImplementedException ();
56 //public override RightToLeft RightToLeft {
58 // throw new NotImplementedException ();
61 // throw new NotImplementedException ();
65 //public bool ScrollAlwaysVisible {
67 // throw new NotImplementedException ();
70 // throw new NotImplementedException ();
74 //public override int SelectedIndex {
76 // throw new NotImplementedException ();
79 // throw new NotImplementedException ();
83 //public ListBox.SelectedIndexCollection SelectedIndices {
85 // throw new NotImplementedException ();
89 //public object SelectedItem {
91 // throw new NotImplementedException ();
94 // throw new NotImplementedException ();
98 //public ListBox.SelectedObjectCollection SelectedItems {
100 // throw new NotImplementedException ();
104 //public virtual SelectionMode SelectionMode {
106 // throw new NotImplementedException ();
109 // throw new NotImplementedException ();
113 //public bool Sorted {
115 // throw new NotImplementedException ();
118 // throw new NotImplementedException ();
122 //public override string Text {
124 // throw new NotImplementedException ();
127 // throw new NotImplementedException ();
131 //public int TopIndex {
133 // throw new NotImplementedException ();
136 // throw new NotImplementedException ();
140 //public bool UseTabStops {
142 // throw new NotImplementedException ();
145 // throw new NotImplementedException ();
150 // --- Public Methods
153 //public void BeginUpdate()
155 // throw new NotImplementedException ();
158 //public void ClearSelected()
160 // throw new NotImplementedException ();
163 //public void Dispose()
165 // throw new NotImplementedException ();
168 //public void EndUpdate()
170 // throw new NotImplementedException ();
173 //public int FindString(string str)
175 // throw new NotImplementedException ();
178 //public int FindString(string str, int val)
180 // throw new NotImplementedException ();
183 //public int FindStringExact(string str)
185 // throw new NotImplementedException ();
188 //public int FindStringExact(string str, int val)
190 // throw new NotImplementedException ();
193 //public int GetItemHeight(int index)
195 // throw new NotImplementedException ();
198 //public Rectangle GetItemRectangle(int index)
200 // throw new NotImplementedException ();
203 //public bool GetSelected(int index)
205 // throw new NotImplementedException ();
208 //public int IndexFromPoint(Point pt)
210 // throw new NotImplementedException ();
213 //public int IndexFromPoint(int val1, int val2)
215 // throw new NotImplementedException ();
218 //public void Invalidate()
220 // throw new NotImplementedException ();
223 //public void Invalidate(bool val)
225 // throw new NotImplementedException ();
228 //public void Invalidate(Rectangle rect)
230 // throw new NotImplementedException ();
233 //public void Invalidate(Region reg)
235 // throw new NotImplementedException ();
238 //public void Invalidate(Region reg, bool val)
240 // throw new NotImplementedException ();
243 //public object Invoke(Delegate del)
245 // throw new NotImplementedException ();
248 //public object Invoke(Delegate del, object[] objs)
250 // throw new NotImplementedException ();
253 //public void PerformLayout()
255 // throw new NotImplementedException ();
258 //public void PerformLayout(Control ctl, string str )
260 // throw new NotImplementedException ();
263 //public void ResumeLayout()
265 // throw new NotImplementedException ();
268 //public void ResumeLayout(bool val)
270 // throw new NotImplementedException ();
273 //public void Scale(float val)
275 // throw new NotImplementedException ();
278 //public void Scale(float val1, float val2)
280 // throw new NotImplementedException ();
283 //public void Select(bool val1, bool val2)
285 // throw new NotImplementedException ();
288 //public void SetBounds(int val1, int val2, int val3, int val4)
290 // throw new NotImplementedException ();
293 //public void SetBounds(int val1, int val2, int val3, int val4, BoundsSpecified bounds)
295 // throw new NotImplementedException ();
298 //public void SetSelected(int index, bool val)
300 // throw new NotImplementedException ();
303 //public override string ToString()
305 // throw new NotImplementedException ();
312 //public event DrawItemEventHandler DrawItem {
314 // throw new NotImplementedException ();
317 // throw new NotImplementedException ();
321 //public event MeasureItemEventHandler MeasureItem {
323 // throw new NotImplementedException ();
326 // throw new NotImplementedException ();
331 // --- Protected Properties
334 //protected override CreateParams CreateParams {
336 // throw new NotImplementedException ();
340 //protected override Size DefaultSize {
342 // throw new NotImplementedException ();
347 // --- Protected Methods
350 //protected virtual ObjectCollection CreateItemCollection()
352 // throw new NotImplementedException ();
356 //protected override void Dispose(bool val1)
358 // throw new NotImplementedException ();
361 //protected override void OnChangeUICues(UICuesEventArgs e)
363 // throw new NotImplementedException ();
366 //protected override void OnDataSourceChanged(EventArgs e)
368 // throw new NotImplementedException ();
371 //protected override void OnDisplayMemberChanged(EventArgs e)
373 // throw new NotImplementedException ();
376 //protected override void OnFontChanged(EventArgs e)
378 // throw new NotImplementedException ();
381 //protected override void OnHandleCreated(EventArgs e)
383 // throw new NotImplementedException ();
386 //protected override void OnHandleDestroyed(EventArgs e)
388 // throw new NotImplementedException ();
391 //protected override void OnParentChanged(EventArgs e)
393 // throw new NotImplementedException ();
396 //protected override void OnResize(EventArgs e)
398 // throw new NotImplementedException ();
401 //protected override void OnSelectedItemChanged(EventArgs e)
403 // throw new NotImplementedException ();
407 //protected void RefreshItem(int index)
409 // throw new NotImplementedException ();
412 //protected ContentAlignment RtlTranslateAlignment(ContentAlignment align)
414 // throw new NotImplementedException ();
417 //protected HorizontalAlignment RtlTranslateAlignment(HorizontalAlignment align)
419 // throw new NotImplementedException ();
422 //protected LeftRightAlignment RtlTranslateAlignment(LeftRightAlignment align)
424 // throw new NotImplementedException ();
427 //protected virtual void Select(bool val1, bool val2)
429 // throw new NotImplementedException ();
432 //protected override void SetBoundsCore( int x, int y, int width, int height BoundsSpecified specified)
434 // throw new NotImplementedException ();
437 //protected void Sort()
439 // throw new NotImplementedException ();
442 //protected override void WndProc(ref Message mgs)
444 // throw new NotImplementedException ();