Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Display Image on Carousel in Winforms App
posted

I have added the datapresenter in carousel view to a windows forms application. I found the xaml code in the help doc to display an image. How can I do this using equivalent vb code inside the windows form application. The carousel is bound to a sql data source.

 

Thank you.

  • 30945
    Offline posted

    Hello,

     

    I have created a sample application for you that demonstrates how you can add a XamDataPresenter with CarouselView in Windows Forms Application. I have used a collection as DataSource for the XamDataPresenter. The collection is filled manually in the constructor of the UserControl that contains the XamDataPresenter. You can provide your own logic in order to fill the collection using a sql data source.

     

    If you need any further assistance please do not hesitate to ask.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    CarouselInWinFormsAppVB.zip