共用方式為


WebPartDisplayModeEventArgs.OldDisplayMode 屬性

定義

取得或設定 Web 組件控制項先前的顯示模式。

public:
 property System::Web::UI::WebControls::WebParts::WebPartDisplayMode ^ OldDisplayMode { System::Web::UI::WebControls::WebParts::WebPartDisplayMode ^ get(); void set(System::Web::UI::WebControls::WebParts::WebPartDisplayMode ^ value); };
public System.Web.UI.WebControls.WebParts.WebPartDisplayMode OldDisplayMode { get; set; }
member this.OldDisplayMode : System.Web.UI.WebControls.WebParts.WebPartDisplayMode with get, set
Public Property OldDisplayMode As WebPartDisplayMode

屬性值

WebPartDisplayMode 事件之前,套用至 Web 組件控制項的 DisplayModeChanged

適用於