Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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