Changes

XAML

1,358 bytes added, 10:49, 25 August 2016
/* Advanced */
=== Advanced ===
* [[StringFormatConverter]]Returns a formatted string where placeholders will be filled with values supplied to its parameter properties (''ParamParam0, Param1, Param2'' properties)Example:<source lang = "xml"> <StackPanel Orientation="Horizontal"> <StackPanel.Resources> <!-- Instantiate the converter and bind the the Param0 to a SearchBox on this page --> <converters:StringFormatConverter x:Key="URIConverter" Param0="{Binding ElementName=SkypeQuery, Path=QueryText}" /> </StackPanel.Resources> <!-- Create a SearchBox that calls the typed Name via Skype on enter --> <SearchBox x:Name="SkypeQuery" Width="240" Height="40" FontSize="18" PlaceholderText="Call Skype"> <Interactivity:Interaction.Behaviors> <Core:EventTriggerBehavior EventName="QuerySubmitted"> <Core:InvokeCommandAction Command="{Binding NavigateToURICommand}" CommandParameter="{Binding ElementName=EcoQuery, Path=QueryText, Converter={StaticResource URIConverter}, ConverterParameter=skype:\{0\}\?call }" /> </Core:EventTriggerBehavior> </Interactivity:Interaction.Behaviors> </SearchBox> </StackPanel></source> 
* [[EvalExpressionConverter]]
Evaluates a C# expression with 3 optional variables (''Param0, Param1, Param2'') and returns the result. 
Example:
<source lang = "xml">