Gets or sets whether a part control is in a minimized or normal state.
Assembly: System.Web (in System.Web.dll)
abstract ChromeState : PartChromeState with get, set override ChromeState : PartChromeState with get, set
Property ValueType: System.Web.UI.WebControls.WebParts.PartChromeState
One of the PartChromeState values. The default is Normal.
A part control's can be normal or minimized.Notes to Inheritors
Derived classes such as WebPart can override to enable user personalization of the control's border state.
The following code example illustrates the declarative use of the property in a part control. This example requires the custom WebPart control TextDisplayWebPart, which can be found in the Example section of the Part class summary.
Note that in the declarative markup for the Web page, the second instance of the TextDisplayWebPart control sets its property. After you load the page in a browser, the second control instance appears minimized.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.