DataFormWebPart.ShowWithSampleData property
Gets or sets the ShowWithSampleData property. Specifies whether the real data or sample data is displayed for the Web Part in edit mode.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared, True)> _
Public Property ShowWithSampleData As Boolean
Get
Set
'Usage
Dim instance As DataFormWebPart
Dim value As Boolean
value = instance.ShowWithSampleData
instance.ShowWithSampleData = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
public bool ShowWithSampleData { get; set; }
Property value
Type: System.Boolean