DataViewWebPart.NoDefaultStyle 属性

获取或设置一个标志,指示此 Web 部件 DVWP 不使用默认样式。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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; }

属性值

类型:System.String
一个字符串,包含"TRUE",如果此 Web 部件不使用默认样式。否则为为用户定义的样式的名称。

另请参阅

引用

DataViewWebPart 类

DataViewWebPart 成员

Microsoft.SharePoint.WebPartPages 命名空间