Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Carousel > Add panel in Carousel

Answered Add panel in Carousel

Feed from this thread
  • meraj avatar

    Posted on Mar 29, 2011 (permalink)

    Hi
    i want to add a panel with some label and button in Carousel is it possible.
    Please help.

    Reply

  • Posted on Mar 31, 2011 (permalink)

    Hello Meraj,

    Just create a custom control, let's say UserControl1 and add everything you need to that custom control.
    VERY IMPORTANT: please set a minimum size to your control.
    After this just to the following:
    var control = new UserControl1();
    // make changes to your control here as needed
    var element = new RadHostItem(control);
    element.MinSize = control.MinimumSize;
    radCarousel1.Items.Add(element);

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP

    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 > Add panel in Carousel
Related resources for "Add panel in Carousel"

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