Windows Dev Center

Expand Minimize

DefaultSettings Element (Format)

Defines common settings that apply to all the views of the formatting file. Common settings include displaying errors, wrapping text in tables, defining how collections are expanded, and more.

<DefaultSettings>
  <ShowError/>
  <DisplayError/>
 <PropertyCountForTable>NumberOfProperties</PropertyCountFortable>
  <WrapTables/>
  <EnumerableExpansions>...</EnumerableExpansions>  
</DefaultSettings>

The following sections describe attributes, child elements, and the parent element of the DefaultSettings element.

Attributes

None.

Child Elements

 

Element Description

DisplayError Element (Format)

Optional element.

Specifies that the string #ERR is displayed when an error occurs while displaying a piece of data.

EnumerableExpansions Element (Format)

Optional element.

Defines the different ways that .NET Framework objects are expanded when they are displayed in a view.

PropertyCountForTable Element (Format)

Optional element.

Specifies the minimum number of properties that an object must have to display the object in a table view.

ShowError Element (Format)

Optional element.

Specifies that the full error record is displayed when an error occurs while displaying a piece of data.

WrapTables Element (Format)

Optional element.

Specifies that data in a table is moved to the next line if it does not fit into the width of the column.

Parent Elements

 

Element Description

Configuration Element (Format)

Represents the top-level element of a formatting file.



Show:
© 2015 Microsoft