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
185
Carousel Object Border
posted

How can I put a border around the carousel of a certain color?  I'm looking at color coding my carousel images by loading that hex color into the datatable that loads the carousel's datasource.  From there, how can I set the border or even a background color to be a certain color on the carousel object?

 

As a side note...could I load an image and set it as the background image?

Parents
  • 69686
    posted

    Hello,

    To place a border around the carousel item, you have to retemplate the CellValuePresenter.

    You can see the default style for the CellValuePresenter (and all the rest of the controls) in the DefaultStyles directory in the Infragistics folder. For the background of that border, you can use converters (IValueConverter).

    Hope this helps,

    Alex.

Reply Children