IMenuModelSetEnabled Method |
Version 106.0.290
Change the enabled status of the specified commandId.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax bool SetEnabled(
CefMenuCommand commandId,
bool enabled
)
bool SetEnabled(
CefMenuCommand commandId,
bool enabled
)
Parameters
- commandId
- Type: CefSharpCefMenuCommand
the command Id - enabled
- Type: SystemBoolean
is enabled
Return Value
Type:
BooleanReturns true on success.
See Also