Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 1.79 KB

listcontrol-element-format.md

File metadata and controls

79 lines (55 loc) · 1.79 KB
description ms.date ms.topic title
ListControl Element
08/23/2021
reference
ListControl Element

ListControl Element

Defines a list format for the view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • ListControl Element

Syntax

<ListControl>
  <ListEntries>...</ListEntries>
</ListControl>

Attributes and Elements

The following sections describe the attributes, child elements, and the parent element of the ListControl element. This element must contain only a single child element.

Attributes

None.

Child Elements

Element Description
ListEntries Element Required element.

Provides the definitions of the list view.

Parent Elements

Element Description
View Element Defines a view that is used to display the members of one or more objects.

Remarks

For more information about creating a list view, see Creating a List View.

Example

This example shows a list view for the System.Serviceprocess.Servicecontroller object.

<View>
  <Name>System.ServiceProcess.ServiceController</Name>
  <ViewSelectedBy>
    <TypeName>System.ServiceProcess.ServiceController</TypeName>
  </ViewSelectedBy>
  <ListControl>
    <ListEntries>
      <ListEntry>...</ListEntry>
    </ListEntries>
  </ListControl>
</View>

See Also

View Element

ListEntries Element

Creating a List View

Writing a Windows PowerShell Formatting and Types File