Expand Minimize

PropertyName Element for ListItem for ListControl (Format)

Specifies the .NET Framework property whose value is displayed in the list.


The following sections describe the attributes, child elements, and the parent element of the PropertyName element.



Child Elements


Parent Elements


Element Description

ListItem Element for ListItems for ListControl (Format)

Defines the property or script whose value is displayed in the row of the list view.

Specify the name of the property whose value is displayed.

When this element is specified, you cannot specify the ScriptBlock element.

In addition to displaying the property value, you can also specify a label for the value or a format string that can be used to change the display of the value. For more information about specifying data in a list view, see Creating a List View.

The following example shows how to specify the label and property whose value is displayed.


© 2015 Microsoft