Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 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.
TypeControl
StringText
String (multi-value)MultiValueText
DateTimeCalendar
 
CalendarUses the calendar control.
CheckboxDropListUses the list control with checkboxes.
DropListUses the dropdown list control.
MultiLineTextUses the multi-line text edit control.
MultiValueTextUses the multi-value text edit control.
RatingUses the 5-star rating control.
TextUses the text edit control.
IconListWindows 7 and later.

 

 

 

 

Show:
© 2017 Microsoft