Expand Minimize

TypeName Element for EntrySelectedBy for ListControl (Format)

Specifies a .NET Framework type that uses this entry of the list view. There is no limit to the number of types that can be specified for a list entry.

<TypeName>Nameof.NetType</TypeName>

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

Attributes

None.

Child Elements

None.

Parent Elements

 

Element Description

EntrySelectedBy Element for ListEntry for ListControl (Format)

Defines the .NET Framework types that use this list entry or the condition that must exist for this entry to be used.

Specify the fully-qualified name of the .NET Framework type, such as System.IO.DirectoryInfo.

Each list entry must have at least one type name, selection set, or selection condition defined.

For more information about how this element is used in a list view, see Creating a List View.

The following example shows how to specify a selection set for an entry of a list view.

<ListEntry>
  <EntrySelectedBy>
    <TypeName>Nameof.NetType</TypeName>
  </EntrySelectedBy>
  <ListItems>...</ListItems>
</ListEntry>



Show:
© 2015 Microsoft