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.

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>

Community Additions

Show:
© 2016 Microsoft