
Hi
I am having difficulties to use Led Gauge and data binding
I define the binding in the xaml file
<gauge:Led x:Name="Led1"LedState="{Binding Path=terminals[0].isTerminalConnected,Converter={StaticResource BooleanToLedStateConverter},Mode=OneWay}"
I declare BooleanToLedStateConverter in the resources
<Window.Resources>
<gauge:BooleanToLedStateConverter x:Key="BooleanToLedStateConverter"/>
</Window.Resources>
but when running the program i get an exeption - "Cannot find resource named 'BooleanToLedStateConverter'. Resource names are case sensitive."
Is there an example how to use it ?
Regards
Roie