ASPxClientCommandConsts.CHANGEYOUTUBEVIDEO_DIALOG_COMMAND Property
Identifies a command that invokes the Change YouTube Video dialog.
Declaration
static CHANGEYOUTUBEVIDEO_DIALOG_COMMAND: string
Property Value
Type | Description |
---|---|
string | Value: “changeyoutubevideodialog” |
Remarks
The CHANGEYOUTUBEVIDEO_DIALOG_COMMAND property can be used in the following ways.
- In the ASPxClientHtmlEditor.CommandExecuted event — to determine the action performed by an end-user. If the ASPxClientHtmlEditorCommandEventArgs.commandName event parameter returns the CHANGEYOUTUBEVIDEO_DIALOG_COMMAND property value, this means that either a YouTube video was double-clicked or the Change YouTube Video command has been clicked in the context menu of a YouTube video.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available only in the Design View when a YouTube video is selected.
See Also