This is a migrated thread and some comments may be shown as answers.

RadTileList - Change Highlight on Tile MouseOver

1 Answer 100 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 23 Oct 2019, 05:32 PM
I'm trying to change the highlight color when a user hover's over the tile with their mouse. the WPF Demo Tiles have a border highlight and not a complete tile highlight on a MouseOver event. How exactly does one achieve this?

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 28 Oct 2019, 09:59 AM

Hello Peter,

By default the highlight visual state of the tiles only changes the BorderBrush of the Border inside the tile. In order to achieve what you are going for, you can change the Background property of the tile when it is hovered. Here is what I have in mind:

<Style TargetType="telerik:Tile">
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Background" Value="Red" />
                </Trigger>
            </Style.Triggers>
        </Style>

Please give this approach a try and let me know, if that is what you had in mind.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TileList
Asked by
Peter
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or