Expand Minimize

View Element (Format)

Defines a view that displays one or more .NET Framework objects. There is no limit to the number of views that can be defined in a formatting file.

  <Name>Friendly name of view.</Name>

The following sections describe the attributes, child elements, and the parent element of the View element. You must specify one and only one of the control child elements, and you must specify the name of the view and the objects that use the view. Defining custom controls, how to group objects, and specifying if the view is out-of-band are optional.



Child Elements


Element Description

Controls Element for View (Format)

Optional element.

Defines a set of controls that can be referenced by their name from within the view.

CustomControl Element for GroupBy (Format)

Optional element.

Defines a custom control format for the view.

GroupBy Element for View (Format)

Optional element.

Defines how the members of the .NET Framework objects are grouped.

ListControl Element (Format)

Optional element.

Defines a list format for the view.

Name Element for View (Format)

Required element.

Specifies the name used to reference the view.

TableControl Element (Format)

Optional element.

Defines a table format for the view.

ViewSelectedBy Element (Format)

Required element.

Defines the .NET Framework objects that this view displays.

WideControl Element (Format)

Optional element.

Defines a wide (single value) list format for the view.

Parent Elements


Element Description

ViewDefinitions Element (Format)

Defines the views used to display objects.

For more information about the components of different views and custom controls, see the following topics:

This example shows a View element that defines a table view for the ServiceController object.


© 2014 Microsoft