Condividi tramite


FieldFilterOptions Element

Applies to: SharePoint Foundation 2010

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)">