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
25
XamCarouselListBox MouseOver
posted

Hello,

Is it possible to have an item in the XamCarouselListBox highlighted when you hover over the item with the mouse?  This would be similar to the default behavior of the XamDataCarousel.

Thanks,

Jason

Parents
  • 35319
    Verified Answer
    posted

    Hello Jason,

     

    I have been looking into your post and you can achieve a similar functionality using triggers like e.g. :

     

         xmlns:themes="http://infragistics.com/Themes"

            xmlns:igWindows="http://infragistics.com/Windows"

     

     …

     

         <Style TargetType="{x:Type igWindows:CarouselListBoxItem}" BasedOn="{x:Static themes:PrimitivesGeneric.CarouselPanelItem}">

                    <Style.Triggers>

                        <Trigger Property="IsMouseOver" Value="True">

                            <Setter Property="Background" Value="SkyBlue"/>

                            <Setter Property="FontWeight" Value="Bold"/>

                        </Trigger>

                    </Style.Triggers>

                </Style>

     

    Let me know, if you need any further assistance on this matter.

Reply Children
No Data