Menu.CancelOnclickEvent Property
Gets or sets a value that indicates whether the OnClick event is canceled after the menu OnClick event handle has been triggered.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property CancelOnclickEvent As Boolean
Get
Set
'Usage
Dim instance As Menu
Dim value As Boolean
value = instance.CancelOnclickEvent
instance.CancelOnclickEvent = value
public bool CancelOnclickEvent { get; set; }
Property Value
Type: System.Boolean
true if the event is canceled; otherwise, false. The default is true.