DeclarativeCatalogPartDesigner.GetDesignTimeHtml Método
Definição
Substitui o método pai para evitar a renderização do controle.Overrides the parent method to prevent rendering of the control.
public:
override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String
Retornos
Uma cadeia de caracteres vazia ("") ou o valor de GetEmptyDesignTimeHtml().Either an empty string ("") or the value of GetEmptyDesignTimeHtml().
Comentários
Se não houver nenhum WebPartsTemplate associado ao controle, o designer exibirá a caixa cinza padrão com o nome da classe e o nome da instância do controle.If there is no WebPartsTemplate associated with the control, the designer displays the standard gray box with the class name and instance name of the control. Caso contrário, nenhum processamento de tempo de design ocorrerá porque as caixas de seleção e os títulos de Web Parts são renderizados pelo CatalogPartChrome em vez do DeclarativeCatalogPart próprio.Otherwise, no design-time rendering occurs at all because the check boxes and Web Parts titles are rendered by the CatalogPartChrome instead of the DeclarativeCatalogPart itself.