Partager via


DisplayBidiPattern Element

The DisplayBidiPattern element specifies the display pattern to use for a column that supports bidirectional reading order.

Syntax

<DisplayBidiPattern>
</DisplayBidiPattern>

Element Relationships

Parent Elements
Field

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 from the ONET.XML file 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>