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