編輯

共用方式為


CustomEntry Element for CustomEntries for CustomControl for View

Provides a definition of the custom control view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element

Syntax

<CustomEntry>
  <EntrySelectedBy>...</EntrySelectedBy>
  <CustomItem>...</CustomItem>
</CustomEntry>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the CustomEntry element. You must specify the items displayed by the definition.

Attributes

None.

Child Elements

Element Description
EntrySelectedBy Element for CustomEntry for View Optional element.

Defines the .NET types that use the definition of the custom control view or the condition that must exist for this definition to be used.
CustomItem Element for CustomEntry for View Defines a control for the custom control definition.

Parent Elements

Element Description
CustomEntries Element for CustomControl for View Provides the definitions of the custom control view. The custom control view must specify one or more definitions.

Remarks

In most cases, only one definition is required for each custom control view, but it is possible to have multiple definitions if you want to use the same view to display different .NET objects. In those cases, you can provide a separate definition for each object or set of objects.

See Also

CustomControl Element for View

CustomItem Element for CustomEntry for View

EntrySelectedBy Element for CustomEntry for View

Writing a PowerShell Formatting File