ControlBuilder::SetTagInnerText Method (String^)
.NET Framework (current version)
Provides the ControlBuilder with the inner text of the control tag.
Assembly: System.Web (in System.Web.dll)
Parameters
- text
-
Type:
System::String^
The text to be provided.
This method is called only if NeedsTagInnerText previously returned true.
The following example uses the InDesigner property when the NeedsTagInnerText method is called. When a control has this builder attached to it, the NeedsTagInnerText determines whether the control is being accessed at design-time through a designer. The NeedsTagInnerText returns the value of the InDesigner property, and then the SetTagInnerText method is called. If the InDesigner property is set to false, an Exception is thrown. Otherwise, the inner text of the control is returned on the SetTagInnerText call.
.NET Framework
Available since 1.1
Available since 1.1
Show: