Changes

EvalExpression

98 bytes added, 10:46, 7 August 2019
/* Example */
=== Example ===
The following example shows how to use the control with three parameters, where the first two are user input (Textbox ''Param0'' and ''Param1'') and the third one is a property from its DataContext (ViewModel). The evaluated ''Result'' is then bound to a Textblock for output in the UI.
 
<source lang = "xml">
<StackPanelxmlns:ctrls="using:UBIK.WinX.Controls"
HorizontalAlignment="Center"
Orientation="Vertical">
Lets assume that the Textbox ''Param0'' contains a text of 42 and ''Param1'' contains a text of 43. If ''Expression'' now contains <code>(P0 + P1) *2</code> then the result would display 170.
 
[[Category:Pages with broken file links|EvalExpression]]
== Parameters ==