共用方式為


FieldFilterOptions Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Used in the HeaderPattern sections of the FldTypes.xml file to display filtered drop-down menus.

<FieldFilterOptions
  AllItems = "Text"
  BooleanFalse = "Yes" | "No"
  BooleanTrue = "Yes" | "No"
  NullString = "Text">
</FieldFilterOptions>

Attributes

Attribute

Description

AllItems

Required Text. Specifies a localized string that is displayed when filtering a drop-down list; used to indicate all items.

BooleanFalse

Required Text. Specifies the string that is displayed if the user wants to select rows based on the falseness of a Boolean field.

BooleanTrue

Required Text. Specifies the string that is displayed if the user wants to select rows based on the trueness of a Boolean field.

NullString

Required Text. Specifies the text that is displayed to represent an empty item.

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

Example

The following example defines options for filtering.

<FieldFilterOptions BooleanTrue="Yes" BooleanFalse="No" 
   NullString="(Empty)" AllItems="(All)">