IMenuCommand 接口

定义

用于与 ICommandExtension 交互的简单接口。 它指定必须公开以供 ICommandExtension 实现使用的方法列表。

public interface class IMenuCommand
public interface IMenuCommand
type IMenuCommand = interface
Public Interface IMenuCommand

属性

Enabled

检查是否启用了 ContextMenu 项

Text

ContextMenu 项的标题

Visible

检查 ContextMenu 项是否可见

适用于