FormViewDesigner.GetEmptyDesignTimeHtml 方法

定义

获取用于在设计时呈现关联控件的占位符的标记文本。

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

返回

一个 String 包含在设计图面上呈现到占位符的标记文本。

注解

如果控件的标记 FormView 不包含其中一个项模板,该方法 GetDesignTimeHtml 将调用 GetEmptyDesignTimeHtml 该方法,该方法为占位符生成标记,该占位符包含有关如何编辑模板内容的说明以及需要项模板的消息。

适用于

另请参阅