Expand Minimize

WideItem Element for WideControl (Format)

Defines the property or script whose value is displayed.

<WideItem>
  <PropertyName>.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToExecute</ScriptBlock>
  <FormatString>FormatPattern</FormatString>
</WideItem>

The following sections describe the attributes, child elements, and the parent element of the WideItem element. The FormatString element is optional. However, you must specify a PropertyName or ScriptBlock element, but you cannot specify both.

Attributes

None.

Child Elements

 

Element Description

FormatString Element for WideItem for WideControl (Format)

Optional element.

Specifies a format pattern that defines how the property or script value is displayed in the view.

PropertyName Element for WideItem for WideControl (Format)

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

ScriptBlock Element for WideItem for WideControl (Format)

Specifies the script whose value is displayed in the wide view.

Parent Elements

 

Element Description

WideEntry Element for WideControl (Format)

Provides a definition of the wide view.

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

The following example shows a WideEntry element that defines a single WideItem element. The WideItem element defines the property or script whose value is displayed in the view.

<WideEntry>
  <WideItem>
    <PropertyName>ProcessName</PropertyName>
  </WideItem>
</WideEntry>

For a complete example of a wide view, see Wide View (Basic).



Show:
© 2014 Microsoft