共用方式為


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

適用於