Please refer to the attached gif file and sample project. The keyboard navigation is enabled for the items in RadCheckedListBox. However, if you press "N" (without pressing ALT) it doesn't select an item starting with "N" but selects the text box since the RadLabel's mnemonic key is "N". Workaround: Public Class MyLabel Inherits RadLabel Protected Overrides Function ProcessMnemonic(charCode As Char) As Boolean If Not (Control.ModifierKeys & Keys.Alt) <> Keys.Alt Then Return False End If Return MyBase.ProcessMnemonic(charCode) End Function End Class
To reproduce: Set at design or at run time the TextAlignment property of RadLabel to TopLeft. nothing happens. Workaround: Set the TextAlignment to MiddleLeft and then to TopLeft: this.radLabel1.TextAlignment = ContentAlignment.Middleleft; this.radLabel1.TextAlignment = ContentAlignment.TopLeft;
To reproduce: 1. Place label on form. 2. Set text alignment property to middle center. 3. Change label property auto-size to false. 4. Resize control (width wise). 5. Text still sits on left side of the label and not the middle of the label. The text is properly aligned at runtime.
My current theme is windows10. In two images I demonstrate the problem.
Use attached to reproduce. - Open the form at design time, the border is correctly set to gray color. - Start the application, the border changes to blue. Workaround: radCollapsiblePanel1.ControlsContainer.PanelElement.Border.ForeColor = Color.FromArgb(171, 171, 171); or ThemeResolutionService.ApplicationThemeName = "Office2013Dark";
Workaround: use CollapsiblePanelAnimationType.Reveal
Use attached to reproduce and for workaround.
To reproduce: 1. Add a RadCollapsiblePanel and change the back color or border of the container via the Edit UI elements dialog. 2. Save the changes and run the project. You will notice that the style is reset and the changes are not preserved. Workaround: Customize the style at runtime. The following help article gives you information about the internal elements structure of the RadCollapsiblePanel: https://docs.telerik.com/devtools/winforms/panels-and-labels/collapsiblepanel/structure
Hi,
We have an issue when using RightToLeft property of the RadCollapsiblePanel Control.
When the HeaderText ends with non-alphanumeric characters, on display, these characters are moved to the beginning of the title (possibly with a replacement of the closing characters in opening characters - such as the parenthesis).
I've attached a little sample of the issue.
Thanks for your help.
Regards
Fabrice MABIT
fmabit@proginov.com
If there is set MaxWidth and TextWrap, the RadLabel determines its size incorectly and as result there is large blank space at the bottom. This specially impact the RadMessageBox if a very long text has been used.
1. Add a RadLabel and use mnemonics ("&A test" for example) in its Text value. 2. Run the application 3. Press the shortcut - for example Alt+A
To reproduce: add a RadScrollablePanel to a form and place some other control inside it. Anchor this control to all sides and run the project. You will see that the control's size is incorrect.
If you move scrollbar thumbs with the mouse and then click the previously focused control, the RadScrollablePanel will scroll to the top of that control. This behavior is present because the scrollbars in RadScrollablePanel can receive focus.
RadLabel has no definition for the HighContrastBlack theme.
To reproduce: Add a RadScrollabelPanel, add some controls to make the scrollbar appear, click some control in the panel and scroll down, click on some other control outside the panel and click again on some control inside the panel.
- Set RadForms Localizable to true - Add RadScrollablePanel - Add RadGroupBox and size its Width from end to end and set Anchor - Top, Left, Right Close and reopen the form - RadGroupBox width have been extended and its exceeds the form.
To reproduce: Add a RadCollapsiblePanel to a form. Add a button somewhere to the form. Continue working at design time. Copy the button, click the inner panel inside RadCollapsiblePanel and paste the button inside. Try to perform another paste or copy the pasted button, you will see errors. Workaround: Prior pasting click the header of RadCollapsiblePanel, this will select the whole control and perform the paste operation successfully.
Use the following code: this.radLabel1.Font = new Font("Segoe UI", 11); this.radLabel1.Text = "<html> Sample <strong> strong </strong> text to render. <br/> Please <u><strong>underline this here</strong></u> and make it strong."; The underlined text is not aligned correctly. If you change the font size to 14, then the empty spaces between the words in the underlined text are replaced with "_" and they are visible. Workaround: set the TextWrap property to false
To reproduce: Use Nikolay's project from this post: http://www.telerik.com/forums/scrolling-using-wraplayoutpanel . Run it and click just below the scrollbar thumb, it will now move to the bottom. Now click above it and it will move to the top. At some cases (every second click or so) you will notice that the thumb is moving but the controls inside do not. Workaround: Subscribe to the ValueChanged event of the scrollbar and invoke PerformLayout of the PanelContainer: this.radScrollablePanel1.VerticalScrollbar.ValueChanged += VerticalScrollbar_ValueChanged; void VerticalScrollbar_ValueChanged(object sender, EventArgs e) { this.radScrollablePanel1.PanelContainer.PerformLayout(); }
To reproduce: Add a RadCollapsiblePanel to a form and set its IsExpanded property using the property grid at design time. Start the application and you will notice that the inner container is hiding the header and makes it unusable. Workaround: Use the following class, by passing it all your forms which have a RadCollapsiblePanel it will hide the inner container when each loads: public class RadCollapsiblePanelIsExpandedFixer { private Dictionary<Form, List<RadCollapsiblePanel>> panels = new Dictionary<Form, List<RadCollapsiblePanel>>(); public RadCollapsiblePanelIsExpandedFixer(params Form[] forms) { foreach (Form form in forms) { foreach (Control control in form.Controls) { RadCollapsiblePanel panel = control as RadCollapsiblePanel; if (panel != null) { if (!panels.ContainsKey(form)) { panels[form] = new List<RadCollapsiblePanel>(); } panels[form].Add(panel); form.Load += form_Load; } } } } void form_Load(object sender, EventArgs e) { Form loadedForm = sender as Form; foreach (RadCollapsiblePanel panel in panels[loadedForm]) { panel.ControlsContainer.Size = Size.Empty; } loadedForm.Load -= form_Load; panels.Remove(loadedForm); } }