Changes

EvalExpression

63 bytes added, 11:17, 4 October 2019
/* Evaluation without parameters */
<ctrls:EvalExpression
x:Name="ExpressionEvaluator"
Context="{BindingSelf}"
Expression="Context.Values[&quot;LK_OFFLINE&quot;]!=null || Context.Values[&quot;GUIDREF&quot;]!=null" />
<TextBlock Foreground="White" Visibility="{Binding ElementName=ExpressionEvaluator, Path=Result, Converter={StaticResource BoolToVisConverter}}" />
The TextBlock should be visibile as long as at least one of the context object's two named properties has a value.
 
[[Category:Pages with broken file links|EvalExpression]]
==== Simple Calculation ====