This is a migrated thread and some comments may be shown as answers.

RadTitle text color issue

1 Answer 95 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Zubair
Top achievements
Rank 1
Zubair asked on 15 Apr 2012, 10:06 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Boryana
Telerik team
answered on 18 Apr 2012, 02:47 PM
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 >>
Tags
Themes and Visual Style Builder
Asked by
Zubair
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or