Delen via

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.


  • Configuration Element
  • 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.



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.


For more information about the components of the different types of views, see the following topics:


This example shows a ViewDefinitions element that contains the parent elements for a table view and a list view.


See Also

Configuration Element

View Element

Creating a Table View

Creating a List View

Creating a Wide View

Custom Controls

Writing a PowerShell Formatting File