ViewDefinitions Element
Defines the views used to display .NET objects. These views can display the properties and script values of an object in a table format, list format, wide format, and custom control format.
Schema
- Configuration Element
- ViewDefinitions
Syntax
<ViewDefinitions>
<View>...</View>
</ViewDefinitions>
Attributes and Elements
The following sections describe the attributes, child elements, and parent element of the
ViewDefinitions
element. There is no limit to the number of views that can be defined in a
formatting file, and they can be added in any order.
Attributes
None.
Child Elements
Element | Description |
---|---|
View Element | Defines a view that is used to display one or more .NET objects. |
Parent Elements
Element | Description |
---|---|
Configuration Element | Represents the top-level element of a formatting file. |
Remarks
For more information about the components of the different types of views, see the following topics:
Example
This example shows a ViewDefinitions
element that contains the parent elements for a table view
and a list view.
<Configuration>
<ViewDefinitions>
<View>
<TableControl>...</TableControl>
</View>
<View>
<ListControl>...</ListControl>
</View>
</ViewDefinitions>
</Configuration>
See Also
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
PowerShell