Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ListControl Element (Format)

Defines a list format for the view.

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

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 for ListControl (Format)

Required element.

Provides the definitions of the list view.

Parent Elements

 

Element Description

View Element (Format)

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

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

This example shows a list view for the ServiceController object.

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

Community Additions

Show:
© 2016 Microsoft