Quantcast
Channel: Custom Controls for TFS Work Item Tracking
Viewing all articles
Browse latest Browse all 376

New Post: How do we get our Custom Controls to inherit the Visual Studio 2013 Theme styles?

$
0
0
I partly figured it out:

add a reference to Microsoft.TeamFoundation.Controls, PresentationCore and WindowsBase

add the following to the controls:

BackColor = TeamFoundationColors.Instance.WorkItemFormBackground.ToWinForms(),
ForeColor = TeamFoundationColors.Instance.WorkItemFormForeground.ToWinForms(),


I still encounter with the multivalue control a border which is now in the foreColor, but I would prefer it to be gone.

Viewing all articles
Browse latest Browse all 376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>