Share via


DataFormWebPart.DisplayName Property

Keeps the display name of the original list view when converting a ListViewWebPart object to a.DataFormWebPart object.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property DisplayName As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.DisplayName

instance.DisplayName = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string DisplayName { get; set; }

Property Value

Type: System.String

Remarks

Used for DataFormWebPart objects converted from ListViewWebPart objects.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace