Jump to: navigation, search

Changes


EvalExpression

147 bytes added, 11:43, 29 April 2021
/* Conditional statement */
<source lang = "xml">
<Grid xmlns:ctrls="clr-namespace:UBIK.CPL.Controls;assembly=UBIK.CPL">
<controlsctrls:EvalExpression x:Name="Evaluator" Expression="Condi == true ? P0 : P1" Context="{Binding}"> <controlsctrls:EvalExpressionParameter Name="Condi" Value="{Binding Values[MP_STATUS], Converter={StaticResource EqualityToBool}, ConverterParameter=0}" /> <controlsctrls:EvalExpressionParameter Name="P0" Value="State1" /> <controlsctrls:EvalExpressionParameter Name="P1" Value="State2" /> </controlsctrls:EvalExpression>
<Label Text="{Binding Path=Result, Source={x:Reference Evaluator}}" />
</Grid>
</tab>
</tabs>
 
[[Category:Client|EvalExpression]]
[[Category:Pages with broken file links|EvalExpression]]
[[Category:WinX|EvalExpression]]
[[Category:Xamarin|EvalExpression]]
==See also==