ContainerControlDesigner.GetDesignTimeHtml(DesignerRegionCollection) Método

Definição

Retorna a marcação HTML usada para representar o controle em tempo de design.Returns the HTML markup that is used to represent the control at design time.

public:
 override System::String ^ GetDesignTimeHtml(System::Web::UI::Design::DesignerRegionCollection ^ regions);
public override string GetDesignTimeHtml (System.Web.UI.Design.DesignerRegionCollection regions);
override this.GetDesignTimeHtml : System.Web.UI.Design.DesignerRegionCollection -> string
Public Overrides Function GetDesignTimeHtml (regions As DesignerRegionCollection) As String

Parâmetros

regions
DesignerRegionCollection

Uma coleção de regiões de designer.A collection of designer regions.

Retornos

String

Uma cadeia de caracteres de marcação HTML que representa o controle.An HTML markup string that represents the control.

Comentários

Use o GetDesignTimeHtml(DesignerRegionCollection) método para obter o HTML para o controle.Use the GetDesignTimeHtml(DesignerRegionCollection) method to get the HTML for the control. Controles filho que estão contidos na região de design editável são renderizados usando seus designers de controle associados.Child controls that are contained in the editable design region are rendered using their associated control designers.

O GetDesignTimeHtml(DesignerRegionCollection) método inicializa um novo EditableDesignerRegion objeto para a região editável do controle associado e, em seguida, retorna a região por meio da regions coleção.The GetDesignTimeHtml(DesignerRegionCollection) method initializes a new EditableDesignerRegion object for the editable region of associated control, and then returns the region through the regions collection.

Aplica-se a