This is a migrated thread and some comments may be shown as answers.

Path

3 Answers 66 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 17 Dec 2008, 01:30 PM
How do you modify the path at design-time in visual studio?
thanks

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 18 Dec 2008, 08:58 AM
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.
0
Jon
Top achievements
Rank 1
answered on 18 Dec 2008, 04:24 PM
How do you 'place' the path XML in a resource... I see in your examples you 'pull' it from a Examples Dll?
thanks
0
Rosi
Telerik team
answered on 19 Dec 2008, 09:22 AM
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.
Tags
Carousel
Asked by
Jon
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Jon
Top achievements
Rank 1
Share this question
or