Table of Contents

Interface IExtensionAction

Namespace
DotNetBrowser.Extensions
Assembly
DotNetBrowser.dll

The extension action is a clickable extension icon.

In Chrome, extension actions are located in the top-right corner of the toolbar. Clicking the icon usually results in showing an extension action popup. If the extension requests to show a popup, the OpenExtensionActionPopupHandler is invoked. The extension can also handle the click action without showing any popups, in which case the handler is not invoked.
public interface IExtensionAction : IAutoDisposable
Inherited Members

Properties

Badge

Gets the extension action badge text for the given browser.

Browser

Gets the browser instance associated with this extension action.

Extension

Gets the extension associated with this extension action.

Icon

Gets the extension action icon for the given browser.

IsEnabled

Indicates whether the extension action is currently enabled.

Tooltip

Gets the extension action tooltip.

Type

Gets the extension action type.

Methods

Click()

Simulates a click on the extension action icon for the given browser.

Events

Updated

Occurs when the extension action has been updated.