DisplayBidiPattern Element (List)
SharePoint 2013
Specifies the display pattern to use for a column that supports bidirectional reading order.
<DisplayBidiPattern> </DisplayBidiPattern>
Attribute | Description | |
|---|---|---|
None | N/A | |
Numerous |
Minimum: 0 Maximum: 1 |
The DisplayBidiPattern element applies to sites whose locale identifier supports bidirectional reading order, including Arabic, Farsi, Hebrew, and Urdu languages.
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>