Note: other operations that affect the image's size should also handle large images. No Workaround. It is possible to create a custom resize dialog as follows: public class MyRadImageEditor : RadImageEditor { protected override RadImageEditorElement CreateImageEditorElement() { return new MyRadImageEditorElement(); } } public class MyRadImageEditorElement : RadImageEditorElement { public override void ShowResizeDialog() { this.ShowDialog(typeof(MyResizeDialog)); } } public class MyResizeDialog : RadForm { public MyResizeDialog(RadImageEditorElement imageEditorElement) { } //TODO custom dialog }
To reproduce: public RadForm1() { InitializeComponent(); var a = new Author(null, "John"); for (int i = 0; i < 20; i++) { radChat1.AddMessage(new ChatTextMessage("Item" + i, a, DateTime.Now.AddDays(-(20 - i)))); } new Telerik.WinControls.RadControlSpy.RadControlSpyForm().Show(); this.radChat1.ChatElement.MessagesViewElement.TimeSeparatorInterval = TimeSpan.FromDays(1); } You will notice that there is today in several places. Workaround: this.radChat1.ChatElement.MessagesViewElement.TimeSeparatorInterval = TimeSpan.Zero; var a = new Author(null, "Forest Gump"); for (int i = 0; i < 20; i++) { radChat1.AddMessage(new ChatTextMessage("Item" + i, a, DateTime.Now.AddDays(-(20 - i)))); ChatTimeSeparatorDataItem separator = new ChatTimeSeparatorDataItem(new ChatTimeSeparatorMessage(DateTime.Now.AddDays(-(20 - i)))); radChat1.ChatElement.MessagesViewElement.Items.Add(separator); }
How to reproduce: 1. Use the following code to change the default style of the document: StyleDefinition h2 = this.radRichTextBox.Document.Style; h2.SpanProperties.FontFamily = new System.Windows.Media.FontFamily("Microsoft Sans Serif"); h2.SpanProperties.FontSize = Unit.PointToDip(8.25f); h2.ParagraphProperties.SpacingAfter = 0; h2 = radRichTextBox.Document.Style; h2.SpanProperties.FontFamily = new System.Windows.Media.FontFamily("Microsoft Sans Serif"); h2.SpanProperties.FontSize = Unit.PointToDip(8.25f); h2.ParagraphProperties.SpacingAfter = 0; StyleDefinition hyperlinkStyle = this.radRichTextBox.Document.StyleRepository["Hyperlink"]; hyperlinkStyle.SpanProperties.FontFamily = new System.Windows.Media.FontFamily("Microsoft Sans Serif"); hyperlinkStyle.SpanProperties.FontSize = Unit.PointToDip(8.25f); 2. Add some text to the document 3. Add a hyperlink somewhere in the middle of the text 4. Start moving the caret so it moves over the hyperlink start Observed: When on hyperlink start/end, the caret is with bigger size than the content Expected: The caret should be with the size of the content
Workaround: create the ThemableColor this way SetBordersCommandParameter bordersParam = new SetBordersCommandParameter(); System.Drawing.Color color = Color.Blue; System.Windows.Media.Color mediaColor = System.Windows.Media.Color.FromArgb(color.A, color.R, color.G, color.B); bordersParam.BorderColor = new ThemableColor(mediaColor);
How to reproduce: this.radTrackBar1.LabelStyle = Telerik.WinControls.UI.TrackBarLabelStyle.TopLeft; this.radTrackBar1.TickStyle = Telerik.WinControls.Enumerations.TickStyles.TopLeft; Workaround: this.radTrackBar1.LabelStyle = Telerik.WinControls.UI.TrackBarLabelStyle.TopLeft; this.radTrackBar1.TrackBarElement.BodyElement.ScaleContainerElement.BottomScaleElement.Visibility = ElementVisibility.Collapsed;
How to reproduce: test the attached project with the latest version on a Windows 7 machine, notice that the font sizes are scaled, test the project with assemblies before R2 2017 the fonts are not scaled The issue is observed even with the RadControl.EnableDpiScaling property set to false. It would be expected that if the property was set to false, that the fonts would not be increased. Workaround: change the fonts for each of the controls individually, the scaling can be calculated this way: Protected Overrides Sub OnShown(e As EventArgs) MyBase.OnShown(e) Dim dpi = NativeMethods.GetSystemDpi() Dim scale = dpi.X / 96.0 End Sub
To reproduce: please refer to the attached sample project and gif file. Workaround: use screentips: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips
How to reproduce: check the attached video Workaround: select a color from a different tab or use the color picker
How to reproduce: enabled High DPI scaling and create a form as an MDI child with a RadDataEntry control in it Workaround: handle the Shown event of the MDI child and manually perform the scaling private void radButtonElement1_Click(object sender, EventArgs e) { var view = new RadForm1 { MdiParent = this }; view.Shown += View_Shown; view.Show(); } private void ScaleRadControls(Control c) { foreach (var item in c.Controls) { Control control = item as Control; if (control == null) { continue; } this.mi.Invoke(control, new object[] { this.FormElement.DpiScaleFactor, BoundsSpecified.All }); ScaleRadControls(control); } } MethodInfo mi; private void View_Shown(object sender, EventArgs e) { this.mi = typeof(Control).GetMethod("ScaleControl", BindingFlags.Instance | BindingFlags.NonPublic, null, new Type[] { typeof(SizeF), typeof(BoundsSpecified) }, null); RadForm1 v = sender as RadForm1; if (v != null) { ScaleRadControls(v.radDataEntry1.PanelContainer); } }
To reproduce: - Open the Element Hierarchy Editor and resize it.
http://demos.telerik.com/aspnet-ajax/treelist/examples/overview/defaultcs.aspx
To reproduce: 1. Add a RadContextMenu to the form. 2. Change at design time its Animation Enabled property to false. 3. Save the changes and reopen the form. 4. AnimationEnabled property value is set back to true.
- Add RadRibbonForm - Set the radRibbonBar1 RightToLeft property to YES at design time - Close the designer and open it again -> another ribbon is showing up Workaround: done set the ribbon's RightToLeft property, just set the RightToLeft property of the form itself.
One should be able to export to a stream instead to a file as well.
To reproduce: 1. Drag and drop RadPageView on the form 2. Add 2-3 pages 3. Set the ViewType to Backstage 4. Open smart tag and press Delete key to edit the Item Area Width property. After pressing the key, the RadPageView is removed from form. The issue is observed in Visual Studio 2015 only.