RadForm title alignment

3 posts, 0 answers
  1. Nathalie
    Nathalie avatar
    4 posts
    Member since:
    Nov 2012

    Posted 05 Sep 2014 Link to this post


    How can I center the title of my RadForm?

  2. Mark
    Mark avatar
    2 posts
    Member since:
    Feb 2015

    Posted 26 Jun 2015 Link to this post

    A was a very informative answer to this straightforward question
  3. DevCraft R3 2016 release webinar banner
  4. Dess
    Dess avatar
    1561 posts

    Posted 01 Jul 2015 Link to this post

    Hello Nathalie,

    Thank you for writing.

    In order to center the text in the title-bar, you can use the following code snippet:
    public Form1()
        this.FormElement.TitleBar.TitlePrimitive.StretchHorizontally = true;
        this.FormElement.TitleBar.TitlePrimitive.TextAlignment = ContentAlignment.MiddleCenter;

    I hope this information helps. Should you have further questions, I would be glad to help.
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top