Completed
Last Updated: 09 Oct 2014 07:31 by ADMIN
ADMIN
Dimitar
Created on: 03 Dec 2013 03:28
Category: Buttons
Type: Bug Report
0
FIX. RadCheckBox - the checkbox state is changed when it is right clicked.
To reproduce:
- click a RadCheckBox with the right mouse button and you will notice the the state of the checkbox is changed.

Workaround:

public class LeftCheckBox : RadCheckBox
{
    protected override void OnMouseUp(MouseEventArgs e)
    {
        if (e.Button == System.Windows.Forms.MouseButtons.Left)
        {
            base.OnMouseUp(e);
        }
    }

    public override string ThemeClassName
    {
        get
        {
            return typeof(RadCheckBox).FullName;
        }
        set
        {
        }
    }
}
0 comments