Udostępnij za pośrednictwem


DeclarativeCatalogPartDesigner.GetDesignTimeHtml Metoda

Definicja

Zastępuje metodę nadrzędną, aby zapobiec renderowaniu kontrolki.

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

Zwraca

Pusty ciąg ("") lub wartość .GetEmptyDesignTimeHtml()

Uwagi

Jeśli kontrolka nie jest WebPartsTemplate skojarzona, projektant wyświetla standardowe szare pole z nazwą klasy i nazwą wystąpienia kontrolki. W przeciwnym razie renderowanie w czasie projektowania nie występuje w ogóle, ponieważ pola wyboru i tytuły składników Web Part są renderowane przez CatalogPartChrome zamiast DeclarativeCatalogPart samego siebie.

Dotyczy