| Author |
Message |
alehandro
Joined: 16 Nov 2010 Posts: 35
|
Posted: Tue Jan 31, 2012 1:30 pm Post subject: Baml decoding issue for System types |
|
|
there should be an alias for System names space, I guess, here is an example of what is now and what it should be:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</Double>
<Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</Double>
.........
I guess it should be:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</sys:Double>
<sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</sys:Double>
Otherwise Double type is not recognized. |
|
| Back to top |
|
 |
nick.maidment
Joined: 29 Jan 2010 Posts: 74
|
Posted: Fri Feb 03, 2012 11:35 am Post subject: |
|
|
Sorry for a delay in getting back to you. We don't usually check these forums, using http://forums.reflector.net/ instead these days.
I've logged this bug under reference RP-2467 Thanks for reporting it |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group