大网数据广告活动
安装更新与部署

ListView Table

· 52CE 我爱测

The lines of a listview are not treated as individual controls, but they are part of a listview that functions as a control. The ListView table defines the values for all listviews.

The lines of a listview are not treated as individual controls, but they are part of a listview that functions as a control. The ListView table defines the values for all listviews.

The ListView table has the following columns.

Column Type Key Nullable
Property Identifier Y N
Order Integer Y N
Value Formatted N N
Text Formatted N Y
Binary_ Identifier N Y

Columns

Property

A named property to be tied to this item. All the items tied to the same property become part of the same listview.

Order

A positive integer used to determine the ordering of the items that appear in a single listview list. The integers do not have to be consecutive. If a listview is defined as ordered, then all the items should have an Ordering value. If the listview is defined as unordered, then this column is ignored.

Value

The value string associated with this item. Selecting the line sets the associated property to this value.

Text

The visible, localizable text to be assigned to the item. If this entry or the entire column is missing, then the text defaults to the corresponding entry in Value.

Binary_

The image data for the icon. This is a foreign key to the Binary table.

Remarks

The contents of the Value and Text fields are formatted by the MsiFormatRecord function when the control is created, therefore they can contain any expression that the MsiFormatRecord function can interpret. The formatting occurs only when the control is created, and it is not updated if a property involved in the expression is modified during the life of the control.

Validation

ICE03
ICE06
ICE17
ICE32

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。