如何停止PriorityBinding的线程

时间:2009-10-23 14:52:18

标签: wpf binding multithreading

Listbox的ItemsSource是TList

在XImage的Dispose方法中, 如何停止加载缩略图的线程?

<ListBox.ItemTemplate>
                <DataTemplate>
...
                                <Image.Source>
                                    <PriorityBinding>
                                        <Binding Path="Thumbnail" IsAsync="True" />
                                        <Binding Path="DefaultImage"/>
                                    </PriorityBinding>
                                </Image.Source>
....                                
</ListBox.ItemTemplate>

0 个答案:

没有答案