BaseDataBoundControlDesigner.GetDesignTimeHtml 方法

定义

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

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

返回

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

注解

BaseDataBoundControlDesigner 类在呈现控件之前检索用于绑定目的的示例数据。 如果控件未绑定数据,则调用该方法 GetEmptyDesignTimeHtml 。 如果呈现控件时出错,则调用该方法 GetErrorDesignTimeHtml

适用于

另请参阅