drawControl
指定只要顯示 屬性時要使用的控制件。 每個 displayInfo 元素應該只有一個 drawControl 元素。
如果有多個元素,則會使用最後一個專案。 如果未提供任何 drawControl 元素,則會將預設屬性設定套用至屬性描述。
這個形式的控件不允許進行屬性編輯。
語法
<!-- drawControl -->
<xs:element name="drawControl" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="control">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Default"/>
<xs:enumeration value="MultiLineText"/>
<xs:enumeration value="MultiValueText"/>
<xs:enumeration value="PercentBar"/>
<xs:enumeration value="ProgressBar"/>
<xs:enumeration value="Rating"/>
<xs:enumeration value="StaticText"/>
<xs:enumeration value="IconList"/>
<xs:enumeration value="BooleanCheckMark"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
元素資訊
Parent 元素 | 子專案 |
---|---|
displayInfo | 沒有 |
屬性
屬性 | 描述 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
控制 | 公共。 自選。 預設值為 “Default”。 以下是有效的值。
|