IFrameIsCommandEnabled Method |
Indicates if the command with the given
command can be executed in the frame.
Some commands can be executed only under certain conditions.
For example, the
InsertText(String) command can be executed only if there's a focused text
field in the frame.
Namespace:
DotNetBrowser.Frames
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.3
Syntax bool IsCommandEnabled(
EditorCommand command
)
Parameters
- command
- Type: DotNetBrowser.FramesEditorCommand
The command to check.
Return Value
Type:
Booleantrue if the command is enabled and can be executed.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The IFrame object has already been disposed. |
ArgumentException |
The command is null.
|
See Also