Quantcast
Viewing all articles
Browse latest Browse all 18858

DynamicResource not recognized at design time

Hi,

I have no idea why, but all the sudden VS2013 XAML-Designer does not recognize my dynamic resources any more.
Just as a side note: Blend for VS2013 does.

I have a "GuiCommon" project in my solution, containing among others my "GradientBrushes.xaml" Resouce Dictionary.
In my WPF Application project, this dictionary is merged in the App.xaml.
The UserControl is - together with some other user controls - in my <someControls> project, referencing GuiCommon.

the UserControl has a Border:

<Border BorderBrush="#595959" BorderThickness="2,2,0,0" Grid.ColumnSpan="2" Background="{DynamicResource LightBlueGradientBrush}">

Unfortunatly the XAML-Designer does not show the background set to "LightBlueGradientBrush".
As mentiond Blend does, and at runtime every thing is ok too.

VS : screenshot

Blend: ScreenShotBlend

Thanks for any hints and help!

Regards
Rainer

Image may be NSFW.
Clik here to view.





Viewing all articles
Browse latest Browse all 18858

Trending Articles