The dock property. The dock property controls to which edge of the container this control is docked to. For example, when docked to the top of the container, the control will be displayed flush at the top of the container, extending the length of the container.
[Visual Basic] Overridable Public Property Dock As DockStyle [C#] public DockStyle Dock {virtual get; virtual set;} [C++] public: __property virtual DockStyle get_Dock(); public: __property virtual void set_Dock(DockStyle); [JScript] public function get Dock() : DockStyle; public function set Dock(DockStyle);
RichControl Class | RichControl Members | System.WinForms Namespace