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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared, True)> _
<WebBrowsableAttribute(False)> _
Public Property ShowWithSampleData As Boolean
Get
Set
'Usage
Dim instance As DataFormWebPart
Dim value As Boolean
value = instance.ShowWithSampleData
instance.ShowWithSampleData = value
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[WebBrowsableAttribute(false)]
public bool ShowWithSampleData { get; set; }
Property Value
Type: System.Boolean