If I add a RadLabel to a RadPanel, and set the panel AutoScroll to true, scrolling the panel will cause lines to appear. The words get clipped.
Steps to reproduce: 1) Add RadScrollablePanel 2) Add RadTextBox control into the RadScrollablePanel 3) Set the RightToLeft property of the to RadScrollablePanel to Yes 4) Set the following properties of the RadTextBox: this.radTextBox1.AutoSize = false; this.radTextBox1.Multiline = true; Expected Result: The horizontal scrollbar is working properly Actual Result: The horizontal scrollbar of the RadScrollablePanel is showing but is not working
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.
Check the AutoSize property behavior at design time for Label and RadLabel.
FIX. RadLabel - size goes to 0,0 after setting AutoSize to false on a newly added label to the form
RadLabel has no definition for the HighContrastBlack theme.
1. Add RadPanel on to design time surface 2. Set its AutoScroll property to true 3. Add button which is partially visible 4. Try to scroll using the scrollbar Resolution: You need to use RadScrollablePanel instead RadPanel. You can refer to link http://feedback.telerik.com/Project/154/Feedback/Details/109764-add-scrolling-behavior-for-radscrollablepanel-at-design-time
When RadPanel is set to AutoSize, it should update its size automatically when changing the visibility of some control inside it. Workaround: public class CustomRadPanel : RadPanel { public override string ThemeClassName { get { return typeof(RadPanel).FullName; } set { base.ThemeClassName = value; } } protected override void OnLayout(LayoutEventArgs e) { base.OnLayout(e); int maxHeight = 0; foreach (Control control in this.Controls) { if (control.Visible) { maxHeight = Math.Max(control.Height, maxHeight); } } this.AutoSize = false; this.Height = maxHeight; } }
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
When AutoSize is false, TextWrap is true, TextImageRelation is ImageBeforeText and RadLabel has a padding set, the text does not wrap correctly.
When RadPanel gets focus it prevents Microsoft Windows Form key events from being fires unless the form KeyPreview property is enabled.
Controls in RadPanel redraw slowly when changing the Enabled state of the panel. Workaround: private void radButton1_Click(object sender, EventArgs e) { if (this.radPanel1.Enabled) { this.radPanel1.Enabled = false; } else { this.radPanel1.Visible = false; this.radPanel1.Enabled = true; this.radPanel1.Visible = true; } }
- 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.
The scrollbars of RadScrollablePanel should have a ScrollState property with possible values AlwaysHide, AlwaysShow, AutoHide.
If you set this.radScrollablePanel1.PanelContainer.VerticalScroll.Value = 170, the content will be scrolled, but the position of the scrollbar thumb will not be changed. You should call ((RadVScrollBar)this.radScrollablePanel1.Controls[1]).Value = 170 explicitly. However, this should happen automatically. Resolution: The .NET framework does not provide a way to get notified when the values of the PanelContainer's scrolls have changed. To set the values programmatically use: this.radScrollablePanel1.VerticalScrollbar.Value = value;this.radScrollablePanel1.HorizontalScrollbar.Value = value;
One should be able to scroll RadScrollablePanel at design-time
RadPanel, RadScrollablePanel and RadGroupBox should support AutoSize mode, where AutoSize = true and AutoSizeMode = GrowAndShrink.
When you set ImageKey or ImageIndex the Image property is not set.