Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SampleData property
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:
© 2015 Microsoft