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

value = instance.NoDefaultStyle

instance.NoDefaultStyle = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", 
    "DataViewWebPartNoDefaultStyleDescription")]
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