DataViewWebPart.NoDefaultStyle property
取得或設定旗標,指出此 Web 組件 DVWP 不會使用預設樣式。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Personal)> _
<ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", _
"DataViewWebPartNoDefaultStyleDescription")> _
Public Property NoDefaultStyle As String
Get
Set
'用途
Dim instance As DataViewWebPart
Dim value As String
value = instance.NoDefaultStyle
instance.NoDefaultStyle = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Personal)]
[ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous",
"DataViewWebPartNoDefaultStyleDescription")]
public string NoDefaultStyle { get; set; }
Property value
Type: System.String
字串,包含"TRUE",如果此 Web 組件不會使用預設樣式。否則,使用者定義的樣式名稱。