Visual Studio中的ListView和ListBox之间的区别 [英] Difference between ListView and ListBox in Visual Studio
问题描述
在Windows 8应用程序中,"ListView"和"ListBox"之间有什么区别.
ListBox
是一个较旧的控件,主要用于与其他xaml框架兼容. ListView
具有用于触摸等的内置功能.除非特别需要ListBox
ListView
.
有关更多详细信息,请参见此处. /p>
特定事件仅适用于ListView
:
方法:
ScrollIntoView(对象,ScrollIntoViewAlignment)
属性:
IncrementalLoadingThresholdProperty
IncrementalLoadingTriggerProperty
What is the difference between "ListView" and "ListBox" in a "Windows 8" app.
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
See here for more detail.
Specific events available only for ListView
:
Methods:
ScrollIntoView(Object, ScrollIntoViewAlignment)
Properties:
IncrementalLoadingThresholdProperty
IncrementalLoadingTriggerProperty
这篇关于Visual Studio中的ListView和ListBox之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!