DataFormWebPart.XmlDefinition property

Gets or sets the view CAML associated with this Data Form Web Part.

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

public virtual string XmlDefinition { get; set; }

Property value

Type: System.String
A String that contains inline the view CAML.

The XmlDefinitionLink property contains the URL local of an external file that contains the view CAML. The XmlDefinition property takes precedence over the XmlDefinitionLink property.