다음을 통해 공유


DisplayBidiPattern Element (List)

Applies to: SharePoint Foundation 2010

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>