ViewEventArgs(ViewEvent, DesignerRegion, EventArgs) 构造函数

定义

初始化设计图面上的查看事件的类型的 ViewEventArgs 类的新实例。

public:
 ViewEventArgs(System::Web::UI::Design::ViewEvent ^ eventType, System::Web::UI::Design::DesignerRegion ^ region, EventArgs ^ eventArgs);
public ViewEventArgs (System.Web.UI.Design.ViewEvent eventType, System.Web.UI.Design.DesignerRegion region, EventArgs eventArgs);
new System.Web.UI.Design.ViewEventArgs : System.Web.UI.Design.ViewEvent * System.Web.UI.Design.DesignerRegion * EventArgs -> System.Web.UI.Design.ViewEventArgs
Public Sub New (eventType As ViewEvent, region As DesignerRegion, eventArgs As EventArgs)

参数

eventType
ViewEvent

引发事件的操作类型;用于初始化 EventType

region
DesignerRegion

应用操作的设计器区域;用于初始化 Region

eventArgs
EventArgs

eventType 的关联事件参数;用于初始化 EventArgs

注解

ViewEventArgs构造函数由设计器主机用于初始化 ViewEventArgs 事件的 对象ViewEvent。 设计器主机将初始化 ViewEventArgs 的对象传递给 ViewEventHandler 委托。

通常, regionClick 事件设置,在 null Visual Basic 中为 NothingTemplateModeChanged 事件) Paint (。

适用于

另请参阅