Expand Minimize

Label Element for ListItem for ListControl (Format)

Specifies the label that is displayed to the left of the property or script value in the row.

<Label>Label for displayed value</Label>

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

Attributes

None.

Child Elements

None.

Parent Elements

 

Element Description

ListItem Element for ListItems for ListControl (Format)

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

Specify the label to be display to the left of the property or script value.

If a label is not specified, the name of the property or the script is displayed. For more information about using labels in a list view, see Creating a List View.

The following example shows how to add a label to a row.

<ListItem>
  <Label>Property1: </Label>
  <PropertyName>DotNetProperty1</PropertyName>
</ListItem>



Show:
© 2014 Microsoft