BaseDataBoundControlDesigner.GetDesignTimeHtml 方法

定义

生成用于在设计时呈现控件的标记。

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

返回

String

用于在设计时呈现控件的标记。

注解

BaseDataBoundControlDesigner 呈现控件之前,类会在设计时检索用于绑定的示例数据。 如果控件不是数据绑定的,则会调用 GetEmptyDesignTimeHtml 方法。 如果呈现控件时出错,它将调用 GetErrorDesignTimeHtml 方法。

适用于

另请参阅