Unplanned
Last Updated: 30 Mar 2016 13:49 by ADMIN
ADMIN
Peter
Created on: 25 Jun 2012 02:38
Category: UI Framework
Type: Bug Report
1
FIX. TPF - ButtonElements stay hovered if the ButtonElement.ClickMode property is set to Press.
If set ClickMode to Press after that the buttons stay howered

Steps to reproduce:
Place a RibbonBar with one RadButtonGroup with few ButtonElements
Set the PressMode in Form constructor.
public Form1()
{

            foreach (RadButtonElement item in radRibbonBarGroup1.Items)
            {
               item.ClickMode = Telerik.WinControls.ClickMode.Press;             
            }
}

Workaround: 
void item_Click(object sender, EventArgs e)
{
    ((RadButtonElement)sender).SetValue(RadButtonElement.IsMouseDownProperty, false);
}
0 comments