Hi,
We upgraded from 11.2 to 14.2 recently. We have a xamDataGrid where there are some columns that are added dynamically in the code behind. In 11.2, I needed to add the follow style in order to add padding and ellipsis to the cell (see works.jpg):
<Style TargetType="{x:Type editors:XamTextEditor}"> <Setter Property="Padding" Value="4,0,4,0"/> </Style>
<Style TargetType="{x:Type igEditors:XamTextEditor}"> <Style.Resources> <Style TargetType="{x:Type igWindows:SimpleTextBlock}"> <Setter Property="TextTrimming" Value="CharacterEllipsis"/> <Setter Property="ToolTip" Value="{Binding Path=Value, RelativeSource={RelativeSource AncestorType=igEditors:XamTextEditor}}"/> </Style> </Style.Resources> </Style>
After upgrading to 14.2, the padding and ellipsis is no longer there (see broken.jpg). Any idea what I need to do to fix it?
Thanks,
Harold
I can't seem to attach multiple files...so here's the broken.jpg screenshot.
Hi Harold,
I have been looking into your issue and everything seems to work on my side. I am attaching a sample application(DataGridTextEditorValue.zip) that shows hot the editors behave.
Please let me know, if I am missing something.