Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Field value cell with multiple lines of text
posted

Hello

I have a XamDataCards object that takes a custom Person object as its DataSource.

Person object has a number of public fields. One of them is FullAddress which is of type string and the value contains new line delimiters "\r\n".

Can I somehow format the field value cell of the DataCard to display the FullAddress text in multiple lines?

For example, if the value is

"Home House \r\n 31 Low Street \r\n London \r\n SW5 7NL"

to display it as

"Home House

31 Low Street

London

SW5 7NL"

in the cell.

Many thanks.

Kostas.