Edit

Share via


WebPartDisplayModeEventArgs(WebPartDisplayMode) Constructor

Definition

Initializes a new instance of the WebPartDisplayModeEventArgs class.

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)

Parameters

oldDisplayMode
WebPartDisplayMode

The WebPartDisplayMode applied to the Web Parts control before the display mode is changed.

Applies to