c# - CollectionViewSource FilterDescriptions with LiveFiltering -
i binding integer value collectionview source filtering properties. possible filter viewsource withing xaml without using code behind.
view in continuous refresh order value , sorting
<collectionviewsource x:key="items" source="{binding itemsource, elementname=testitems }" islivesortingrequested="true" islivefilteringrequested="true" > <collectionviewsource.sortdescriptions> <scm:sortdescription propertyname= "order" /> </collectionviewsource.sortdescriptions> <collectionviewsource.livesortingproperties> <clr:string>order</clr:string> </collectionviewsource.livesortingproperties> <collectionviewsource.livefilteringproperties> <clr:string>order</clr:string> </collectionviewsource.livefilteringproperties>
if order becomes invalid collectionviewsource should hidden or collapsed
Comments
Post a Comment