Skip to content

Latest commit

 

History

History
102 lines (77 loc) · 2.18 KB

propdesc-schema-filtercontrol.md

File metadata and controls

102 lines (77 loc) · 2.18 KB
description ms.assetid title ms.topic ms.date
Specifies what control to use in the header filter menu.
a3117e16-20d0-4637-b726-9fa49516ad5c
filterControl
article
05/31/2018

filterControl

Specifies what control to use in the header filter menu. There should be only one filterControl element for each displayInfo element.

If there are multiple elements, the last one is used. If no filterControl element is provided, then the default attribute settings are applied to the property description.

Syntax

      <!-- filterControl -->
      <xs:element name="filterControl"  minOccurs="0" maxOccurs="1">
        <xs:complexType>
          <xs:attribute name="control">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="Default"/>
                <xs:enumeration value="Calendar"/>
                <xs:enumeration value="Rating"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

Element Information

Parent Element Child Elements
displayInfo None

 

Attributes

Attribute Description
control Public. Optional. Default is "Default". The following are valid values.
Value Meaning
Default Default. Uses the default control, based upon the <typeInfo type=""> attribute. The default type is "DateTime" and the default control is "Calendar". Any other type results in no special filter control.
Calendar Uses the calendar control.
Rating Uses the 5-star rating control.