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.

ListEntry Element for ListControl (Format)

 

Provides a definition of the list view.

<ListEntry>
  <EntrySelectedBy>...</EntrySelectedBy>
  <ListItems>...</ListItems>
</ListEntry>

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

EntrySelectedBy Element for ListEntry (Format)

Optional element.

Defines the .NET Framework objects that use this list view definition or the condition that must exist for this definition to be used.

ListItems Element (Format)

Required element.

Defines the properties and scripts whose values are displayed by the list view.

Parent Elements

Element

Description

ListEntries Element (Format)

Provides the definitions of the list view.

A list view is a list format that displays property values or script values for each object. For more information about list views, see Creating a List View.

Example

This example shows the XML elements that define the list view for the ServiceController object.

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