Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPView.Formats property

Gets or sets definitions for column and row formatting that are used in a datasheet view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Formats { get; set; }

Property value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the descriptions of column and row formatting.

The Formats property corresponds to the CAML Formats element and contains a string like the following:

<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>
Show:
© 2015 Microsoft