Add item to the context menu with the given text that will raise the given event when clicked.
命名空间:
DSkin.Html.Adapters
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法 public abstract void AddItem(
string text,
bool enabled,
EventHandler onClick
)
参数
- text
- 类型:SystemString
the text to set on the new context menu item - enabled
- 类型:SystemBoolean
if to set the item as enabled or disabled - onClick
- 类型:SystemEventHandler
the event to raise when the item is clicked
参见