Add panel in Carousel

2 posts, 1 answers
  1. meraj
    meraj avatar
    47 posts
    Member since:
    Dec 2010

    Posted 29 Mar 2011 Link to this post

    i want to add a panel with some label and button in Carousel is it possible.
    Please help.
  2. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 31 Mar 2011 Link to this post

    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;

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

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top