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

Make RadCarouselPanel Path straight

7 Answers 218 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 03 Aug 2010, 02:49 PM
just wondering if its possible to modify the path to straight line? is there a way to edit the path?

7 Answers, 1 is accepted

Sort by
0
Accepted
Milan
Telerik team
answered on 04 Aug 2010, 01:29 PM
Hello Bob,

You can use a path of your choosing - you just have to create the path by hand or with the help of Blend. For example:

<Window.Resources>
    <Path
      x:Key="horizontalPath"
      Stretch="Fill"
      Opacity="1"
      Data="M 9,200 C9,200 450,200 450,200 "
      Stroke="#FFB4B4B4"
      StrokeThickness="1"/>
</Window.Resources>
<Grid>
    <telerik:RadCarousel Name="RadCarousel1" Loaded="RadCarousel1_Loaded">
        <telerik:RadCarousel.ItemsPanel>
            <ItemsPanelTemplate>
                <telerik:RadCarouselPanel Path="{StaticResource horizontalPath}"/>
            </ItemsPanelTemplate>
        </telerik:RadCarousel.ItemsPanel>
    </telerik:RadCarousel>
</Grid>


Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bob
Top achievements
Rank 1
answered on 05 Aug 2010, 08:41 AM
hey thanks, that's what we needed!
0
KOGAN
Top achievements
Rank 1
answered on 27 Mar 2014, 08:48 AM
It would be very nice to know how can I create straight path for Winforms radCarousel, similar to the path (and zoom effect) that is found in Demo application called "Music Library Demo"
0
Yordanka
Telerik team
answered on 01 Apr 2014, 06:53 AM
Hello Kogan,

Please check Carousel Path help topic. If you have any additional questions please open a support ticket for RadCarousel for WinForms product.

Regards,
Yordanka
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Shameel
Top achievements
Rank 1
answered on 17 Mar 2016, 09:41 AM

Hi Milan,

Whenever i used your Path code, the Flow Direction of item is changed(I mean changed RTL to LTR). I want to implement this with both English and Arabic.

Any Suggestions?

 

0
Dilyan Traykov
Telerik team
answered on 21 Mar 2016, 12:49 PM
Hello Shameel,

You can either specify a FlowDirection for the RadCarouselPanel or change the orientation of the path like this:

Data="M 450,200 C450,200 9,200 9,200"

Let me know if this solves your issue.

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.
0
Shameel
Top achievements
Rank 1
answered on 23 Mar 2016, 04:55 AM

Hi Dilyan Traykov,

Currently i solved my issue using the below code for Path Property, The code is...
    <Path x:Key="horizontalPath" Stretch="Fill">
                        <Path.Data>
                            <LineGeometry StartPoint="300,200" EndPoint="20,200" />
                        </Path.Data>
                    </Path>

I will try to implement your code also..

Tags
Carousel
Asked by
Bob
Top achievements
Rank 1
Answers by
Milan
Telerik team
Bob
Top achievements
Rank 1
KOGAN
Top achievements
Rank 1
Yordanka
Telerik team
Shameel
Top achievements
Rank 1
Dilyan Traykov
Telerik team
Share this question
or