IMenuModelSetEnabled Method |
Version 107.1.120
Change the enabled status of the specified commandId.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.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