Share 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)

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