Menu.OnBubbleEvent(Object, EventArgs) 方法

定义

确定控件的事件 Menu 是否传递页面的用户界面(UI)服务器控件层次结构。

protected:
 override bool OnBubbleEvent(System::Object ^ source, EventArgs ^ e);
protected override bool OnBubbleEvent(object source, EventArgs e);
override this.OnBubbleEvent : obj * EventArgs -> bool
Protected Overrides Function OnBubbleEvent (source As Object, e As EventArgs) As Boolean

参数

source
Object

事件源。

e
EventArgs

包含事件数据的一个 EventArgs

返回

true 如果事件已被取消,则为否则,为 false. 默认值为 false

注解

此成员替代 OnBubbleEvent

注释

此方法主要由控件开发人员用来扩展控件 Menu

适用于