7 Answers, 1 is accepted
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
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.
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?
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
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..