Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Carousel > RAD Demo Carousel values

Answered RAD Demo Carousel values

Feed from this thread
  • gozcelik avatar

    Posted on Jan 19, 2011 (permalink)

    Hi,
    I want to create a Carousel just like in the rad demo main application when i clicked any header from the left menu not in the any example of Carousel menu. (Open the demo, click the Carousel menu. You will see a Carousel with three images). I can't create a Carousel like that. Can you send me Center, U, V, initialangle, finalangle,zscale etc. values?
    Thanks.

    Reply

  • Posted on Jan 19, 2011 (permalink)

    Hello,

    All the settings that you need should be included with the demo. You can open the demo as a Visual Studio soluton (either in VB or C#) on your own PC and explore all the code. You will fnd this (for exmaple) at:
    C:\Program Files (x86)\Telerik\RadControls for WinForms Q3 2010\Examples and look for the correct solution file for your environment.

    hope that helps
    Richard

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • gozcelik avatar

    Posted on Jan 19, 2011 (permalink)

    Hi,
    I've already opened the dem project in VS2005. But i can't find the MainForm's codes. There is a line "Application.Run(new MainForm());" in "program.cs". But i cant see the MainForm's codes. (It shows just metadata of MainForm).

    Reply

  • Posted on Jan 19, 2011 (permalink)

    Hello,

    All settings should be in your solution. For exmaple, in the solution, under Carousel >> Image List >> Form1.vb you will find this code
    Private Sub OnRadRadioPath_ToggleStateChanged(ByVal sender As Object, ByVal args As StateChangedEventArgs) Handles radRadioBezier.ToggleStateChanged
        Select Case Me.radRadioBezier.ToggleState
            Case ToggleState.On
                Dim carouselPath As New CarouselBezierPath()
                carouselPath.CtrlPoint1 = New Telerik.WinControls.UI.Point3D(125, 150, 400)
                carouselPath.CtrlPoint2 = New Telerik.WinControls.UI.Point3D(64, -80, -200)
                carouselPath.FirstPoint = New Telerik.WinControls.UI.Point3D(10, 10, -0)
                carouselPath.LastPoint = New Telerik.WinControls.UI.Point3D(19, 80, -100)
                carouselPath.ZScale = 200
                Me.radCarouselDemo.CarouselPath = carouselPath
            Case ToggleState.Off
                Dim ellipsePath As New CarouselEllipsePath()
                ellipsePath.Center = New Telerik.WinControls.UI.Point3D(50, 47, 0)
                ellipsePath.FinalAngle = 270
                ellipsePath.InitialAngle = 270
                ellipsePath.U = New Telerik.WinControls.UI.Point3D(31, -21, 0)
                ellipsePath.V = New Telerik.WinControls.UI.Point3D(0, 22, 200)
                ellipsePath.ZScale = 400
                Me.radCarouselDemo.CarouselPath = ellipsePath
        End Select
    End Sub

    Let me knowif you have further questions
    Richard

    Reply

  • gozcelik avatar

    Posted on Jan 19, 2011 (permalink)

    Thanks Mr. Slade, but i don't want the codes of "image list","music lib" or "carousel setting" examples.
    Please open the demo, then just click the carousel button in the left menu. There is a craousel on the right big panel. There are three images in it. one of them is on the front and others in the back (%50 transparent). When you click the one item of that carousel, an example app. started.
    I want to create a carousel like that. Only one image focused, others in the back and has the same distance from the focused one.
    Please click this. I want to create a cr. Like this Carousel

    Thank you.

    Reply

  • gozcelik avatar

    Posted on Jan 21, 2011 (permalink)

    Any suggestion pls?

    Reply

  • Posted on Jan 21, 2011 (permalink)

    Hello,

    The code for that particular one is not avaialble as far as I'm aware. I will try it on a project and let you know if I can find out
    Richard

    Reply

  • gozcelik avatar

    Posted on Jan 21, 2011 (permalink)

    Thank you Mr. Slade. I am waiting.

    Reply

  • gozcelik avatar

    Posted on Jan 21, 2011 (permalink)

    I found finally:)
    Here is the my solution:

    I have three 200x200 images.
    Center: 50;50;0
    U: -30;0;0
    V:0;25;100
    InitialAngle: -155
    FinalAngle: -165

    You need to be change initial and final angles if the images have different values form 200x200

    Thank you at all.

    Reply

  • Posted on Jan 21, 2011 (permalink)

    Hello,

    I'm glad you found your solution. I was putting together a sample for you, but you've beaten me to it.
    All the best
    Richard

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Carousel > RAD Demo Carousel values
Related resources for "RAD Demo Carousel values"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]