WebPartMobileAdapter.CreateWebPartIconAdv method
Returns an icon for the web part. Icon is rendered either as a plain image, the link to the summary/detail view page, or link to trigger expand/collpase.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Function CreateWebPartIconAdv ( _
linkType As WebPartMobileAdapter.WebPartIconLink _
) As Image
'Usage
Dim linkType As WebPartMobileAdapter.WebPartIconLink
Dim returnValue As Image
returnValue = Me.CreateWebPartIconAdv(linkType)
protected Image CreateWebPartIconAdv(
WebPartMobileAdapter.WebPartIconLink linkType
)
Parameters
linkType
Type: Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.WebPartIconLinkType of Icon's navigation link (LinkToSummaryView | LinkToDetailView | NoLink).
Return value
Type: System.Web.UI.WebControls.Image
Remarks
This method should only be called in either CreateControlsForSummaryView() or CreateControlsForDetailView().