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
0
TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter
posted

When I set grid.DisplayLayout.Override.CellAppearance with TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter, it does some weird shift of the vertical alignment in the cell. TextVAlign is set to Infragistics.Win.VAlign.Middle, and it is not a MultiRow cell. Any ideas?

  • 0
    Offline posted

    I found that it only happened on the particular Font I was using. It is a corporate font. I tried another standard windows font and do not see the issue.

    Thanks

  • 7535
    Offline posted

    Hello Greg,

    In order to understand the issue , i set up a sample and on button click i am setting the cell texttrimming , so that i have clear visual clarification , although when i run the sample and click the button i dont see any vertical shifting.

    I attached my test sample here for you to have a look and modify if i am missing something.

    Also just to know there is another way of handling long cell value instead of ellipsicalCharacter , it using ShowOverflowIndicator. 

    In my sample i included the code of ShowOverflowIndicator also , you can have a look if that something you are interested with otherwise we can continue discussing your vertical shifting behavior if you can share a reproducible sample .