2 // System.Windows.Forms.CreateParams.cs
\r
5 // stubbed out by Jaak Simm (jaaksimm@firm.ee)
\r
7 // (C) 2002 Ximian, Inc
\r
10 using System.Collections;
\r
11 using System.ComponentModel;
\r
13 namespace System.Windows.Forms
\r
16 /// Encapsulates the information needed when creating a control.
\r
19 public class CreateParams
\r
22 private string caption;
\r
23 private string className;
\r
24 private int classStyle;
\r
25 private int exStyle;
\r
27 private object param;
\r
28 private IntPtr parent;
\r
35 #region Constructors
\r
36 public CreateParams() {
\r
41 public string Caption {
\r
42 get { return caption; }
\r
43 set { caption = value; }
\r
46 public string ClassName {
\r
47 get { return className; }
\r
48 set { className = value; }
\r
51 public int ClassStyle {
\r
52 get { return classStyle; }
\r
53 set { classStyle = value; }
\r
56 public int ExStyle {
\r
57 get { return exStyle; }
\r
58 set { exStyle = value; }
\r
62 get { return height; }
\r
63 set { height = value; }
\r
66 public object Param {
\r
67 get { return param; }
\r
68 set { param = value; }
\r
71 public IntPtr Parent {
\r
72 get { return parent; }
\r
73 set { parent = value; }
\r
77 get { return style; }
\r
78 set { style = value; }
\r
82 get { return width; }
\r
83 set { width = value; }
\r
99 // public override string ToString() {
\r
100 // throw new NotImplementedException ();
\r