DataFormWebPart.NoDefaultStyle property

Gets or sets the NoDefaultStyle string.

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

Syntax

'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
[ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", 
    "DataViewWebPartNoDefaultStyleDescription")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public virtual string NoDefaultStyle { get; set; }

Property value

Type: System.String

Remarks

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

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace