共用方式為


DataFormWebPart.NoDefaultStyle property

取得或設定的NoDefaultStyle字串。

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

Syntax

'宣告
<ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous",  _
    "DataViewWebPartNoDefaultStyleDescription")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Overridable Property NoDefaultStyle As String
    Get
    Set
'用途
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

備註

true表示DataFormWebPart物件並不會使用預設樣式。使用轉換從ListView物件的 Web 組件。

請參閱

參照

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace