BorderContianer Background binding

3 posts, 0 answers
  1. AMO
    AMO avatar
    31 posts
    Member since:
    Nov 2011

    Posted 02 Dec 2013 Link to this post

    Hi ,

    I have some dates on the Grid part of the control and the timeline part on the right side contains some time frame values that are plotted .
    Now I need to be able to easily distinguish the dates may be by adding a border after a particular set of date values or may be by assigning some background to the rows with the same date value .

    I cannot use the background of the EventContainer as I am already using it for some other feature .(to distinquish a task across multiple dates)

    Attached image describes this .

    What I have done is , added a property in the GanttTask Itemsource .I have modified the control template of Border container and binding this property to the Background of the Border container .

    But  , the binding is not happening .
    Is there any way that this could be achieved or may be any workaround ?

    I am using the 2013 Q1 dlls .

    Thanks a lot....
  2. Ventzi
    Ventzi avatar
    114 posts

    Posted 05 Dec 2013 Link to this post

    Hi Amo,

    Basically you need to combine two of our examples in our online repository / GanttView - the TasksWithDifferentColors and the Baseline example. TasksWithDifferentColors example demonstrates how to create tasks with different colors using custom tasks and properties and the Baseline example shows how to display additional containers in the Timeline section of the RadGanttView control. 

    I've prepared and attached a sample project which demonstrates this approach. Please note that you need to use our latest binaries for this project.

    Hope this helps.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft R3 2016 release webinar banner
  4. AMO
    AMO avatar
    31 posts
    Member since:
    Nov 2011

    Posted 09 Dec 2013 Link to this post

    Thanks a lot Ventzi ...That really helped ...
    The online reository examples are really helpful ....
Back to Top