XFA Specification
Chapter 15, Template Specification
Template Reference
664
The ui element
A user-interface element that encloses the actual user interface widget element.
<ui
Properties:
id="xml-id"
use="cdata"
usehref="cdata"
>
<extras>
[0..1]
<picture>
[0..1]
One-of properties:
<barcode>
[0..1]
<button>
[0..1]
<checkButton>
[0..1]
<choiceList>
[0..1]
<dateTimeEdit>
[0..1]
<defaultUi>
[0..1]
<exObject>
[0..1]
<imageEdit>
[0..1]
<numericEdit>
[0..1]
<passwordEdit>
[0..1]
<signature>
[0..1]
<textEdit>
[0..1]
</ui>
The ui element is used within the following other elements:
draw field proto
This element has a set of one-of properties. The choice of one-of property determines the type of widget
displayed. For example, if the
button
property is included the content will be displayed as a button
widget. This determines both the appearance of the content and the interaction with it. Including the
defaultUi
property delegates the decision about what widget to use to the XFA application.
Note that the presence of this element does not imply that its container accepts input from the user. The
container could be a
draw element,
or it could be a
field element
access
property set to
nonInteractive
. In either of these cases the ui element merely controls the manner in which the
content is presented.
The barcode property
An element that represents a barcode.
For more information see "The
The button property
A
user interface
For more information see "The