ControlDesigner.DesignTimeHtmlRequiresLoadComplete 属性

定义

警告

此 API 现已过时。

获取一个值,该值指示是否必须在设计宿主完成加载之后才能调用 GetDesignTimeHtml 方法。Gets a value indicating whether the design host must finish loading before the GetDesignTimeHtml method can be called.

public:
 virtual property bool DesignTimeHtmlRequiresLoadComplete { bool get(); };
public virtual bool DesignTimeHtmlRequiresLoadComplete { get; }
[System.Obsolete("The recommended alternative is SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual bool DesignTimeHtmlRequiresLoadComplete { get; }
member this.DesignTimeHtmlRequiresLoadComplete : bool
Public Overridable ReadOnly Property DesignTimeHtmlRequiresLoadComplete As Boolean

属性值

如果必须在完成加载之后才能调用 true 方法,则为 GetDesignTimeHtml;否则为 falsetrue, if loading must be complete before the GetDesignTimeHtml method can be called; otherwise, false. 默认值为 falseThe default is false.

属性

注解

DesignTimeHtmlRequiresLoadComplete 属性的默认实现将返回 falseThe default implementation of the DesignTimeHtmlRequiresLoadComplete property returns false.

备注

DesignTimeHtmlRequiresLoadComplete 属性已过时。The DesignTimeHtmlRequiresLoadComplete property is obsolete. 使用 SetViewFlags 方法来实现等效的控件设计器功能。Use the SetViewFlags method for equivalent control designer functionality.

适用于

另请参阅