description | ms.date | ms.topic | title |
---|---|---|---|
WideControl Element |
08/25/2021 |
reference |
WideControl Element |
Defines a wide (single value) list format for the view. This view displays a single property value or script value for each object.
- Configuration Element
- ViewDefinitions Element
- View Element
- WideControl Element
<WideControl>
<AutoSize/>
<ColumnNumber>PositiveInteger</ColumnNumber>
<WideEntries>...</WideEntries>
</WideControl>
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.
None.
Element | Description |
---|---|
AutoSize Element for WideControl | Optional element. Specifies whether the column size and the number of columns are adjusted based on the size of the data. |
ColumnNumber Element for WideControl | Optional element. Specifies the number of columns displayed in the wide view. |
WideEntries Element | Required element. Provides the definitions of the wide view. |
Element | Description |
---|---|
View Element | Defines a view that is used to display one or more .NET 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 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.
The following example shows a WideControl
element that is used to display a property of the System.Diagnostics.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).
Autosize Element for WideControl