Interface IReferenceContextMenuHost
Provides command handling for a reference context menu.
public interface IReferenceContextMenuHost
- Extension Methods
Methods
CanExecute(ReferenceMenuCommandContext)
Returns true when a reference menu command can execute.
bool CanExecute(ReferenceMenuCommandContext Context)
Parameters
ContextReferenceMenuCommandContextThe command context.
Returns
- bool
True if the command can execute; otherwise, false.
CanOpenRefContextMenu(ReferenceContextMenu)
Returns true when a reference context menu can open.
bool CanOpenRefContextMenu(ReferenceContextMenu RefContextMenu)
Parameters
RefContextMenuReferenceContextMenuThe reference context menu.
Returns
- bool
True if the context menu can open; otherwise, false.
Execute(ReferenceMenuCommandContext)
Executes a reference menu command.
object Execute(ReferenceMenuCommandContext Context)
Parameters
ContextReferenceMenuCommandContextThe command context.
Returns
- object
The command result.