Jump to: navigation, search

Changes


HowTo:Implement Custom Filtering

80 bytes added, 06:11, 25 April 2023
/* ListCollectionView */
== [[XAML_Changes_in_UBIK_WinX_3.5#Filtering_by_expressions|ListCollectionView]] ==
To really get used to this EvalExpression we also need to configure a [[XAML_Changes_in_UBIK_WinX_3.5#Filtering_by_expressions|ListCollectionView]], that would look like this:
<tabs>
<tab name="UWP">
<source lang = "xml">
<cv:ListCollectionView x:Key="FilterView"
Expression="{Binding ElementName=FilterExpression, Path=Result}"
ItemsSource="{Binding PropertyViewModel.FilterQueryResultsChildren.Items, Converter={StaticResource CollectionTruncateConverter}, ConverterParameter=200}"}" />
</source>
For the ItemsSource the original </tab> <tab name="Xamarin"><source can be any list of objects like lang = "xml"<controls:SfDataSourceExt x:Key="AlleView" Expression="{Binding Path=Result, Source={StaticResource FilterExpression}}" ItemsSource="{Binding Children.Items.}" /></source></tab></tabs>
Used namespace:
xmlns:cv="using:UBIK.WinX.UI.CollectionView"
</source>
 
== ListView control ==
89
edits