Jump to: navigation, search

Changes


HowTo:Implement Custom Filtering

7 bytes added, 06:12, 25 April 2023
/* EvalExpression */
<tab name="Xamarin">
<source lang = "xml">
<controls:EvalExpression x:Key="EvaluatorFilterExpression" Expression="(P1==null||P1==&quot;&quot;)?&quot;true&quot;:P0" Context="{Binding}">
<controls:EvalExpressionParameter Name="P0" Value="{Binding Path=Text, Source={x:Reference Filter_Input}, Converter={StaticResource Formatter}, ConverterParameter='Item.Values[&quot;NAME&quot;].ToLower().Contains(&quot;{0}&quot;.ToLower())==true'}" />
<controls:EvalExpressionParameter Name="P1" Value="{Binding Path=Text, Source={x:Reference Filter_Input}}" />
89
edits