BaseXsltListWebPart.NoDefaultStyle Property

Gets or sets the NoDefaultStyle string.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.NoDefaultStyle

instance.NoDefaultStyle = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", 
    "DataViewWebPartNoDefaultStyleDescription")]
[WebBrowsableAttribute(false)]
public override string NoDefaultStyle { get; set; }

Property Value

Type: System.String
false indicates that the BaseXsltListWebPart uses default styles.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace