RadTitle text color issue

2 posts, 1 answers
  1. Zubair
    Zubair avatar
    2 posts
    Member since:
    Aug 2011

    Posted 15 Apr 2012 Link to this post

    HI..
     I am trying to customize an existing RadTheme and have achieved pretty much what was required. However I am unable to change the color of the text of the RadForm. Apparently the new text color is applied for RadForm and RadTitle in Visual Style Builder. But when previewing, the new color is not visible. 
    I've attached an image for your clear understanding.

    Reards,
    Zubair
  2. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 18 Apr 2012 Link to this post

    Hello Zubair,

    Thank you for writing.

    Here are the two approaches demonstrating how to set the TitleBar's ForeColor property:

    1. Load the Desert theme in VSB. In the Controls Structure pane navigate to RadTitleBar. In the Repositories pane double-click the DesertFontMSSans repository, so that the Edit Repository dialog appears. Further, set the ForeColor property to White.

    2. Load the theme in VSB and navigate to RadTitleBar >> RadTitleBarElement in the Controls Structure pane and select the TitleCaption item in the Elements pane. Now create a Text repository that only sets the ForeColor property to White and apply it to the TitleBar and TitleBar.IsFormActive states.

    Attached you will find a sample project that illustrates the second approach.

    I hope this helps. Let me know if you have further questions.

    Kind regards,
    Boryana
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top