Hi guys,
I’m using Switch with NativeViewHost:
<NativeViewHost>
<Switch ux:Name="_sw" Height="25" Width="50">
<WhileTrue Value="{ReadProperty _sw.Value}">
<DebugAction Message="Switch.Value = true" />
</WhileTrue>
<WhileFalse>
<DebugAction Message="Switch.Value = false" />
</WhileFalse>
</Switch>
<WhileString Value="{status}" Equals="892">
<Change _sw.Value="True" />
</WhileString>
</NativeViewHost>
This is a screenshot of the page where I need the switch:
And here’s a screenshot of a page where I don’t need the switch:
The same thing happens on iOS. The Switch appears in other pages where it isn’t suppose to appear.
Does this have any solution beside using a custom switch? If no, is there a way of changing the color of this switch (without NativeHostView enclosure) when the value is true?
I’m using Fuse version 0.32.0 (build 9613).
Thank you!