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>
Attributes and Elements
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 |
|---|---|
Optional element. Specifies a format pattern that defines how the property or script value is displayed in the view. | |
Specifies the property of the object whose value is displayed in the wide view. | |
Specifies the script whose value is displayed in the wide view. |
Parent Elements
Element | Description |
|---|---|
Provides a definition of the wide view. |
Example
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).