SampleData property
TOC
Collapse the table of content
Expand the table of content

DataFormWebPart.SampleData property

Stores sample XML data used to render the control when live data cannot or should not be used.

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

[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ResourcesAttribute("DataViewWebPartSampleDataLiteral", "Miscellaneous", 
	"DataViewWebPartSampleDataDescription")]
[WebBrowsableAttribute(true)]
public string SampleData { get; set; }

Property value

Type: System.String
Show:
© 2016 Microsoft