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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -