2.20 TextRun

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The TextRun element specifies the value and formatting of a contiguous span of text. This element MUST be specified at least once within a TextRuns collection.

The following are the parent and child elements of the TextRun element.

Parent elements

TextRuns

Child elements

TextRun.ActionInfo

TextRun.Label

TextRun.MarkupType

TextRun.Style

TextRun.ToolTip

TextRun.Value

The following is the XML Schema definition of the TextRun element in RDL 2008/01.

 <xsd:complexType name="TextRunType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="Value" type="LocIDStringWithDataTypeAttribute" minOccurs="1" />
     <xsd:element name="Label" type="xsd:string" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="ToolTip" type="xsd:string" minOccurs="0" />
     <xsd:element name="MarkupType" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the TextRun element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="TextRunType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="Value" type="LocIDStringWithDataTypeAttribute" minOccurs="1" />
     <xsd:element name="Label" type="xsd:string" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="ToolTip" type="xsd:string" minOccurs="0" />
     <xsd:element name="MarkupType" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>