Checks with the hosting application to determine if a particular command is permissable and valid in the current context.

bool IsCommandPermitted( 
object sender
CommandRequestedEventArgs e 
)

Parameters

sender

Type: object

A reference to the requesting control.

e

Type: CommandRequestedEventArgs

Details of the relevant command.

Return Value

True of the command is currently available.