widgetIcon Attribute

Microsoft Office InfoPath

Show All Show All

widgetIcon Attribute

Specifies whether a modified icon will be shown for filtered items.

Type

xsd:simpleType

Parent Elements

Element Description
editWith (Optional element) Specifies an instance of an editing component, and provides the corresponding parameters to determine its exact behavior.

Definition

    <xsd:attribute name="widgetIcon" use="optional">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="standard"/>
      <xsd:enumeration value="filter"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>

  

Remarks

The widgetIcon attribute is an optional attribute of the editWith element. Its default value is "standard".

The properties dialog boxes for repeating sections and tables have a Filter Data button on the Display tab. Below the Filter Data button is a check box that allows the user to select whether a modified icon will be shown to indicate filtered items. If the user applies a filter and selects this check box, the widgetIcon attribute in the form definition file (.xsf) is set to "filter". The widgetIcon attribute is only applicable for repeating sections and tables.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the widgetIcon attribute as it is used in the editWith element:

    <editWith component="xCollection"
 widgetIcon="filter|standard" useFilter="yes|no"
 filterDependency="xpath1 | xpath2 | xpath3>