Class MenuClientSideEventsBuilder
Add client side events to Scroller using this builder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class MenuClientSideEventsBuilder
Constructors
MenuClientSideEventsBuilder(MenuProperties)
Initializes a new instance of the MenuClientSideEventsBuilder class.
Declaration
public MenuClientSideEventsBuilder(MenuProperties menuProp)
Parameters
Type | Name | Description |
---|---|---|
MenuProperties | menuProp |
Methods
BeforeOpen(String)
Specifies the Menu client side BeforeOpen event
Declaration
public MenuClientSideEventsBuilder BeforeOpen(string beforeContextOpen)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforeContextOpen |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the BeforeOpen event handler and returns the Menu object |
Click(String)
Specifies the Menu client side Click event
Declaration
public MenuClientSideEventsBuilder Click(string click)
Parameters
Type | Name | Description |
---|---|---|
System.String | click | Click event handler |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Click event handler and returns the Menu object |
Close(String)
Specifies the Menu client side Close event
Declaration
public MenuClientSideEventsBuilder Close(string contextClose)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextClose |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Close event handler and returns the Menu object |
Create(String)
Declaration
public MenuClientSideEventsBuilder Create(string create)
Parameters
Type | Name | Description |
---|---|---|
System.String | create |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder |
Destroy(String)
Specifies the Menu client side Destroy event
Declaration
public MenuClientSideEventsBuilder Destroy(string destroy)
Parameters
Type | Name | Description |
---|---|---|
System.String | destroy | Destroy event handler |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Destroy event handler and returns the Menu object |
Keydown(String)
Specifies the Menu client side Keydown event
Declaration
public MenuClientSideEventsBuilder Keydown(string keyDown)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyDown |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Keydown event handler and returns the Menu object |
Mouseout(String)
Specifies the Menu client side Mouseout event
Declaration
public MenuClientSideEventsBuilder Mouseout(string mouseOut)
Parameters
Type | Name | Description |
---|---|---|
System.String | mouseOut |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Mouseout event handler and returns the Menu object |
Mouseover(String)
Specifies the Menu client side Mouseover event
Declaration
public MenuClientSideEventsBuilder Mouseover(string mouseOver)
Parameters
Type | Name | Description |
---|---|---|
System.String | mouseOver |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Mouseover event handler and returns the Menu object |
Open(String)
Specifies the Menu client side Open event
Declaration
public MenuClientSideEventsBuilder Open(string contextOpen)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextOpen |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the Open event handler and returns the Menu object |
OverflowClose(String)
Specifies the Menu overflow close event
Declaration
public MenuClientSideEventsBuilder OverflowClose(string onOverflowClose)
Parameters
Type | Name | Description |
---|---|---|
System.String | onOverflowClose |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the overflowClose event handler and returns the Menu object |
OverflowOpen(String)
Specifies the Menu overflow open event
Declaration
public MenuClientSideEventsBuilder OverflowOpen(string onOverflowOpen)
Parameters
Type | Name | Description |
---|---|---|
System.String | onOverflowOpen |
Returns
Type | Description |
---|---|
MenuClientSideEventsBuilder | Sets the overflowOpen event handler and returns the Menu object |