Share via


DataFormWebPart.ItemContext Property

Gets or sets the SPContext of item used for form rendering.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property ItemContext As SPContext
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As SPContext

value = instance.ItemContext

instance.ItemContext = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public SPContext ItemContext { get; set; }

Property Value

Type: Microsoft.SharePoint.SPContext
The context of the item.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace