Culture Inheritance
When determining what Culture to use for formatting strings and text direction, the rendering engine will inspect the those objects in the following order:
- The Culture of the TextBox.
- If the TextBox has no Culture defined, the Culture of the Report is used.
- If the Report has no Culture defined, the Culture of the CurrentThread is used.
Tip | |
The Culture of the CurrentThread is determined by the Regional Settings of the machine the application is running on. (Control Panel->Regional Settings->Regional Options->Standards And Formats)
|
Culture Dependant Properties
Culture affects the way strings are formatted in Telerik Reporting. For example, if you set the British Culture (en-GB) for a TextBox and set its
TextItemBase..::.Format
to Currency ({0:C2}) you will see values like: £43.21. Same applies for dates, times and numbers.
Middle Eastern languages such as Hebrew and Arabic are generally written from right to left. If your TextBox will contain text written using a RTL script, then you simply need to specify the appropriate Culture, for example "he" for Hebrew and "ar" for Arabic.