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: - Open the Element Hierarchy Editor and resize it.
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: - Add RadLayoutControl to a form. - Change the Language property at design time. - You will receive the following message: There is already a command handler for the menu command '1496a755-94de-11d0-8c3f-00c04fc2aae2 : 103'. Workaround: - Reopen the designer.
To Reproduce: 1. Install Q2 2015 (version 2015.2.623) of Telerik UI Winforms on PC with Visual Studio 2008 2. Start the VS2008 and create new VB Winforms project 3. Drag and drop from toolbox any control (RadButton or RadGridView). 4. Open smart tag and click Edit UI Elements 5. Message box with error is shown Workaround: If is possible use Visual Studio 2010 or higher version.
Workaround: manually resize the editor or drag it upwards
As workaround please, rename the controls with Find & Replace from VS Editor.
Create a Telerik.Analytics.dll assembly which will reference the EQATEC.Analytics instead of direct reference the EQATEC in Telerik.WinControls.dll. This should avoid the warnings in the installator programs.
To reproducce: - Try to search with the following code: SearchResult searchResult = this.radPdfViewer1.Document.TextSearch.Find("domain model"); if (searchResult.Result != null) { this.radPdfViewer1.Select(searchResult); } Workaround: - Use reflection: PropertyInfo property = typeof(Telerik.Windows.Documents.Fixed.Model.RadFixedDocument).GetProperty("TextSearch", BindingFlags.Instance | BindingFlags.NonPublic); Type propType = property.PropertyType; MethodInfo findMethod = propType.GetMethod("Find", BindingFlags.Instance | BindingFlags.Public); SearchResult searchResult = (SearchResult)findMethod.Invoke(property.GetValue(this.radPdfViewer1.Document, null), new object[] { "EditorRequired", TextSearchOptions.Default }); if (searchResult.Result != null) { this.radPdfViewer1.Select(searchResult); }
CAB Enabling Kit - there is no way to show again smartpart that is already closed into RadDockWorkSpace. Workaround: protected override void OnDockWindowClosing(DockWindowCancelEventArgs e) { if (!notifications[Suspend_Close] && e.NewWindow.Controls.Count > 0) { this.composer.SetActiveSmartPart(null); WorkspaceCancelEventArgs args = new WorkspaceCancelEventArgs(e.NewWindow.Controls[0]); OnSmartPartClosing(args); e.Cancel = args.Cancel; e.NewWindow.CloseAction = DockWindowCloseAction.Hide; } base.OnDockWindowClosing(e); } protected virtual void OnActivate(Control smartPart) { notifications[Suspend_Activated] = true; DockWindow dockWindow = GetSmartPart(smartPart); if (dockWindow != null && this.ActiveWindow != dockWindow) { dockWindow.Show(); this.ActivateWindow(dockWindow); } notifications[Suspend_Activated] = false; }
Image into LightVisualElement is not thread safe and this may leads to exceptions if you access it from several threads. Steps to reproduce: 1.Create form that use theme with images. 2.Open this form several times. 3. Move mouse fast over them until exception occur.