Επεξεργασία

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


BaseDataBoundControlDesigner.GetDesignTimeHtml Method

Definition

Generates the markup that is used to render the control at design time.

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

Returns

The markup used to render the control at design time.

Remarks

The BaseDataBoundControlDesigner class retrieves sample data that is used for binding purposes at design time before rendering the control. If the control is not data bound, it calls the GetEmptyDesignTimeHtml method. If there is an error rendering the control, it calls the GetErrorDesignTimeHtml method.

Applies to

See also