When a RadCheckBox is in Indeterminate state, the user should be able to see a square instead of checkmark.
RadSplitButton does not get a focus rectangle when focus by the Tab key. One should first click the action part and then the focus rectangle will appear.. The current workaround is: public class MyRadSplitButton : RadSplitButton { protected override void OnEnter(EventArgs e) { base.OnEnter(e); this.DropDownButtonElement.ActionButton.Focus(); } }
RadCheckBox can be checked by the right mouse button
When image is being inserted to the ActionButton in RadSplitButton the ArrowButton might get overlaped if the text of the ActionButton is very long. Workaround is to subtract the width of the image from the width of the text manually. int actionButtonWidth = radSplitButton1.DropDownButtonElement.ActionButton.Size.Width; int imageWidth = 40; // Sample rate should be equal to the width of the image in pixels int desiredTextWidth = actionButtonWidth - imageWidth; radSplitButton1.DropDownButtonElement.ActionButton.TextElement.MaxSize = new Size(desiredTextWidth, 0); radSplitButton1.DropDownButtonElement.ActionButton.TextWrap = true;
Coping RadDropDownButton in design time leads to improperly distributed items collection.
Add DefaultItem property in the property grid and allow to set it in design time
Setting the Font property of RadButton will not change the font in all states of the control. Currently, the issue can be avoided through setting the Font property of the ButtonElement.
The theme is not applied properly when the button is toggled off.
To reproduce add RadDock to a form and use the following code on a button click. DocumentWindow document = new DocumentWindow(); radDock1.AddDocument(document); document.TabStripItem.ShowCloseButton = true; document.TabStripItem.CloseButton.Image = image1; document.TabStripItem.CloseButton.ImageHovered = image2; document.TabStripItem.CloseButton.ImageClicked = image3; The result is that instead of having three different images for the different states, only the main Image is displayed.
FIX. RadRadioButton shape can not be set with Office2010 themes COMMENT. In order to achieve the required design all Office2010 themes use Image Shapes. When an Image Shape is applied to an element, its shape cannot be customized. Thus, the behavior observed in the QSF > Buttons > RadRadioButtons demo, i.e. custom shapes cannot apply to the RadioMark and the CheckMark, is expected.
IMPROVE. RadRadioButton should take its parent BackColor (not the form color) when its BackColor property is set to Transparent.
FIX. RadButton does not indicate that it is pressed when it is clicked with key instead of clicking with mouse
To reproduce: RadButton button = new RadButton(); button.AutoSize = true; button.MaximumSize = new Size(74, 0); button.Text = "Define Horizontal Measurement"; Controls.Add(button); WORKAROUND: set the MaxSize property of the border primitive to the same value as the MaxSize of the control: button.ButtonElement.BorderElement.MaxSize = new Size(74, 0);
Steps to reproduce: 1. Create a form that is MDI Parent 2. Create a form that would be and MDI Child. 3. Add a RadSplitButton to the MDI Child form and set it's anchor to Bottom | Left. 4. Set the WindowState of the MDI Child to be Maximized. 5. In a Form.Load event handler of the MDI Parent add an MDI Child form. Run the project and you will see that the RadSplitButton is in the wrong location.
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.
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: Create a form with RadButton and do some action on the Click event. Use the following Tool to click the button using the DoDefaultAction option http://msdn.microsoft.com/en-us/library/windows/desktop/dd318521(v=vs.85).aspx . You will notice that the click action will not be executed Workaround: public class MyButton : RadButton { protected override AccessibleObject CreateAccessibilityInstance() { return new MyAccessibilityInstance(this); } } public class MyAccessibilityInstance : RadButtonAccessibleObject { public MyAccessibilityInstance(Control owner) : base(owner) { } public override void DoDefaultAction() { ((RadButton)base.Owner).PerformClick(); } }