DataViewWebPart.NoDefaultStyle property
Gets or sets a flag that indicates the DVWP for this Web Part does not use default styles.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Personal)> _
<ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", _
"DataViewWebPartNoDefaultStyleDescription")> _
Public Property NoDefaultStyle As String
Get
Set
'Usage
Dim instance As DataViewWebPart
Dim value As String
value = instance.NoDefaultStyle
instance.NoDefaultStyle = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Personal)]
[ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous",
"DataViewWebPartNoDefaultStyleDescription")]
public string NoDefaultStyle { get; set; }
Property value
Type: System.String
A string that contains "TRUE" if this Web Part does not use default styles; otherwise, the name of a user-defined style.