NOTE: This API is now obsolete.
Gets whether a Web Part is in design mode (modifying its layout or properties) in the Web browser.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
The property is available only at run time. The property can be useful if the Web Part does not display a user interface when viewed at browse time, but needs to display a user interface while being edited. It is also useful to avoid unnecessary work when properties and layout changes are being applied, as these changes can cause many postbacks to the server. The value of the property is available during or after the System.Web.UI.Control.PreRender event occurs.