how can enable chnage of tile when user mouse over tiles

2 posts, 0 answers
  1. peter
    peter avatar
    5 posts
    Member since:
    Jun 2016

    Posted 22 Aug Link to this post


    how can change color or animate or enable chnage when user mouse over tiles?

    in regular nothing happened when user mouse over tiles. is there any solution?

  2. Dimitar
    Dimitar avatar
    1328 posts

    Posted 23 Aug Link to this post

    Hello Peter,

    You can use the MouseLeave and MouseEnter events to change the BackColor:
    public RadForm1()
        foreach (RadTileElement tile in this.radPanorama1.Items)
            tile.MouseEnter += radTileElement1_MouseEnter;
            tile.MouseLeave += radTileElement1_MouseLeave;
            tile.BackColor = defaultColor;
    Color defaultColor = Color.Blue;
    private void radTileElement1_MouseLeave(object sender, EventArgs e)
        RadTileElement tile = sender as RadTileElement;
        tile.BackColor = defaultColor;
    private void radTileElement1_MouseEnter(object sender, EventArgs e)
        RadTileElement tile = sender as RadTileElement;         
        tile.BackColor = Color.Red;

    I hope this will be useful. 

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. DevCraft banner
Back to Top