Invalid attribute value for property TargetType
i have style in app.xaml targets properties of datepicker:
<style x:key="edittemplatedatevalue" targettype="controls:datepicker"> <setter property="fontsize" value="12" /> <setter property="margin" value="0,0,0,0" /> <setter property="height" value="25" /> </style>because needs different namespace, have @ top:
xmlns:controls="clr-namespace:system.windows.controls;assembly=system.windows.controls"
blend displays fine, runs fine, but visual studio thows error , wont render preview me:
error 1 invalid attribute value controls:datepicker property targettype.
in experience visual studio preview pane not work (in useful way) simple xaml
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment