Custom column with Outlook style category colors

3 posts, 1 answers
  1. Marcel
    Marcel avatar
    42 posts
    Member since:
    Jan 2014

    Posted 10 Mar 2016 Link to this post


    I am working on an simple email viewer using the Office 365 API.

    I want to make the categories that are assigned to the different emails visible in the GridView in which I show my emails, using the same approach that is used in Outlook.

    So a small rectangle with the color of the category followed by the name of the category, an email can have multiple categories in my case.

    I want to use a single column to show all categories the email is assigned to.


    I tryed finding any example but couldnt find it in the XDK samples or the Demo application of the Telerik WPF controls.

    Looking for a code example or some guidance to accomplish this.

    Thanks in advance,





  2. Answer
    Dilyan Traykov
    Dilyan Traykov avatar
    1073 posts

    Posted 14 Mar 2016 Link to this post

    Hello Marcel,

    To achieve the desired effect, you will need to define your own custom column.

    I suggest having a look at our tutorial on how to create a custom column editor as well as this helpful blog post regarding the creation of a custom percentage column.

    Let me know if you find the provided resources helpful.

    Dilyan Traykov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Marcel
    Marcel avatar
    42 posts
    Member since:
    Jan 2014

    Posted 15 Mar 2016 in reply to Dilyan Traykov Link to this post

    Thanks Dilyan, the links were really helpfull, got it working now!

Back to Top