Custom column with Outlook style category colors

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

    Posted 10 Mar Link to this post

    Hello,

    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,

     

    Marcel

     

     

  2. Answer
    Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 14 Mar 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.

    Regards,
    Dilyan Traykov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Marcel
    Marcel avatar
    41 posts
    Member since:
    Jan 2014

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

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

Back to Top