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