Table of Contents


This is a custom control, first written in VB.Net, but converted to C# as a learning exercise. The telerik ( online converter has been used and then we fixed the inevitable conversion errors with a little help from the IDE (Integrated Development Environment).

The control is an extension of the Control class, which is a fully functioning Vertical Label control. It is designed to always be AutoSized. You can set upToDown to change whether the caption reads from top to bottom, or from bottom to top. You can also set BackColor, ForeColor, and Font, and the control will redraw with your new settings.

Creating a control from the base class Control is preferable in my opinion to creating a UserControl but I could have used either method. Usually when creating a control, we remove any extraneous properties, but I left all of the standard properties in this control.

Originally  a bare bones version of this control was written to answer a question in a forum. After deciding that this control could be useful in many real world applications, we modified and improved it to the current version with the aforementioned properties, and then converted it to so you can download two different language versions here on TechNet.