Label Element for ListItem for ListControl
Specifies the label that is displayed to the left of the property or script value in the row.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- ListControl Element
- ListEntries Element
- ListEntry Element
- ListItems Element
- ListItem Element
- Label Element
Syntax
<Label>Label for displayed value</Label>
Attributes and Elements
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 | Defines the property or script whose value is displayed in a row of the list view. |
Text Value
Specify the label to be display to the left of the property or script value.
Remarks
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.
Example
The following example shows how to add a label to a row.
<ListItem>
<Label>Property1: </Label>
<PropertyName>DotNetProperty1</PropertyName>
</ListItem>
See Also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for