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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ControlMode

instance.ControlMode = value
[ObsoleteAttribute("Use XSLTListFormWebPart.PageType instead")]
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
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