View Issue Details

IDProjectCategoryView StatusLast Update
0001054NoesisGUIC# SDKpublic2018-11-23 19:33
Reporterai_enabled Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status assignedResolutionopen 
Product Version1.3.0 
Summary0001054: Cannot bind StaticResource of type Double to dependency property of type Double
Description

Hi guys,

I cannot use double value defined in ResourceDictionary as static resource for style:
<system:Double x:Key="GameMenuWindowWidth">526</system:Double>

<Style TargetType="{x:Type core:GameWindow}">
<Setter Property="WindowWidth" Value="{StaticResource GameMenuWindowWidth}" />
</Style>

Noesis.Error+NoesisException: Invalid value 'Boxed<Float32>' for property '.?AVTypeClass@Core@Noesis@@.WindowWidth'

It seems NoesisGUI consider every system:Double property to be Float32 (system:Single), but dependency property is expecting value of type double.

Regards!

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-04-12 12:06 ai_enabled New Issue
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 10:02 sfernandez Assigned To => sfernandez
2018-11-22 10:02 sfernandez Status new => assigned
2018-11-22 10:02 sfernandez View Status private => public
2018-11-22 10:02 sfernandez Platform => Any