Share via


XsltListFormWebPart.ControlMode property

NOTE: This API is now obsolete.

Gets or sets the [T;Microsoft.SharePoint.WebControls.SPControlMode] of the XsltListFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
<ObsoleteAttribute("Use XSLTListFormWebPart.PageType instead")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ControlMode As SPControlMode
    Get
    Set
'Usage
Dim instance As XsltListFormWebPart
Dim value As SPControlMode

value = instance.ControlMode

instance.ControlMode = value
[BrowsableAttribute(false)]
[ObsoleteAttribute("Use XSLTListFormWebPart.PageType instead")]
[WebPartStorageAttribute(Storage.Shared)]
public SPControlMode ControlMode { get; set; }

Property value

Type: Microsoft.SharePoint.WebControls.SPControlMode
The control mode of the XsltListFormWebPart.

See also

Reference

XsltListFormWebPart class

XsltListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace