Επεξεργασία

Κοινή χρήση μέσω


FormViewDesigner.GetEmptyDesignTimeHtml Method

Definition

Gets the markup text that is used to render a placeholder for the associated control at design time.

protected:
 override System::String ^ GetEmptyDesignTimeHtml();
protected override string GetEmptyDesignTimeHtml ();
override this.GetEmptyDesignTimeHtml : unit -> string
Protected Overrides Function GetEmptyDesignTimeHtml () As String

Returns

A String containing markup text that renders to a placeholder on the design surface.

Remarks

If the markup for the FormView control does not include one of the item templates, the GetDesignTimeHtml method calls the GetEmptyDesignTimeHtml method, which generates the markup for a placeholder that contains instructions on how to edit template content and a message that an item template is required.

Applies to

See also