Editar

Partilhar via


PropertyName Element for WideItem for WideControl

Specifies the property of the object whose value is displayed in the wide view.

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • WideControl Element
  • WideEntries Element
  • WideEntry Element
  • WideItem Element
  • PropertyName Element

Syntax

<PropertyName>.NetTypeProperty</PropertyName>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
WideItem Element Defines the property or script whose value is displayed in the wide view.

Text Value

Specify the name of the property whose value is displayed.

Remarks

For more information about the components of a wide view, see Creating a Wide View.

Example

This example shows a wide view that displays the value of the ProcessName property of the System.Diagnostics.Process object.

View>
  <Name>process</Name>
  <ViewSelectedBy>
    <TypeName>System.Diagnostics.Process</TypeName>
  </ViewSelectedBy>
  <WideControl>
    <WideEntries>
      <WideEntry>
        <WideItem>
          <PropertyName>ProcessName</PropertyName>
        </WideItem>
      </WideEntry>
    </WideEntries>
  </WideControl>
</View>

See Also

WideItem Element

Creating a Wide View

Writing a PowerShell Formatting File