2 // System.Windows.Forms.ToolBar
5 // stubbed out by Jackson Harper (jackson@latitudegeo.com)
6 // Dennis Hayes (dennish@Raytek.com)
8 // (C) 2002 Ximian, Inc
11 using System
.Collections
;
12 namespace System
.Windows
.Forms
{
15 // This is only a template. Nothing is implemented yet.
19 public class ToolBar
: Control
{
22 // --- Public Constructors
27 throw new NotImplementedException ();
30 // --- Public Properties
33 public ToolBarAppearance Appearance
{
35 throw new NotImplementedException ();
38 throw new NotImplementedException ();
42 public bool AutoSize
{
44 throw new NotImplementedException ();
47 throw new NotImplementedException ();
51 public override Color BackColor
{
53 throw new NotImplementedException ();
56 throw new NotImplementedException ();
60 public override Image BackgroundImage
{
62 throw new NotImplementedException ();
65 throw new NotImplementedException ();
69 public BorderStyle BorderStyle
{
71 throw new NotImplementedException ();
74 throw new NotImplementedException ();
78 public ToolBar
.ToolBarButtonCollection Buttons
{
80 throw new NotImplementedException ();
84 public Size ButtonSize
{
86 throw new NotImplementedException ();
89 throw new NotImplementedException ();
95 throw new NotImplementedException ();
98 throw new NotImplementedException ();
102 public override DockStyle Dock
{
104 throw new NotImplementedException ();
107 throw new NotImplementedException ();
111 public bool DropDownArrows
{
113 throw new NotImplementedException ();
116 throw new NotImplementedException ();
120 public override Color ForeColor
{
122 throw new NotImplementedException ();
125 throw new NotImplementedException ();
129 public ImageList ImageList
{
131 throw new NotImplementedException ();
134 throw new NotImplementedException ();
138 public Size ImageSize
{
140 throw new NotImplementedException ();
144 public new ImeMode ImeMode
{
146 throw new NotImplementedException ();
149 throw new NotImplementedException ();
153 public override RightToLeft RightToLeft
{
155 throw new NotImplementedException ();
158 throw new NotImplementedException ();
162 public bool ShowToolTips
{
164 throw new NotImplementedException ();
167 throw new NotImplementedException ();
171 public override string Text
{
173 throw new NotImplementedException ();
176 throw new NotImplementedException ();
180 public ToolBarTextAlign TextAlign
{
182 throw new NotImplementedException ();
185 throw new NotImplementedException ();
189 public bool Wrappable
{
191 throw new NotImplementedException ();
194 throw new NotImplementedException ();
198 // --- Public Methods
201 public override string ToString()
203 throw new NotImplementedException ();
209 public event ToolBarButtonClickEventHandler ButtonClick
;
211 public event ToolBarButtonClickEventHandler ButtonDropDown
;
213 // --- Protected Properties
216 protected override CreateParams CreateParams
{
218 throw new NotImplementedException ();
222 protected override ImeMode DefaultImeMode
{
224 throw new NotImplementedException ();
228 protected override Size DefaultSize
{
230 throw new NotImplementedException ();
234 // --- Protected Methods
237 protected override void CreateHandle()
239 throw new NotImplementedException ();
243 //protected override void Dispose(bool disposing)
245 // throw new NotImplementedException ();
248 protected virtual void OnButtonClick(ToolBarButtonClickEventArgs e
)
250 throw new NotImplementedException ();
253 protected virtual void OnButtonDropDown(ToolBarButtonClickEventArgs e
)
255 throw new NotImplementedException ();
258 protected override void OnFontChanged(EventArgs e
)
260 throw new NotImplementedException ();
263 protected override void OnHandleCreated(EventArgs e
)
265 throw new NotImplementedException ();
268 protected override void OnResize(EventArgs e
)
270 throw new NotImplementedException ();
273 protected override void SetBoundsCore(int x
, int y
, int width
, int height
, BoundsSpecified specified
)
275 throw new NotImplementedException ();
278 protected override void WndProc(ref Message m
)
280 throw new NotImplementedException ();
282 public class ToolBarButtonCollection
: IList
, ICollection
, IEnumerable
{
284 // --- Public Constructor
287 public ToolBarButtonCollection(ToolBar owner
)
289 throw new NotImplementedException ();
292 // --- Public Properties
297 throw new NotImplementedException ();
301 public bool IsReadOnly
{
303 throw new NotImplementedException ();
307 public virtual ToolBarButton
this[int index
] {
309 throw new NotImplementedException ();
312 throw new NotImplementedException ();
316 // --- Public Methods
319 public int Add(string text
)
321 throw new NotImplementedException ();
324 public int Add(ToolBarButton button
)
326 throw new NotImplementedException ();
329 public void AddRange(ToolBarButton
[] buttons
)
331 throw new NotImplementedException ();
336 throw new NotImplementedException ();
339 public bool Contains(ToolBarButton button
)
341 throw new NotImplementedException ();
344 public IEnumerator
GetEnumerator()
346 throw new NotImplementedException ();
349 public int IndexOf(ToolBarButton button
)
351 throw new NotImplementedException ();
354 public void Insert(int index
, ToolBarButton button
)
356 throw new NotImplementedException ();
359 //public void Insert(int index, ToolBarButton button) {
360 // throw new NotImplementedException ();
363 public void Remove(ToolBarButton button
)
365 throw new NotImplementedException ();
368 public void RemoveAt(int index
)
370 throw new NotImplementedException ();
373 /// IList Interface implmentation.
375 bool IList
.IsReadOnly
{
377 // We allow addition, removeal, and editing of items after creation of the list.
381 bool IList
.IsFixedSize
{
383 // We allow addition and removeal of items after creation of the list.
389 object IList
.this[int index
]{
391 throw new NotImplementedException ();
394 throw new NotImplementedException ();
400 throw new NotImplementedException ();
404 int IList
.Add( object value){
405 throw new NotImplementedException ();
409 bool IList
.Contains( object value){
410 throw new NotImplementedException ();
414 int IList
.IndexOf( object value){
415 throw new NotImplementedException ();
419 void IList
.Insert(int index
, object value){
420 throw new NotImplementedException ();
424 void IList
.Remove( object value){
425 throw new NotImplementedException ();
429 void IList
.RemoveAt( int index
){
430 throw new NotImplementedException ();
432 // End of IList interface
434 /// ICollection Interface implmentation.
436 int ICollection
.Count
{
438 throw new NotImplementedException ();
441 bool ICollection
.IsSynchronized
{
443 throw new NotImplementedException ();
446 object ICollection
.SyncRoot
{
448 throw new NotImplementedException ();
451 void ICollection
.CopyTo(Array array
, int index
){
452 throw new NotImplementedException ();
454 // End Of ICollection