drawControl

속성을 단순히 표시할 때 사용할 컨트롤을 지정합니다. 각 displayInfo 요소에 대해 drawControl 요소가 하나만 있어야 합니다.

요소가 여러 개 있는 경우 마지막 요소가 사용됩니다. drawControl 요소가 제공되지 않으면 기본 특성 설정이 속성 설명에 적용됩니다.

이 형식의 컨트롤은 속성 편집을 허용하지 않습니다.

Syntax

<!-- 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>

요소 정보

부모 요소 자식 요소
displayInfo 없음

 

특성

attribute 설명
컨트롤 공개. 선택 사항입니다. 기본값은 "기본값"입니다. 다음은 유효한 값입니다.
의미
기본값 기본값 typeInfo type=""> 특성에 <따라 기본 컨트롤을 사용합니다. 기본 형식은 "String"(다중 값)이며 기본 컨트롤은 "MultiValueText"입니다. 다른 모든 형식은 "StaticText" 컨트롤을 사용합니다.
MultiLineText 여러 줄 텍스트 컨트롤을 사용합니다.
MultiValueText 다중 값 텍스트 컨트롤을 사용합니다.
PercentBar 백분율 막대 컨트롤을 사용합니다.
ProgressBar 진행률 표시줄 컨트롤을 사용합니다.
등급 5-star 등급 제어를 사용합니다.
StaticText IPropertyDescription::FormatForDisplay를 사용하여 속성 값을 표시합니다.
IconList Windows 7 이상 아이콘의 열거형입니다.
BooleanCheckMark Windows 7 이상