Path

4 posts, 0 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 17 Dec 2008 Link to this post

    How do you modify the path at design-time in visual studio?
    thanks
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 18 Dec 2008 Link to this post

    Hi Jon The Nerd,

    Unfortunately, this functionality is not supported by RadCarousel. However, you can use Microsoft Expression Blend to create/modify the XAML representing the Path. Then you can add the generated XAML in Resources of the application and set it to the RadCarouselPanel in code behind.

    For example:

    //This is the case if you use RadCarouselPanel
    Path path = (Path)this.FindResource(pathKey);  
    this.Panel.Path = path; 

    //this is the case if you use RadCarousel
    Path path = (Path)this.FindResource(pathKey);     
    RadCarousel1.FindCarouselPanel().Path = path;  

    Hope this helps.

    Regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 18 Dec 2008 Link to this post

    How do you 'place' the path XML in a resource... I see in your examples you 'pull' it from a Examples Dll?
    thanks
  5. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 19 Dec 2008 Link to this post

    Hello Jon.

    Please find the attached project illustrating how to complete the task.

    Also you can review the following article describing how to use Resources.

    Resources Overview

    Hope this helps.

    Kind regards,
    Rosi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top