Click or drag to resize

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.7
Syntax
C#
bool IsCommandEnabled(
	EditorCommand command
)

Parameters

command
Type: DotNetBrowser.FramesEditorCommand
The command to check.

Return Value

Type: Boolean
true if the command is enabled and can be executed.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IFrame object has already been disposed.
ArgumentException The command is null.
See Also