DisplayBidiPattern element (List)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

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

<DisplayBidiPattern>
</DisplayBidiPattern>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

Numerous

Parent elements

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>