Share via


HtmlMenuItem.ScriptFunc Property

Gets or sets the script that is added to the menu item.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property ScriptFunc As String
    Get
    Set
'Usage
Dim instance As HtmlMenuItem
Dim value As String

value = instance.ScriptFunc

instance.ScriptFunc = value
public string ScriptFunc { get; set; }

Property Value

Type: System.String
A string that represents the script that is added to the menu item.

Remarks

If the Separator property is true, all other properties are ignored when the HtmlMenuItem is rendered.

See Also

Reference

HtmlMenuItem Class

HtmlMenuItem Members

Microsoft.SharePoint.Portal.WebControls Namespace