Click here to Skip to main content
15,885,032 members
Articles / Desktop Programming / Windows Forms

Extended Vertical Label Control in C# .NET

Rate me:
Please Sign up or sign in to vote.
4.27/5 (10 votes)
26 Sep 2007CPOL3 min read 177.7K   8.7K   71  
A custom vertical label user control in C#.NET with support for transparent backgrounds.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>VerticalLabel</name>
    </assembly>
    <members>
        <member name="T:randz.CustomControls.VerticalLabel">
            <summary>
            A custom windows control to display text vertically
            </summary>
        </member>
        <member name="M:randz.CustomControls.VerticalLabel.#ctor">
            <summary>
            VerticalLabel constructor
            </summary>
        </member>
        <member name="M:randz.CustomControls.VerticalLabel.Dispose(System.Boolean)">
            <summary>
            Dispose override method
            </summary>
            <param name="disposing">boolean parameter</param>
        </member>
        <member name="M:randz.CustomControls.VerticalLabel.OnPaint(System.Windows.Forms.PaintEventArgs)">
            <summary>
            OnPaint override. This is where the text is rendered vertically.
            </summary>
            <param name="e">PaintEventArgs</param>
        </member>
        <member name="P:randz.CustomControls.VerticalLabel.CreateParams">
            <summary>
            
            </summary>
        </member>
        <member name="P:randz.CustomControls.VerticalLabel.RenderingMode">
            <summary>
            Graphics rendering mode. Supprot for antialiasing.
            </summary>
        </member>
        <member name="P:randz.CustomControls.VerticalLabel.Text">
            <summary>
            The text to be displayed in the control
            </summary>
        </member>
        <member name="P:randz.CustomControls.VerticalLabel.TextDrawMode">
            <summary>
            
            </summary>
        </member>
        <member name="T:randz.CustomControls.DrawMode">
            <summary>
            Text Drawing Mode
            </summary>
        </member>
        <member name="F:randz.CustomControls.DrawMode.BottomUp">
            <summary>
            Text is drawn from bottom - up
            </summary>
        </member>
        <member name="F:randz.CustomControls.DrawMode.TopBottom">
            <summary>
            Text is drawn from top to bottom
            </summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I am working as as a full-time Software Developer in Downtown DC Area

Comments and Discussions