Düzenle

Aracılığıyla paylaş


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 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 types are listed below. Any other type results in using the "Text" control.
ConditionType Control
String Text
String (multi-value) MultiValueText
Number or Size NumericText
Number or Size (enum) List
DateTime Calendar
Boolean Boolean

 

Boolean Uses the boolean control.
Calendar Uses the dropdown calendar control.
CheckboxDropList Uses the list control with checkboxes.
DropList Uses the dropdown list control.
MultiValueText Uses the multi-value text edit control.
NumericText Uses the numeric text edit control.
Rating Uses the 5-star rating control.
Text Uses the text edit control.