DataFormWebPart.NoDefaultStyle property

Gets or sets the NoDefaultStyle string.

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

'Declaration
<ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous",  _
	"DataViewWebPartNoDefaultStyleDescription")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Overridable Property NoDefaultStyle As String
	Get
	Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.NoDefaultStyle

instance.NoDefaultStyle = value

Property value

Type: System.String

true indicates that the DataFormWebPart object doesn't use default styles. Used with Web Parts that are converted from ListView objects.

Show: