Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ViewDefinitions Element (Format)

Defines the views used to display .NET Framework 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.


<ViewDefinitions>
  <View>...</View>
</ViewDefinitions>

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 (Format)

Defines a view that is used to display one or more .NET Framework objects.

Parent Elements

 

Element Description

Configuration Element (Format)

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.

<Configuration>
  <ViewDefinitions>
    <View>
      <TableControl>...</TableControl>
    </View>
    <View>
      <ListControl>...</ListControl>
    </View>
  </ViewDefinitions>
</Configuration>

Community Additions

Show:
© 2016 Microsoft