filterControl

指定要在标头筛选器菜单中使用的控件。 每个 displayInfo 元素应只有一个 filterControl 元素。

如果有多个元素,则使用最后一个元素。 如果未提供 filterControl 元素,则默认属性设置将应用于属性说明。

语法

      <!-- 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>

元素信息

Parent 元素 子元素
displayInfo 没有

 

属性

属性 描述
控制 公共。 自选。 默认值为“Default”。 以下是有效值。
价值 意义
违约 违约。 根据 <typeInfo type=“”> 属性使用默认控件。 默认类型为“DateTime”,默认控件为“Calendar”。 任何其他类型都会导致没有特殊的筛选器控件。
日历 使用日历控件。
额定值 使用 5 星级分级控件。