AdRotatorDesigner.GetDesignTimeHtml 方法
定义
生成用于在设计图面上呈现该控件的标记。Generates the markup that is used to render the control on the design surface.
public:
override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String
返回
在设计图面上表示该控件的标记。The markup that represents the control on the design surface.
示例
有关演示如何 GetDesignTimeHtml 在模板化数据绑定控件设计器中重写方法的代码示例,请参见 ControlDesigner.GetDesignTimeHtml 。For a code example that shows how to override the GetDesignTimeHtml method in a templated data-bound control designer, see ControlDesigner.GetDesignTimeHtml.
如果与此设计器关联的控件具有模板,则它会在设计器中显示模板。If the control that is associated with this designer has templates, it displays the templates in the designer.