displayInfo
속성의 표시 정보를 지정합니다. 각 propertyDescription에 대해 displayInfo 요소가 하나만 있어야 합니다.
요소가 여러 개 있는 경우 마지막 요소가 사용됩니다. displayInfo 요소가 제공되지 않으면 기본 특성 설정이 속성 설명에 적용됩니다.
Syntax
<!-- displayInfo -->
<xs:element name="displayInfo">
<xs:complexType>
<xs:all>
<xs:element name="stringFormat" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="formatAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="General"/>
<xs:enumeration value="FileName"/>
<xs:enumeration value="FilePath"/>
<xs:enumeration value="Hyperlink"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="booleanFormat" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="formatAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="YesNo"/>
<xs:enumeration value="OnOff"/>
<xs:enumeration value="TrueFalse"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="numberFormat" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="formatAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="General"/>
<xs:enumeration value="Percentage"/>
<xs:enumeration value="ByteSize"/>
<xs:enumeration value="KBSize"/>
<xs:enumeration value="SampleSize"/>
<xs:enumeration value="Bitrate"/>
<xs:enumeration value="SampleRate"/>
<xs:enumeration value="FrameRate"/>
<xs:enumeration value="Pixels"/>
<xs:enumeration value="DPI"/>
<xs:enumeration value="Duration"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="formatDurationAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="hh:mm"/>
<xs:enumeration value="hh:mm:ss"/>
<xs:enumeration value="hh:mm:ss.fff"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="dateTimeFormat" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="formatAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="General"/>
<xs:enumeration value="Month"/>
<xs:enumeration value="YearMonth"/>
<xs:enumeration value="Year"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="formatTimeAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ShortTime"/>
<xs:enumeration value="LongTime"/>
<xs:enumeration value="HideTime"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="formatDateAs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ShortDate"/>
<xs:enumeration value="LongDate"/>
<xs:enumeration value="HideDate"/>
<xs:enumeration value="RelativeShortDate"/>
<xs:enumeration value="RelativeLongDate"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="enumeratedList" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="enum" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="value" type="xs:string" use="required"/>
<xs:attribute name="text" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="enumRange" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="minValue" type="xs:string" use="required"/>
<xs:attribute name="setValue" type="xs:string"/>
<xs:attribute name="text" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="defaultText" type="xs:string"/>
<xs:attribute name="useValueForDefault" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<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:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<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:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="filterControl" 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="Rating"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="queryControl" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="control">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Default"/>
<xs:enumeration value="Boolean"/>
<xs:enumeration value="Calendar"/>
<xs:enumeration value="CheckboxDropList"/>
<xs:enumeration value="DropList"/>
<xs:enumeration value="MultiValueText"/>
<xs:enumeration value="NumericText"/>
<xs:enumeration value="Rating"/>
<xs:enumeration value="Text"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="defaultColumnWidth" type="xs:nonNegativeInteger" default="20"/>
<xs:attribute name="displayType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="String"/>
<xs:enumeration value="Number"/>
<xs:enumeration value="Boolean"/>
<xs:enumeration value="DateTime"/>
<xs:enumeration value="Enumerated"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="alignment" default="Left">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Left"/>
<xs:enumeration value="Center"/>
<xs:enumeration value="Right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="relativeDescriptionType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="General"/>
<xs:enumeration value="Date"/>
<xs:enumeration value="Size"/>
<xs:enumeration value="Count"/>
<xs:enumeration value="Revision"/>
<xs:enumeration value="Length"/>
<xs:enumeration value="Duration"/>
<xs:enumeration value="Speed"/>
<xs:enumeration value="Rate"/>
<xs:enumeration value="Rating"/>
<xs:enumeration value="Priority"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="defaultSortDirection" default="Ascending">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Ascending"/>
<xs:enumeration value="Descending"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
요소 정보
부모 요소 | 자식 요소 |
---|---|
propertyDescription | stringFormat |
booleanFormat | |
numberFormat | |
dateTimeFormat | |
enumeratedList | |
drawControl | |
editControl | |
filterControl | |
queryControl (Windows Vista에만 해당) Windows 7 이상에서는 지원되지 않습니다.) |
특성
attribute | 설명 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
defaultColumnWidth | 공개. 선택 사항입니다. 기본값은 "20"입니다. | ||||||||||||||||||||||||
displayType | 공개. 선택 사항입니다. 기본값은 "String"입니다. 표시 문자열의 형식을 지정합니다. 여기서 설정되면 연결된 PROPDESC_DISPLAYTYPE 값이 IPropertyDescription::GetDisplayType에 의해 검색됩니다. 다음은 유효한 형식입니다.
|
||||||||||||||||||||||||
정렬(alignment) | 선택 사항입니다. 기본값은 "Left"입니다.
|
||||||||||||||||||||||||
relativeDescriptionType | 선택 사항입니다. 기본값은 "일반"입니다. 서로 비교할 때 이 속성의 두 값을 설명하는 방법을 지정합니다. 동등성의 경우 항상 "동일"이 사용됩니다.
IPropertyDescription::GetRelativeDescription 및 IPropertyDescription::GetRelativeDescriptionType 은 이 값을 사용하여 사용할 상대 설명 표시 이름을 결정합니다.
|
||||||||||||||||||||||||
defaultSortDirection | 정렬 방향을 지정합니다. 기본값은 "오름차순"입니다.
|