WebPartManagerInternals.SetIsClosed(WebPart, Boolean) Metoda

Definicja

Ustawia IsClosed Właściwość WebPart formantu.

public:
 void SetIsClosed(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, bool isClosed);
public void SetIsClosed (System.Web.UI.WebControls.WebParts.WebPart webPart, bool isClosed);
member this.SetIsClosed : System.Web.UI.WebControls.WebParts.WebPart * bool -> unit
Public Sub SetIsClosed (webPart As WebPart, isClosed As Boolean)

Parametry

webPart
WebPart

A, WebPart dla którego ta metoda ustawia IsClosed Właściwość.

isClosed
Boolean

Wartość logiczna wskazująca, czy element WebPart jest zamknięty na stronie.

Uwagi

SetIsClosedMetoda ustawia IsClosed Właściwość webPart . Ta metoda nie jest rzeczywiście bliska webPart ; ustawia właściwość, która wskazuje, czy webPart jest zamknięty.

Dotyczy

Zobacz też