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
325
Header text in XamGrid Columns
posted

Hi

I want XamGrid column header in such way, where if i resize the column width the header should trim with ... text. See the attached screenshot what i want.

 

  • 138253
    Offline posted

    Hello Vikram,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Vikram,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the HeaderCellControl and handled its Loaded event and in the event handler I get the TextBlock that shows the Header Text and set its TextTrimming Property to CharacterEllipsis. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamGridHeaderTrim.zip