共用方式為


DisplayBidiPattern Element (List)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies the display pattern to use for a column that supports bidirectional reading order.

<DisplayBidiPattern>
</DisplayBidiPattern>

Attributes

Attribute

Description

None

N/A

Child Elements

Numerous

Parent Elements

Field

Occurrences

Minimum: 0

Maximum: 1

Remarks

The DisplayBidiPattern element applies to sites whose locale identifier supports bidirectional reading order, including Arabic, Farsi, Hebrew, and Urdu languages.

Example

The following example defines a display pattern for a Title column whose reading order is bidirectional.

<DisplayBidiPattern>
   <HTML><![CDATA[<p dir=]]></HTML>
   <Property Select="Direction"/>
   <HTML><![CDATA[><a onfocus="OnLink(this)" href="]]></HTML>
   <URL/>
   <HTML><![CDATA[" ONCLICK="GoToLink(this);return false;" 
      target="_self">]]></HTML>
   <Column HTMLEncode='TRUE' Name='Title' 
      Default='(no title)'></Column>
   <HTML><![CDATA[</a>]]></HTML>
   <IfNew>
      <HTML><![CDATA[<IMG SRC="/_layouts/[%=System.Threading.Thread
         .CurrentThread.CurrentUICulture.LCID%]
         /images/new.gif" alt="]]></HTML>
      <HTML>New</HTML>
      <HTML><![CDATA[">]]></HTML>
   </IfNew>
   <HTML><![CDATA[</p>]]></HTML>
</DisplayBidiPattern>