StatusText.Val Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Status Text Value
Represents the following attribute in the schema: w:val
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue Val { get; set; }
public DocumentFormat.OpenXml.StringValue Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
Public Property Val As StringValue
Property Value
Returns StringValue.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the status text for the current form field. Based on the value of the type
attribute, the contents of this field shall be interpreted as follows:
When the
type
attribute value istext
, it contains the literal status text for the form field.When the
type
attribute value isautoText
, it contains the name of a glossary document entry which contains the status text for the form field.
Consider the following WordprocessingML fragment for a form field:
<w:ffData>
<w:statusText w:type="autoText" w:val="MyStatusText" />
</w:ffData>
The text in the val
attribute is the name of a glossary document entry containing the status text for this form field, since the type
attribute has a value of autoText
.
The possible values for this attribute are defined by the ST_FFStatusTextVal
simple type.