Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebPartDisplayModeEventArgs::OldDisplayMode Property

 

Gets or sets the former display mode for a Web Part control.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public:
property WebPartDisplayMode^ OldDisplayMode {
	WebPartDisplayMode^ get();
	void set(WebPartDisplayMode^ value);
}

Property Value

Type: System.Web.UI.WebControls.WebParts::WebPartDisplayMode^

The WebPartDisplayMode applied to a Web Parts control before the DisplayModeChanged event.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft