When a RadMenuButtonItem is in the menu dropdown, its Click event fires twice.
Workaround: disable the default scaling and adjust the font and minimum size Me.RadRadioButton1.Font = New Font("Arial", 12, FontStyle.Regular) Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.MinSize = New Size(20, 20) Dim radioPrimitive As RadioPrimitive = Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.FindDescendant(Of RadioPrimitive)() radioPrimitive.MinSize = New Size(21, 21) Public Class CutsomRadioButton Inherits RadRadioButton Protected Overrides Sub ScaleControl(factor As SizeF, specified As BoundsSpecified) End Sub End Class
FIX. RadRadioButton does not show focus cues before tab key is pressed.
The mouse right button should not fire the click event of the radbutton. A check should be performed, which only fires the click in case it was clicked by the left button. Possibly, this check should be performed at the TPF level, so it will be available for all controls.
RadRadioButton behaves differently from the Microsoft RadioButton in terms of keyboard navigation.
To reproduce: - Set the IsThreeState to true. - Set the state to Indeterminate. - Disable the checkbox. - Set the state to checked. - The state is not changed. This is working fine if another state is used before disabling the control. Workaround: - Always set the state before you disable the control.
Steps to reproduce: 1. Add two check boxes to a form 2. Set the Checked property of one to true 3. Set their enable property to false 4. Set the theme to TelerikMetroBlue Run the project and you will see that both check boxes look the same - disabled and unchecked. The same applies to Office2010Blue and RadRadioButton Workaround it by enabling the checkboxes for a moment and then disabling them.
Setting check box to be indeterminate and disabled in design time results in incorrect state when the application is started. Setting those states after the InitializeComponent call works fine.
Notification and changes not send from control to bound object when ToggleState value is changed from RadCheckBox user input. RESOLUTION: Use the new property named CheckState for simple data-binding scenarios. This property behave in same way as ToggleState but can be used in simple-data binding scenarios. Also, consider the corresponding events named: CheckStateChanging and CheckStateChanged event.
If the CheckBox is not checked and the box is disabled it is not possible to programmatically change the Checked state, i.e. control remains visible as unchecked until it is enabled. Tested with Office2010Blue Theme Please, test with Office2012Light
With Office2010Blue RadRadioButton not render correctly its state in disabled state if programmatically change the Checked state, i.e. control remains visible unchecked
No matter what is the toggle state of the ToggleButton, when disable always shows as ToggleState.Off
To reproduce: apply the Window8 theme to the entire application containing a RadButton and a RadCheckBox. Change the color of RadButton to Green and handle the RadCheckBox.ToggleStateChanged event in order to enable/disable the button. You will notice that after disabling once the button enabling it again, the ButtonFillElement.NumberOfColors property is set to 1 and gradient color becomes solid. Please refer to the attached sample project and gif file. Workaround: int numberOfColors = 0; private void radCheckBox1_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args) { if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { this.radButton1.Enabled = true; this.radButton1.ButtonElement.ButtonFillElement.NumberOfColors = numberOfColors; } else { numberOfColors = this.radButton1.ButtonElement.ButtonFillElement.NumberOfColors; this.radButton1.Enabled = false; } }
ToggleStateChanging args are not giving the old value of the button.
When disabled RadRadioButtons should beep their current state.
Drag a button to the form and in design time set its size to 45,80
FIX. RadDropDownButton, does not show focus cues, until the first time it is clicked.
this.radButton1.ButtonElement.ImagePrimitive.SvgImage = RadSvgImage.FromFile(@"..\..\image.svg");
this.radButton1.TextImageRelation = TextImageRelation.TextBeforeImage;
this.radButton1.ButtonElement.ImagePrimitive.ImageLayout = ImageLayout.Zoom;
this.radButton1.ButtonElement.ImagePrimitive.StretchVertically = true;
this.radButton1.ButtonElement.ImagePrimitive.StretchHorizontally = true;
To reproduce: - Add some toggle buttons with image to a ribbon bar. - Toggle some of them and the disable all the buttons. - You will notice that the fill is incorrect and the image is not gray. Workaround: - Changed the UseDefaultDiabledState property for the toggle button element. - Set transparent fill for the disabled state of the fill primitive.