Compartilhar via


DataFormWebPart.Xsl Property

Gets or sets the XSL text to be rendered by using XSL transformation.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<RequiresDesignerPermissionAttribute> _
<ResourcesAttribute("XslLiteral", "Miscellaneous", "Xsl")> _
<WebBrowsableAttribute(False)> _
Public Overridable Property Xsl As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.Xsl

instance.Xsl = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[RequiresDesignerPermissionAttribute]
[ResourcesAttribute("XslLiteral", "Miscellaneous", "Xsl")]
[WebBrowsableAttribute(false)]
public virtual string Xsl { get; set; }

Property Value

Type: System.String

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace