ChangePasswordDesigner.GetDesignTimeHtml Método

Definição

Obtém a marcação usada para renderizar o controle associado em tempo de design.Gets the markup that is used to render the associated control at design time.

Sobrecargas

GetDesignTimeHtml()

Obtém a marcação usada para renderizar o controle associado em tempo de design.Gets the markup that is used to render the associated control at design time.

GetDesignTimeHtml(DesignerRegionCollection)

Obtém a marcação que é usada para renderizar o controle associado em tempo de design e preenche uma coleção de regiões de designer.Gets the markup that is used to render the associated control at design time and populates a collection of designer regions.

GetDesignTimeHtml()

Obtém a marcação usada para renderizar o controle associado em tempo de design.Gets the markup that is used to render the associated control at design time.

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

Retornos

String

Um String que contém a marcação usada para renderizar o ChangePassword em tempo de design.A String containing the markup used to render the ChangePassword at design time.

Comentários

O GetDesignTimeHtml método define o modo do controle associado ChangePassword , que pode ser uma cópia, para o modo atual do controle real.The GetDesignTimeHtml method sets the mode of the associated ChangePassword control, which can be a copy, to the current mode of the actual control. Em seguida, ele força os controles filho a serem recriados e, em seguida, chama o método base para gerar a marcação.Next, it forces the child controls to be recreated, and then calls the base method to generate the markup. Se ocorrer um erro, o GetDesignTimeHtml chamará o GetErrorDesignTimeHtml método para gerar a marcação para um espaço reservado.If an error occurs, the GetDesignTimeHtml calls the GetErrorDesignTimeHtml method to generate the markup for a placeholder.

Notas aos Herdeiros

Se você substituir o GetDesignTimeHtml() método, certifique-se de chamar o método base, pois ele eventualmente chama o ChangePassword controle ou uma cópia do controle para gerar a marcação.If you override the GetDesignTimeHtml() method, be sure to call the base method, because it eventually calls on the ChangePassword control or a copy of the control to generate the markup.

Confira também

Aplica-se a

GetDesignTimeHtml(DesignerRegionCollection)

Obtém a marcação que é usada para renderizar o controle associado em tempo de design e preenche uma coleção de regiões de designer.Gets the markup that is used to render the associated control at design time and populates a collection of designer regions.

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 DesignerRegionCollection à qual uma definição da exibição atual do controle associado foi adicionada.A DesignerRegionCollection to which a definition of the current view of the associated control has been added.

Retornos

String

Um String que contém a marcação usada para renderizar o ChangePassword em tempo de design.A String containing the markup used to render the ChangePassword at design time.

Comentários

O GetDesignTimeHtml(DesignerRegionCollection) método chama o GetDesignTimeHtml() método para gerar a marcação para o processamento do tempo de design do ChangePassword controle.The GetDesignTimeHtml(DesignerRegionCollection) method calls the GetDesignTimeHtml() method to generate the markup for the design-time rendering of the ChangePassword control. Ele também adiciona um DesignerRegion objeto ao regions parâmetro que descreve a exibição atual do ChangePassword controle.It also adds a DesignerRegion object to the regions parameter that describes the current view of the ChangePassword control.

Notas aos Herdeiros

Se você substituir o GetEditableDesignerRegionContent(EditableDesignerRegion) método, certifique-se de chamar o método base, pois ele eventualmente chama o ChangePassword controle ou uma cópia do controle para gerar a marcação.If you override the GetEditableDesignerRegionContent(EditableDesignerRegion) method, be sure to call the base method, because it eventually calls on the ChangePassword control or a copy of the control to generate the markup.

Confira também

Aplica-se a