WebPartDisplayModeEventArgs(WebPartDisplayMode) 构造函数

定义

初始化 WebPartDisplayModeEventArgs 类的新实例。

public:
 WebPartDisplayModeEventArgs(System::Web::UI::WebControls::WebParts::WebPartDisplayMode ^ oldDisplayMode);
public WebPartDisplayModeEventArgs (System.Web.UI.WebControls.WebParts.WebPartDisplayMode oldDisplayMode);
new System.Web.UI.WebControls.WebParts.WebPartDisplayModeEventArgs : System.Web.UI.WebControls.WebParts.WebPartDisplayMode -> System.Web.UI.WebControls.WebParts.WebPartDisplayModeEventArgs
Public Sub New (oldDisplayMode As WebPartDisplayMode)

参数

oldDisplayMode
WebPartDisplayMode

在显示模式更改之前应用于 Web 部件控件的 WebPartDisplayMode

适用于