TypeName Element for EntrySelectedBy for ListControl
Specifies a .NET 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.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- ListControl Element
- ListEntries Element
- ListEntry Element
- EntrySelectedBy
- TypeName Element
Syntax
<TypeName>Nameof.NetType</TypeName>
Attributes and Elements
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 | Defines the .NET types that use this list entry or the condition that must exist for this entry to be used. |
Text Value
Specify the fully-qualified name of the .NET type, such as System.IO.DirectoryInfo
.
Remarks
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 List View.
Example
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>
See Also
EntrySelectedBy Element for ListEntry
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈