Condividi tramite


Format Element

Applies to: SharePoint Foundation 2010

Contains definitions of column and row formatting that are used in a Datasheet view.

<Format
  Name = "Text">
    <FormatDef
      Type = "Text"
      Value = "Text">
        </FormatDef>
    ...
</Format>

Attributes

Attribute

Description

Name

Required Text. Contains the name of the field to which the format applies.

Child Elements

FormatDef

Parent Elements

Formats

Occurrences

Minimum: 0

Maximum: Unbounded

Example

The following example shows the definitions of column and row formatting used in a Datasheet view.

<Formats>
   <FormatDef Type="RowHeight" Value="67" />
   <Format Name="Attachments">
      <FormatDef Type="ColWidth" Value="75" />
   </Format>
   <Format Name="LinkTitle">
      <FormatDef Type="WrapText" Value="1" />
      <FormatDef Type="ColWidth" Value="236" />
   </Format>
</Formats>