ComponentOne Ribbon for WinForms
C1Ribbon (Classic) Task-Based Help / Ribbon Forms Title Bar Caption Alignment
In This Topic
    Ribbon Forms Title Bar Caption Alignment
    In This Topic

    The Ribbon Forms title bar displays the form's caption, which can be aligned as per user requirements. The caption can be horizontally aligned on the top left, centre or top right corners of the title bar of control. CaptionAlignment property of C1Ribbon control can be used to change the horizontal alignment of the Ribbon Forms title bar caption. To change the title bar caption alignment, add the following code to your project:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.Ribbon.CaptionAlignment = HorizontalAlignment.Left
    

    To write code in C#

    C#
    Copy Code
    this.Ribbon.CaptionAlignment = HorizontalAlignment.Left;