EN
此内容没有您的语言版本,但有英语版本。

queryControl

Not supported in Windows 7 and later. Specifies what control to use in the query builder. There should be only one queryControl element for each displayInfo element.

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

Syntax


<!-- queryControl -->
<xs:element name="queryControl"  minOccurs="0" maxOccurs="1">
    <xs:complexType>
        <xs:attribute name="control">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="Default"/>
                    <xs:enumeration value="Boolean"/>
                    <xs:enumeration value="Calendar"/>
                    <xs:enumeration value="CheckboxDropList"/>
                    <xs:enumeration value="DropList"/>
                    <xs:enumeration value="MultiValueText"/>
                    <xs:enumeration value="NumericText"/>
                    <xs:enumeration value="Rating"/>
                    <xs:enumeration value="Text"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
</xs:element>

Element Information

Parent ElementChild Elements
displayInfo None

 

Attributes

AttributeDescription
controlPublic. Optional. Default is "Default". The following are valid values.
ValueMeaning
Default
Default. Uses the default control, based upon the <typeInfo type=""> attribute. The default types are listed below. Any other type results in using the "Text" control.
ConditionTypeControl
StringText
String (multi-value)MultiValueText
Number or SizeNumericText
Number or Size (enum)List
DateTimeCalendar
BooleanBoolean
 
BooleanUses the boolean control.
CalendarUses the dropdown calendar control.
CheckboxDropListUses the list control with checkboxes.
DropListUses the dropdown list control.
MultiValueTextUses the multi-value text edit control.
NumericTextUses the numeric text edit control.
RatingUses the 5-star rating control.
TextUses the text edit control.

 

 

 

 

社区附加资源

添加
显示:
© 2015 Microsoft