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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Personal)> _
<BrowsableAttribute(False)> _
<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
[WebPartStorageAttribute(Storage.Personal)]
[BrowsableAttribute(false)]
[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.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace