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
210
how to make XamDatagrid text field to display newline characters in the same line?
posted

I have a text field in Xamdatagrid, which can contain new line characters, how to style this field , to display the text on the same line (without any new line characters appearing).

Have tried this, but its not working.

<igDP:XamDataGrid.Resources>
    <Style TargetType="{x:Type igEditors:XamTextEditor}">
        <Setter Property="TextWrapping" Value="Wrap"/>
    </Style>
</igDP:XamDataGrid.Resources>

Currently the text of that field (considering one example) is displaying as below:

ms
: 98a, bofa
: 98h, citi
: 99h, brean

Indeed, would like the text to be displayed as :
ms : 98a, bofa : 98h, citi : 99h, brean