Rediger

Del via


editControl

Specifies what control to use when editing the property. There should be only one editControl element for each displayInfo element.

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

If <typeInfo isInnate="true">, this element is ignored because an innate property cannot be edited.

Syntax

<!-- editControl -->
<xs:element name="editControl"  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="CheckboxDropList"/>
                    <xs:enumeration value="DropList"/>
                    <xs:enumeration value="MultiLineText"/>
                    <xs:enumeration value="MultiValueText"/>
                    <xs:enumeration value="Rating"/>
                    <xs:enumeration value="Text"/>
                    <xs:enumeration value="IconList"/>
                </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. <>
Type Control
String Text
String (multi-value) MultiValueText
DateTime Calendar

 

Calendar Uses the calendar control.
CheckboxDropList Uses the list control with checkboxes.
DropList Uses the dropdown list control.
MultiLineText Uses the multi-line text edit control.
MultiValueText Uses the multi-value text edit control.
Rating Uses the 5-star rating control.
Text Uses the text edit control.
IconList Windows 7 and later.