Visual Studio 中 ListView 和 ListBox 的区别 [英] Difference between ListView and ListBox in Visual Studio
本文介绍了Visual Studio 中 ListView 和 ListBox 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Windows 8"应用中的ListView"和ListBox"有什么区别.
What is the difference between "ListView" and "ListBox" in a "Windows 8" app.
推荐答案
ListBox
是一个较旧的控件,主要是为了与其他 xaml 框架兼容.ListView
具有内置的触摸等功能.除非您对 ListBox
The ListBox
is an older control primarily for compatibility with other xaml frameworks. The ListView
has build-in functionality for touch etc. Use the ListView
unless you have a specific need for the ListBox
请参阅此处了解更多详情.
仅适用于 ListView
的特定事件:
Specific events available only for ListView
:
方法:
ScrollIntoView(Object, ScrollIntoViewAlignment)
属性:
IncrementalLoadingThresholdProperty
IncrementalLoadingTriggerProperty
这篇关于Visual Studio 中 ListView 和 ListBox 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文