阅读背景:

在DataTemplate(仅对XAML)中对绑定项进行排序

来源:互联网 

Is there a XAML only way to automatically sort the bound items (list of ViewModel object) ItemsControl based on one of the properties of the items. The ItemsControl is part of a DataTemplate. I thought CollectionViewSource would do the trick, but how do I bind the CollectionViewSource to the ItemsControl. The follwoing code dispays nothing:Is there a XAML only way to automatically sort




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: