WideControl Element (Format)
Defines a wide (single value) list format for the view. This view displays a single property value or script value for each object.
<WideControl> <AutoSize/> <ColumnNumber>PositiveInteger</ColumnNumber> <WideEntries>...</WideEntries> </WideControl>
Attributes and Elements
The following sections describe the attributes, child elements, and parent element of the WideControl element. You cannot specify the AutoSize and ColumnNumber elements at the same time.
Attributes
None.
Child Elements
Element | Description |
|---|---|
Optional element. Specifies whether the column size and the number of columns are adjusted based on the size of the data. | |
Optional element. Specifies the number of columns displayed in the wide view. | |
Required element. Provides the definitions of the wide view. |
Parent Elements
Element | Description |
|---|---|
Defines a view that is used to display one or more .NET Framework objects. |
When defining a wide view, you can add the AutoSize element or the ColumnNumber but you cannot add both.
In most cases, only one definition is required for each wide view, but it is possible to have multiple definitions if you want to use the same view to display different .NET Framework objects. In those cases, you can provide a separate definition for each object or set of objects.
For more information about the components of a wide view, see Wide View Components.
Example
The following example shows a WideControl element that is used to display a property of the Process object.
<View>
<Name>process</Name>
<ViewSelectedBy>
<TypeName>System.Diagnostics.Process</TypeName>
</ViewSelectedBy>
<WideControl>
<WideEntries>...</WideEntries>
</WideControl>
</View>
For a complete example of a wide view, see Wide View (Basic).