FileManagerContextMenuSettingsBuilder
Methods
Items(System.Action)
Configures the items of the ContextMenu.
Parameters
configurator - System.Action<FileManagerContextMenuSettingsItemFactory>
The configurator for the items setting.
Close(System.String)
Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. ContextMenu Events.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Close(System.Func)
Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. ContextMenu Events.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Open(System.String)
Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Open(System.Func)
Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Activate(System.String)
Fires when a sub menu or the ContextMenu gets opened and its animation finished. ContextMenu Events.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Activate(System.Func)
Fires when a sub menu or the ContextMenu gets opened and its animation finished. ContextMenu Events.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Deactivate(System.String)
Fires when a sub menu or the ContextMenu gets closed and its animation finished. ContextMenu Events.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Deactivate(System.Func)
Fires when a sub menu or the ContextMenu gets closed and its animation finished. ContextMenu Events.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Select(System.String)
Fires when a menu item gets selected. ContextMenu Events.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Select(System.Func)
Fires when a menu item gets selected. ContextMenu Events.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.