EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

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.

 

 

 

 

コミュニティの追加

追加
表示:
© 2014 Microsoft