White uses text internally to find UIItems. These string differ based on locale. e.g. in Table(DataGrid) the header, row header etc, or scroll bars, are identified by some names given to them. These don't work in locales which are not english based. While doesn't provide all the locale values but allows you to configure these text. In the app.config define sections as:

<sectionGroup name="White">
      <section name="UIItemId" type="System.Configuration.NameValueSectionHandler"/>
      <add key="TableVerticalScrollBar" value="Vertical Scroll Bar"/>

Like other configuration these can be set programmatically as well.

UIItemIdAppXmlConfiguration.Instance. TableVerticalScrollBar = "Vertical Scroll Bar";

Configurable values are:

TableVerticalScrollBar=Vertical Scroll Bar
TableHorizontalScrollBar=Horizontal Scroll Bar
TableTopLeftHeaderCell=Top Left Header Cell
TableHeader=Top Row
HorizontalScrollBar=Horizontal ScrollBar
VerticalScrollBar=Vertical ScrollBar
comments powered by Disqus