WebPartZoneBase.MinimizeWebPart(WebPart) 메서드

정의

영역의 선택된 WebPart 컨트롤을 최소화합니다.Minimizes a selected WebPart control in a zone.

protected:
 virtual void MinimizeWebPart(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
protected virtual void MinimizeWebPart (System.Web.UI.WebControls.WebParts.WebPart webPart);
abstract member MinimizeWebPart : System.Web.UI.WebControls.WebParts.WebPart -> unit
override this.MinimizeWebPart : System.Web.UI.WebControls.WebParts.WebPart -> unit
Protected Overridable Sub MinimizeWebPart (webPart As WebPart)

매개 변수

webPart
WebPart

최소화할 WebPart 컨트롤입니다.The WebPart control to be minimized.

예외

webPart이(가) null인 경우webPart is null.

설명

MinimizeWebPart사용자가 컨트롤의 최소화 동사를 클릭 하면 메서드가 호출 됩니다 WebPart .The MinimizeWebPart method is called when a user clicks the minimize verb on a WebPart control. 메서드는 ChromeState 선택 된 컨트롤의 속성 값 WebPart 을로 설정 합니다 Minimized .The method sets the ChromeState property value for the selected WebPart control to Minimized. 최소화 된 WebPart 컨트롤은 영역 내에서 축소 되 고 내용을 숨기고 제목 표시줄만 표시 됩니다.A minimized WebPart control collapses within its zone and hides its contents, and only its title bar remains visible.

메서드는와 같은 파생 영역 에서만 사용 해야 합니다 WebPartZoneBase WebPartZone .The method should only be used by derived WebPartZoneBase zones such as WebPartZone.

적용 대상

추가 정보