TemplateBuilder.NeedsTagInnerText 方法

定义

确定控件生成器是否需要获取它的内部文本。Determines if the control builder needs to get its inner text.

public:
 override bool NeedsTagInnerText();
public override bool NeedsTagInnerText ();
override this.NeedsTagInnerText : unit -> bool
Public Overrides Function NeedsTagInnerText () As Boolean

返回

如果控件生成器需要获取它的内部文本,则为 truetrue if the control builder needs to get its inner text. 默认值为 falseThe default is false.

注解

在设计时需要调用方法。SetTagInnerTextThe SetTagInnerText method needs to be called when we are in design time. 方法返回InDesigner 基类ControlBuilder的属性的值。 NeedsTagInnerTextThe NeedsTagInnerText method returns the value of the InDesigner property of the base ControlBuilder class.

适用于

另请参阅