DataViewWebPart.NoDefaultStyle - Propriété
Obtient ou définit un indicateur qui indique le DVWP pour ce composant WebPart n'utilise pas de styles par défaut.
Espace de noms : Microsoft.SharePoint.WebPartPages
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Personal)> _
<ResourcesAttribute("DataViewWebPartNoDefaultStyleLiteral", "Miscellaneous", _
"DataViewWebPartNoDefaultStyleDescription")> _
Public Property NoDefaultStyle As String
Get
Set
'Utilisation
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; }
Valeur de propriété
Type : System.String
Chaîne qui contient « TRUE » si ce composant n'utilise pas de styles par défaut ; dans le cas contraire, le nom d'un style défini par l'utilisateur.